Summary
Small display components for status indicators, user avatars, and tags.
Components
<StxBadge>
<StxBadge>New</StxBadge>
<StxBadge color="red" variant="outline">Critical</StxBadge>
<StxBadge color="green" dot>Active</StxBadge>Props: color (gray/red/green/blue/yellow/purple), variant (solid/outline/subtle), size (xs/sm/md), dot (leading dot indicator)
<StxAvatar>
<StxAvatar src="/avatars/glenn.jpg" alt="Glenn" size="md" />
<StxAvatar fallback="GT" color="indigo" />
<StxAvatar src="/missing.jpg" fallback="?" status="online" />Props: src, alt, fallback (initials when image fails), size (xs/sm/md/lg/xl), color, status (online/offline/busy/away), rounded (full/md/none)
<StxChip>
<StxChip>TypeScript</StxChip>
<StxChip closable @close="removeTag('ts')">TypeScript</StxChip>Props: color, closable, size, variant
Shared features
- Dark mode via CSS variables
- Consistent color palette across all three
- Composable with other builtins (Badge inside Tabs, Avatar in Cards)