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. sunui
  3. Dialog Sheet

Dialog Sheet

block

One dialog for both screens: a centred card on desktop that becomes a bottom sheet under 640px, with a handle you can drag down to close. Focus trap, Escape and scrim close, focus returns to the trigger, controlled or uncontrolled, and contained mode for previews. Ships useExitIntent to open it when the cursor leaves through the top of the page.

pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/dialog-sheet.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • framer-motion
  • utils
components/dialog-sheet.tsx