Get started by creating a new Next.js project with our UI components:
npx create-next-app@latest my-ui-app --typescript --tailwind
Once installed, you can start the development server:
npm run dev
The project is organized into the following structure:
├── components/ │ ├── UI/ │ │ ├── Button.tsx │ │ ├── Input.tsx │ │ └── ... │ └── ... ├── app/ │ ├── button/ │ ├── input/ │ └── ... └── ...
Import and use components in your pages:
import { Button } from '@/components/UI/Button'; export default function MyPage() { return ( <Button variant="primary" size="md"> Click me </Button> ); }