Examples
No padding
pf-m-no-padding removes the toolbar's own padding for use inside already-padded
containers.
Sticky toolbar
pf-m-sticky pins the toolbar while the container scrolls.
Scrollable row 1
Scrollable row 2
Scrollable row 3
Scrollable row 4
Scrollable row 5
Scrollable row 6
Scrollable row 7
Scrollable row 8
Scrollable row 9
Scrollable row 10
Scrollable row 11
Scrollable row 12
Dynamic sticky toolbar
A checkbox toggles pf-m-sticky live.
Scrollable row 1
Scrollable row 2
Scrollable row 3
Scrollable row 4
Scrollable row 5
Scrollable row 6
Scrollable row 7
Scrollable row 8
Scrollable row 9
Scrollable row 10
Scrollable row 11
Scrollable row 12
Filter group
The two PF filter shapes: pf-m-filter-group menu toggles, and a search input paired with
a filter.
Toggle groups
Filters collapse behind the filter-icon toggle below lg (pf-m-toggle-group pf-m-show-on-lg); the toggle opens the expandable content row. Covers both of PF\u2019s managed toggle-group sections.
Label group
Applied-filter chip groups per category inside
pf-m-label-group-container, with live removal.
Custom label group content
Chip groups combined with custom inline content — a live filter count and Clear all.
Vertical with height visibility
pf-m-hidden + pf-m-visible-on-*-height show vertical toolbar items only when the container is tall enough.
Documentation
Toolbar props
The toolbar is a template family: toolbar is the root and the structure composes from
toolbar-content > toolbar-content-section >
toolbar-group / toolbar-item
includes in main blocks — no generic slot names.
| Name | Type | Description |
|---|---|---|
id / attrs
|
String | Root id / raw passthrough. |
variant
|
String |
primary | secondary background.
|
noBackground / sticky / vertical
|
Boolean |
The matching pf-m-* modifier.
|
modifiers
|
String |
Extra pf-m-* classes (e.g. pf-m-inset-md) —
available on every family member.
|
toolbar-content
|
Include |
One content row; attrs for x-show etc.
|
toolbar-content-section
|
Include |
Holds groups/items; attrs.
|
toolbar-group
|
Include |
variant (filter|toggle), alignEnd,
columnGap, modifiers,
attrs.
|
toolbar-item
|
Include |
variant="label", gap,
alignEnd, modifiers,
attrs; content is the main block.
|
Usage
Pair with Table or Data list. Toolbar above a data view is the canonical pattern — search/filter on the left, page-level actions on the right.