Bottom CTA
Place a single action or a pair of actions at the bottom of a flow.
Recommended API
| Property or element | Type | Example initial value | Description |
|---|---|---|---|
Layout select | Select value | single | Choose a single action, paired actions, or a sticky placement. |
Primary and secondary actions | Buttons | Continue and Back | Place the primary action first in importance and pair it with Back when needed. |
States
| State | Trigger | Result |
|---|---|---|
fixed | Choose the fixed layout. | The action bar uses sticky positioning within the preview. |
activated | Press either action. | The preview reports the action taken. |
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-panel-padding | length | calc(var(--q-space) * 5) | Inner padding for panels. |
--q-on-accent | color | #ffffff | Foreground on the accent background. |
--q-control-px | length | calc(var(--q-space) * 4) | Horizontal padding for controls. |
--q-control-py | length | calc(var(--q-space) * 2.5) | Vertical padding for controls. |
--q-shadow | shadow | 0 4px 16px rgb(0 0 0 / 8%) | Shadow behind raised elements. |
--q-space | length | 4px | Base unit for gaps and padding. |