A clean, modern React component library built with TypeScript and Vite.
src/
├── components/ # React components
│ └── index.ts # Component exports
├── lib/ # Utility functions and helpers
│ └── index.ts # Library exports
├── App.tsx # Development playground
├── main.tsx # Development entry point
├── index.css # Global styles and CSS reset
└── index.ts # Main library entry point
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Lint code
npm run lintThe main library entry point is src/index.ts, which exports all components and utilities.
- Create your component in
src/components/[ComponentName]/ - Export it from
src/components/index.ts - Test it in
src/App.tsxduring development
- Create utility functions in
src/lib/ - Export them from
src/lib/index.ts
- React 19 - UI framework
- TypeScript - Type safety
- Vite - Build tool and dev server
- ESLint - Code linting