Render it with no props for the ready panel and a sample page.
settings-frame.tsx
SettingsSidebar01
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| default | boolean | — | The open state on the first render, uncontrolled. Default true. Read the cookie on the server to keep it. |
| open | boolean | — | The open state, controlled. |
| on | — | ||
| keyboard | string | false | — | The key that toggles the Sidebar with Ctrl (⌘ on a Mac). Default "b", as in shadcn. Pass false to turn the shortcut off, for example in an app with a text editor where ⌘B is bold. |
| contained | boolean | — | The panel sits in the provider box (a block in a page), not on the screen edge. Default false. |
| cookie | string | false | — | The name of the cookie that keeps the open state, or false for none. Default "sidebar_state". |
| open | boolean | — | The phone Drawer state, controlled. |
| default | boolean | — | The phone Drawer state on the first render, uncontrolled. Default false. |
| on | — | ||
| content | — | The words of the ready composition. It has no use when you pass children. | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
| / | Puts the focus in the settings search. |
|---|---|
| Esc | Clears the search field, then leaves it. Closes the Drawer. |
| ⌘BorCtrlB | Folds or opens the panel. |
| Tab | Moves through the back row, the search, the pages, the plan button, and the collapse row. |
Built with
Installs with Settings Sidebar N.01
- Components
- Avatar,Badge,Breadcrumb,Button,Dot,Generated Avatar,Kbd,Menu+ 3 more





