Off-canvas panel built on the native <dialog> element and the drawer enhancer (focus trap, scroll-lock, background inert). Mirrors Modal but slides in from the chosen side. Compose with <DrawerHeader>, <DrawerBody>, and <DrawerFooter>. Open state works uncontrolled (defaultOpen, or an invoker button) or controlled (open + onOpenChange).

Properties

$$typeof: symbol
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: any

Ignored by React.

Only kept in types for backwards compatibility. Will be removed in a future major release.