Skip to content
kapable

Drawer

Actions · 3 exports · v0.1.0 · showcase

Edge-pinned native dialog for detail, editing, and filtering workflows.

Browse 72 component families

Drawer is closed during SSR; pinning, focus containment, and dismissal are demonstrated only while open. This server-rendered page does not imitate client behavior. Open the live playground.

Usage

Drawer usage
<Drawer id="details" title="Deploy details" side="right">Details</Drawer>

API

Drawer API

DrawerProps

Drawer props
proptypenotes
idstringDocument-unique id — openers target it via `onOpenDialog(id)`.
titlestring
children?RemixNode
actions?RemixNodeFooter row; `<form method="dialog">` buttons close natively.
side?'right' | 'left' | 'bottom'Edge the panel pins to (default 'right'). 'bottom' is the sheet.
width?stringPanel width for left/right (default '380px'; clamped). Ignored for bottom.
closeLabel?stringAccessible name for the × control (i18n; default 'Close').
mix?MixInput

More in Actions

More in Actions