Skip to main content
Starting a new project? Use shadcn/create for a fully configured Next.js app with custom themes, Base UI or Radix, and icon libraries.
1
Create Project
2
Run the init command to create a new Next.js project or to setup an existing one:
3
npx shadcn@latest init
4
Choose between a Next.js project or a Monorepo.
5
Add Components
6
You can now start adding components to your project.
7
npx shadcn@latest add button
8
The command above will add the Button component to your project. You can then import it like this:
9
import { Button } from "@/components/ui/button"

export default function Home() {
  return (
    <div>
      <Button>Click me</Button>
    </div>
  )
}

Build docs developers (and LLMs) love