Components
Conversion badges
Stars, scarcity, viewer nudge, savings and hold-timer primitives.
These primitives render merchandising copy only. The docs harness toggles visibility and count values locally; nothing here creates a reservation, discount or hold.
boolean
Compact state
With no viewer or booked counts, ViewersNudge renders nothing and the hold timer uses a shorter
value.
boolean
| Export | Props | Notes |
|---|---|---|
Stars | className | Decorative rating stars |
HotBadge | visible | Hidden when visible is false |
FavoriteBadge | visible | Hidden when visible is false |
ViewersNudge | viewers, booked | Renders nothing when both are absent |
SavingsLine | amount, currency | Formatted with the shared money helper |
HoldTimer | secondsLeft | Presentation only; no countdown is started by the docs page |
Responsive behaviour
Badges wrap on narrow screens and keep text contrast on the paper background.