Skip to content

Badge ​

Last updated

Demo ​

badge/demo.vue

Brand and content

New Featured Archived

Categories and emphasis

SolidSky blueFeaturedToolsEventsCreationCompleted
SoftSky blueFeaturedToolsEventsCreationCompleted
OutlineSky blueFeaturedToolsEventsCreationCompleted

States and feedback

SolidPublishedTestingPublish failedPending review
SoftPublishedTestingPublish failedPending review
OutlinePublishedTestingPublish failedPending review

Light sky blue labels mark everyday content; a sun star marks featured content. Categories and states use vivid fills with contrast checked foregrounds.

Choosing a badge ​

  • brand: everyday brand markers such as new content or versions.
  • featured: recommendations, with a yellow star, pale background and neutral text.
  • accent: vivid solids, default sky blue; choose sun, cyan, coral, pink or green through tone.
  • neutral: ordinary information such as archived content or drafts.
  • success / warning / danger / info: green, sun yellow, coral and cyan, with status symbols and text.

Badges use the body font at 12px/500 by default, without shadows or continuous animation. Foreground, fill and border tokens adapt together across themes. Use short, explicit labels; color supplements meaning.

Sky blue pairs white text in light mode with dark blue in dark mode. Other solid badges pair darker same-hue text. See Shared status colors.

Badges display information. Use an interactive component for filtering or actions.

Emphasis ​

Choose appearance="solid", soft or outline for accent/status variants. Other variants retain their own appearance.

Props ​

PropDescriptionTypeDefault
variantSemantic or brand rolefeatured | accent | brand | neutral | success | warning | danger | infobrand
toneAccent hue, only for accentblue | sun | cyan | coral | pink | greenblue
appearanceEmphasis for accent and status variantssolid | soft | outlinesolid
roundPill radius; small radius when falsebooleantrue

Tone defaults to blue and affects accent only. Featured always uses feature tokens. Legacy aurora aliases featured.

Slots ​

NameDescription
defaultBadge content