AppBadge
A compact status label in soft tones. Every variant pairs a subtle fill with text that passes AA in all presets and themes.
Install: pnpm add-component AppBadge
Variants
Status tones, plus three neutral ones for labels that carry no status.
Status dot
The dot takes the text colour, so it always matches the tone.
Slot content
Use the default slot for anything richer than a string, such as a count.
API
label(string): Text to show. The default slot replaces it.variant('primary' | 'success' | 'warning' | 'error' | 'info' | 'surface' | 'outline' | 'muted'): Tone. primary is the accent, error is danger, muted is neutral.dot(boolean): A leading dot, for statuses a reader scans down a list.