Skip to Content
Urban Cowboy
Components

Extras upsell

Inline upsell presentation for the extras booking step.

InlineUpsell renders an add-on suggestion with its price and an add/remove toggle. The demo uses a deterministic ShapedProduct fixture and keeps selection in local state; it never calls the mews pricing API or changes a cart.

PropTypeNotes
productShapedProductname, description, price and currency are displayed
addedbooleanControls the added/remove presentation
onTogglecallbackDocs harness flips local state only

Larger card

UpsellCard is the larger gallery variant of the same add-on data. Its detail expansion and selection state stay local in the docs harness.

PropTypeNotes
productShapedProductSame deterministic fixture as the inline demo
imageBaseUrlstringBase path for the card image asset
selected, onToggleboolean / callbackLocal selection state
nightsCount, guestsCountnumberUsed by the shared line-total helper
lockedbooleanDisables changes when true

Responsive behaviour

The icon, copy and action wrap into a column on narrow screens while retaining a full-width touch target.

View source