Behive Tech Registry

Sidebar

v0.4.0

A dumb, styled sidebar shell — sticky, full-height, scrollable flex container. It renders an `<aside>` and applies no internal structure; the consumer is responsible for composing whatever goes inside (logo, nav, `NavItem`s, etc.).

pnpm add @behivetech/atoms.sidebar

A dumb, styled sidebar shell — sticky, full-height, scrollable flex container. It renders an <aside> and applies no internal structure; the consumer is responsible for composing whatever goes inside (logo, nav, NavItems, etc.).

Usage

Compositions

Open all 1 →

Properties

Sidebar props

PropTypeDefaultDescription
childrenReactNode—Content to render inside the sidebar
classNamestring—Additional class names to merge with the component root element

Also accepts the native attributes of its root element (className, aria-*, event handlers, …).