No description
- TypeScript 98.6%
- CSS 1.2%
- JavaScript 0.2%
| app | ||
| components | ||
| hooks | ||
| lib | ||
| public | ||
| services | ||
| types | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| components.json | ||
| eslint.config.mjs | ||
| global.d.ts | ||
| next.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| proxy.ts | ||
| README.md | ||
| tsconfig.json | ||
Next.js template
This is a Next.js template with shadcn/ui.
Adding components
To add components to your app, run the following command:
npx shadcn@latest add button
This will place the ui components in the components directory.
Using components
To use the components in your app, import them as follows:
import { Button } from "@/components/ui/button";