1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. ai2
  3. Dialog

Dialog

ui

Modal dialog on radix-ui with portal, overlay, focus trap, fade/zoom animations and 5 content sizes (sm, md, lg, xl, full) that cap the width from the sm breakpoint up while staying full width minus a margin on mobile. Exports Dialog, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, DialogClose.

pnpm dlx shadcn@latest add "https://ai2.design/r/dialog.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • radix-ui@^1.6.1
  • lucide-react@^1.23.0
  • tw-animate-css@^1.4.0
components/ui/dialog.tsx