Back to library

Status badges

Show a status such as Draft, In progress or Published next to a list item.

In progress Draft Published v1.0

Recommended API

Property or elementTypeExample initial valueDescription
LabelTextDraft, In progress, Published, v1.0Show a short status or version string.
AppearanceCSS classSubtle, accent or outlinedUse the appearance that suits the badge’s emphasis.
IconOptional decorationDot or arrowThe icon and label use the same height and padding as a text-only badge.

States

StateTriggerResult
staticRender a status.The text identifies the status or version.

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-border-widthlength 1pxThickness of the outline.
--q-radiuslength 10pxBase corner radius.
--q-spacelength 4pxBase unit for gaps and padding.
--q-gaplength calc(var(--q-space) * 2)Space between items, based on the spacing unit.