CRUDUI

Home > @polyspec/crudui-generator-core > BadgeDisplay

BadgeDisplay interface

A badge display: a CSS/variant token plus its translated label.

Signature:

export interface BadgeDisplay 

Properties

Property

Modifiers

Type

Description

kind

'badge'

Display type.

label

string

Translated label for the value (defaults to the value itself).

variant

string

Variant token from the value→variant map (e.g. 'success', 'danger').