Back to library

Bottom CTA

Place a single action or a pair of actions at the bottom of a flow.

Recommended API

Property or elementTypeExample initial valueDescription
Layout selectSelect valuesingleChoose a single action, paired actions, or a sticky placement.
Primary and secondary actionsButtonsContinue and BackPlace the primary action first in importance and pair it with Back when needed.

States

StateTriggerResult
fixedChoose the fixed layout.The action bar uses sticky positioning within the preview.
activatedPress either action.The preview reports the action taken.

CSS variables

VariableTypeDefaultDescription
--q-textcolor #28302aMain text and foreground color.
--q-mutedcolor #70776fColor for secondary text.
--q-font-sizelength 13pxBase size for the component text.
--q-accentcolor #344e41Accent for active controls, indicators and focus.
--q-surfacecolor #ffffffSurface for controls and cards.
--q-bordercolor #dce0d8Color for outlines and dividers.
--q-radiuslength 10pxBase corner radius.
--q-gaplength calc(var(--q-space) * 2)Space between items, based on the spacing unit.
--q-panel-paddinglength calc(var(--q-space) * 5)Inner padding for panels.
--q-on-accentcolor #ffffffForeground on the accent background.
--q-control-pxlength calc(var(--q-space) * 4)Horizontal padding for controls.
--q-control-pylength calc(var(--q-space) * 2.5)Vertical padding for controls.
--q-shadowshadow 0 4px 16px rgb(0 0 0 / 8%)Shadow behind raised elements.
--q-spacelength 4pxBase unit for gaps and padding.