Drawer

A slide-in panel anchored to an edge.

From bottom

From left

Scrollable

API reference

Inputs

PropTypeDefaultDescription
direction"bottom" | "left" | "right" | "top"'bottom'Screen edge the drawer is anchored to and slides in from.
ariaLabelstring'Drawer'Accessible label applied to the drawer dialog.

Two-way models

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

PropTypeDefaultDescription
openbooleanfalseWhether the drawer is open. Two-way bindable with `[(open)]`.

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