Skip to Content
Urban Cowboy
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
ExportPropsNotes
StarsclassNameDecorative rating stars
HotBadgevisibleHidden when visible is false
FavoriteBadgevisibleHidden when visible is false
ViewersNudgeviewers, bookedRenders nothing when both are absent
SavingsLineamount, currencyFormatted with the shared money helper
HoldTimersecondsLeftPresentation only; no countdown is started by the docs page

Responsive behaviour

Badges wrap on narrow screens and keep text contrast on the paper background.

View source