Registry Index

Search the catalog

Type to search items across every indexed registry, or pick a page.

ComponentReactregistry:ui2 dependencies

DrawerAction

drawer-action

A single action in a BottomDrawer footer: plain, form-submit, or tap-again-confirm.

Live, loading

Starting the live preview…

Runs in a sandboxed frame on a separate origin, in its registry's own theme. Mounted with no props — an item that paints an empty box is given its name as text, and some items need input to show anything.

Notes from the author

Modal actions belong in the drawer's sticky footer, never in scrollable content. Lay them out in an even row, most-destructive leftmost and primary rightmost: Delete, Reset, Cancel, Save. A Save uses type="submit" with form="<id>" so it can submit a form rendered in drawer content, and stays disabled until the form is dirty and valid.
@whiskeyjack

More from @whiskeyjack