Velocity X Components

Core UI

Badge / Tag Set

Single pill component covering solid, soft, and outline badge variants across brand and semantic tones, with an optional removable tag mode.

Free MIT licensed. Install it with the CLI — no account, no key.
bash
$ velocityx add badge-tag

Built for astro.

Full docs for Badge / Tag Set →

astro v1.0.0
Badge / Tag Set
New Primary Active Pending Overdue Beta React Astro

Props

NameTypeRequiredDefaultDescription
tone'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info'No'primary'
variant'solid' | 'soft' | 'outline'No'soft'
size'sm' | 'md'No'md'
removablebooleanNofalse
dotbooleanNofalse

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/badge-tag/BadgeTag.astro

Using the Badge / Tag Set component

Install it with velocityx add badge-tag. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Core UI.