Modal Or Non Modal (hasScrim) – shadcn/ui Block by astryx | shadcnregistry
Modal Or Non Modal (hasScrim)
block
The default modal drawer dims the page, traps focus, and closes on a scrim click. With hasScrim={false}, the drawer has no scrim or focus trap and leaves the page interactive.