AvailabilityStatusBadge
Small scarcity / urgency badge for activity cards, room rows, cabin rows, and search results. Four canonical statuses — selling fast, limited, sold out, recently booked — with a locale-neutral default label formatter and an escape hatch for custom copy.
Four statuses
selling-fast and limited use amber for warm urgency; sold-out uses destructive; and recently-booked is a muted informational tone.
Sizes
size="sm" fits inside dense card layouts (activity thumbnails, room rows). size="md" is the default for standalone use.
Custom labels
Callers pass their own label for translated copy or brand voice.
In a card
The size="sm" variant embedded into an activity result card, aligned with the category eyebrow.
Sydney Harbour Bridge Climb
3-hour guided climb — sunrise
Meets 6:15 AM · Available today
$289per person
Props reference
| Prop | Type | Required | Description |
|---|---|---|---|
| status | 'selling-fast' | 'limited' | 'sold-out' | 'recently-booked' | yes | Controls color and icon |
| label | string | no | Pre-formatted label. When omitted, a default is derived from status + count. |
| count | number | no | Numeric count used by the default formatter (e.g. 'Only 3 left', 'Booked 5 times today') |
| size | 'sm' | 'md' | no (default 'md') | Trigger size — 'sm' for use inside cards |
| className | string | no | Extra classes on the badge span |