Documentation / @zerotal/flow-ui / index / SidebarProps
Interface: SidebarProps
Defined in: flow-ui/src/components/Sidebar.tsx:53
Indexable
[
key:string]:unknown
Properties
brand?
optionalbrand?:unknown
Defined in: flow-ui/src/components/Sidebar.tsx:55
Content at the top — a wordmark, a workspace switcher.
tagline?
optionaltagline?:unknown
Defined in: flow-ui/src/components/Sidebar.tsx:57
Line under the brand.
brandHref?
optionalbrandHref?:string
Defined in: flow-ui/src/components/Sidebar.tsx:59
Where the brand links to.
groups
groups:
SidebarGroup[]
Defined in: flow-ui/src/components/Sidebar.tsx:60
current?
optionalcurrent?:string
Defined in: flow-ui/src/components/Sidebar.tsx:62
The current path, for marking the active item.
footer?
optionalfooter?:unknown
Defined in: flow-ui/src/components/Sidebar.tsx:64
Content pinned to the bottom — a user menu, a version string.
collapsible?
optionalcollapsible?:boolean
Defined in: flow-ui/src/components/Sidebar.tsx:66
Render the mobile drawer toggle.
collapsibleGroups?
optionalcollapsibleGroups?:boolean
Defined in: flow-ui/src/components/Sidebar.tsx:74
Let a labelled group be folded away by its heading.
Built on <details>, so the fold works before any JavaScript runs and the
browser's find-on-page can open a closed group to reveal a match — neither
of which a hand-rolled toggle gets.
beforeNav?
optionalbeforeNav?:unknown
Defined in: flow-ui/src/components/Sidebar.tsx:76
Content between the brand and the nav — banners, a search box.
afterNav?
optionalafterNav?:unknown
Defined in: flow-ui/src/components/Sidebar.tsx:78
Content below the nav, above the footer.
class?
optionalclass?:string
Defined in: flow-ui/src/components/Sidebar.tsx:79