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:
bunx shadcn@latest add dialog -c apps/webThe CLI will prompt:
✔ Checking registry.
✔ Installing components.
✔ Created 1 file:
- packages/ui/src/components/dialog.tsxImporting the components
To use the dialog component, import it like this:
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.