List header
Introduce a list with a title, supporting text, and a contextual action.
Recent activityLast 30 days
Recommended API
| Property or element | Type | Example initial value | Description |
|---|---|---|---|
Heading, caption and action | Text and button | Sample list and Filter | Group the list’s name and supporting controls. |
aria-expanded | ARIA Boolean | false | Expose whether the filter control is visible. |
States
| State | Trigger | Result |
|---|---|---|
filter open | Activate Filter. | The select control is revealed. |
value changed | Choose another filter. | The caption displays the new selection. |
CSS variables
| Variable | Type | Default | Description |
|---|---|---|---|
--q-text | color | #28302a | Main text and foreground color. |
--q-muted | color | #70776f | Color for secondary text. |
--q-font-size | length | 13px | Base size for the component text. |
--q-accent | color | #344e41 | Accent for active controls, indicators and focus. |
--q-surface | color | #ffffff | Surface for controls and cards. |
--q-border | color | #dce0d8 | Color for outlines and dividers. |
--q-radius | length | 10px | Base corner radius. |
--q-gap | length | calc(var(--q-space) * 2) | Space between items, based on the spacing unit. |
--q-space | length | 4px | Base unit for gaps and padding. |