Drawer
A component for rendering a sliding panel that overlays the main content.
In this guide, you'll learn how to use the Drawer component.
Usage#
<Drawer>
<Drawer.Trigger>Trigger</Drawer.Trigger>
<Drawer.Content>
<Drawer.Header>
<Drawer.Title>Drawer Title</Drawer.Title>
</Drawer.Header>
<Drawer.Body>Body</Drawer.Body>
<Drawer.Footer>Footer</Drawer.Footer>
</Drawer.Content>
</Drawer>
API Reference#
Examples#
Drawer with Form#
This example shows a simple form inside a Drawer, demonstrating how to use form elements and handle submission.