Badge ===== .. raw:: html

Badge

Component

A compact status indicator badge.

Required Props

1

text

The badge label text

Optional Props

5

variant

One of neutral, accent, success, warning, error, info. Defaults to neutral.

dot

Render as a small solid dot with no text. Defaults to False.

size

One of sm, md, lg. Defaults to md.

bg_color

Override background color.

color

Override text color.

Usage

python
Badge(text='Beta', variant='accent')

Live Preview

Beta