Sidebar
The navigation bar at aside of viewport
A sidebar component which handles device resizing and remove scroll bar automatically.
Usage
Sidebar Provider
Prop | Type | Description |
---|---|---|
open | boolean? | - |
onOpenChange | (v: boolean) => void | - |
Sidebar Trigger
Opens the sidebar on click.
Prop | Type | Description |
---|---|---|
as | ElementType | - |
Sidebar List
Data Attribute | Values | Description |
---|---|---|
data-open | true, false | Is sidebar opening |
Last updated on