Edit Form With Footer Actions – shadcn/ui Block by astryx | shadcnregistry
Edit Form With Footer Actions
block
Compose a Layout with DrawerHeader, the fields in LayoutContent, and Cancel and Save in a pinned LayoutFooter. purpose="form" keeps Escape but ignores scrim clicks, so a stray click outside does not discard edits.