Get StartedInstallation
Installation
How to install dependencies and structure your app.
Note: We have the exact same installation process as shadcn/ui.
1
Create project
Run the init command to create a new Next.js project or to setup an existing one:
npx shadcn@latest init2
Add components
You can now start adding components to your project.
npx shadcn@latest add https://endorsy.in/registry/button.json3
Import component
The command above will add the Button component to your project. You can then import it like this:
Home.tsx
import { Button } from "@/components/ui/button"
export function Home() {
return (
<Button>
Button
</Button>
)
}