Turborepo App
Get Started

shadcn/ui

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

Add new component

If you miss any shadcn components in this Turborepo, run:

Terminal | (root)/
bunx shadcn@latest add dialog -c apps/web

The CLI will prompt:

Terminal
 Checking registry.
 Installing components.
 Created 1 file:
  - packages/ui/src/components/dialog.tsx

Importing the components

To use the dialog component, import it like this:

component.tsx
import {
  Dialog,
  DialogTrigger,
  DialogContent,
  DialogHeader,
  DialogTitle,
  DialogDescription,
  DialogFooter,
  DialogClose,
} from "@workspace/ui/components/dialog"

More information

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