Sidebar

A collapsible navigation sidebar.

Icon collapsible

DashboardProjectsSettings

Right side

InboxDrafts

API reference

bui-sidebar

Inputs

PropTypeDefaultDescription
side"left" | "right"'left'Edge the sidebar is docked to, which sets its border side.
collapsible"icon" | "offcanvas"'offcanvas'Collapse behavior: hide entirely (`offcanvas`) or shrink to an icon rail (`icon`).

Two-way models

Bind with [(name)], or one-way as an input.

PropTypeDefaultDescription
openbooleantrueWhether the sidebar is expanded. Two-way bindable with `[(open)]` (standalone use).

[buiSidebarMenuButton]

Inputs

PropTypeDefaultDescription
isActivebooleanfalseWhether this item is the current page; sets active styling and `aria-current`.

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.