Sidebar (User)
App shellsMITSidebar shell with user profile footer — avatar, name, and account actions.
bun add @otfdashkit/ui
Preview
Sidebar (User)App shells
Loading Storybook preview…
Code
@otfdashkit/uiimport { SidebarLayoutUser } from '@otfdashkit/ui'
export function Example() {
return (
<SidebarLayoutUser />
)
}
Free with the SDK. This block ships in @otfdashkit/ui under the MIT license.
Props
Props declared in the SidebarLayoutUser source. Inherited HTML attributes are not listed.
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | ||
| className | string | ||
| pageTitle | string | 'Dashboard' | |
| userEmail | string | 'jane@acme.com' | |
| userName | string | 'Jane Doe' | |
| userRole | string | 'Admin' |