Vercel

shadcn/ui

Learn how to use shadcn/ui in a Turborepo.

shadcn/ui is an open-source set of beautifully designed components made with Tailwind CSS that you can copy and paste into your apps.

To get started with shadcn/ui in a new monorepo, run:

Terminal
pnpm dlx shadcn@canary init
Terminal
npx shadcn@canary init
Terminal
npx shadcn@canary init
Terminal
bunx shadcn@canary init

When prompted, select the option for monorepos.

To add a component, run:

Terminal
pnpm dlx shadcn@canary add [COMPONENT]
Terminal
npx shadcn@canary add [COMPONENT]
Terminal
npx shadcn@canary add [COMPONENT]
Terminal
bunx shadcn@canary add [COMPONENT]

More information

To learn more about using shadcn/ui in Turborepo, visit the docs for shadcn/ui.

9,001,168

hours

Total Compute Saved
Get started with
Remote Caching →

On this page

GitHubEdit this page on GitHub