Projects
View on GitHub
dan5py/react-vite-shadcn-ui
About
React + Vite template powered by shadcn/ui
Web & App DevelopmentWhat you can do
- React - A JavaScript library for building user interfaces.
- Vite - A fast, opinionated frontend build tool.
- TypeScript - A typed superset of JavaScript that compiles to plain JavaScript.
- Tailwind CSS - A utility-first CSS framework (v4).
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalReact + Vite + TypeScript Template (react-vite-ui)
A React + Vite template powered by shadcn/ui.
π Features
- React - A JavaScript library for building user interfaces.
- Vite - A fast, opinionated frontend build tool.
- TypeScript - A typed superset of JavaScript that compiles to plain JavaScript.
- Tailwind CSS - A utility-first CSS framework (
v4). - React Compiler - Automatic memoization for React components.
- Oxlint - A fast linter for JavaScript and TypeScript.
- Oxfmt - A fast, Prettier-compatible code formatter.
- shadcn/ui - Beautifully designed components that you can copy and paste into your apps.
βοΈ Prerequisites
Make sure you have the following installed on your development machine:
- Node.js (version 24 or above)
- pnpm (package manager)
π Getting Started
Follow these steps to get started with the react-vite-ui template:
Clone the repository:
git clone https://github.com/dan5py/react-vite-shadcn-ui.gitNavigate to the project directory:
cd react-vite-shadcn-uiInstall the dependencies:
pnpm installStart the development server:
pnpm dev
π Available Scripts
- pnpm dev - Starts the development server.
- pnpm build - Builds the production-ready code.
- pnpm lint - Runs Oxlint to analyze and lint the code.
- pnpm format - Formats the code with Oxfmt.
- pnpm preview - Serves the production build locally.
π Project Structure
The project structure follows a standard React application layout:
react-vite-shadcn-ui/
βββ node_modules/ # Project dependencies
βββ public/ # Public assets
βββ src/ # Application source code
β βββ assets/ # Static assets
β βββ components/ # React components
β β βββ ui/ # shadcn/ui components
β βββ styles/ # CSS stylesheets
β βββ lib/ # Utility functions
β βββ App.tsx # Root component
β βββ main.tsx # Application entry point
βββ .oxfmtrc.json # Oxfmt configuration
βββ .oxlintrc.json # Oxlint configuration
βββ components.json # shadcn/ui configuration
βββ index.html # HTML entry point
βββ tsconfig.json # TypeScript configuration
βββ vite.config.ts # Vite configuration
π License
This project is licensed under the MIT License. See the LICENSE file for details.
Explore related projects
Loadingβ¦