Skip to content

DisplayBadge ​

A component of the Display category.

ts
import { DisplayBadge } from '@zairakai/vue-components/Display'

Usage ​

vue
<DisplayBadge />

Example ​

NewDoneLateFailed

vue
<template>
  <p>
    <DisplayBadge>New</DisplayBadge>
    <DisplayBadge variant="success">Done</DisplayBadge>
    <DisplayBadge variant="warning">Late</DisplayBadge>
    <DisplayBadge variant="error">Failed</DisplayBadge>
  </p>
</template>

Props ​

NameTypeDefaultDescription
idstring
classstring
variantstring'default'
sizestring'medium'
dotbooleanfalse

Slots ​

NameDescription
default

See Theming for the class hooks and the data-* state of the components.

Documentation of 1.4.4 , built from 8e9b054 on 1.4.4 by pipeline #2989941079 on 2026-10-26.