Navigation drawer
Navigation drawers let people switch between UI views on larger devices
Usage
Sub Components
Name | Description |
---|---|
Drawer.Activator | The activator of the navigation drawer |
Drawer.Content | The content of the navigation drawer |
Props
Props | Type | Description | Default |
---|---|---|---|
open | boolean | Whether the drawer is open or not | false |
placement | top right bottom left | Where the drawer should be placed | left |
asChild | boolean | set true pass any element as the activator | false |