Ecommerce

Product Detail — Hero

Ecommerce Pro

Explore a running shoe through numbered hotspots and a magnifying loupe that glides to each detail. See the colourways, pick a size and add it to your bag.

About the Product Detail — Hero screen

A full shopping flow for React Native and Expo: browsing, product pages, cart, checkout, payment, orders and returns. This is one of 31 ecommerce screens.

How it behaves

It responds to pinch to zoom, scrolling and taps. On a phone you feel a heavy press on the main commit, a light tap on buttons, a selection tick when you switch an option and a warning buzz when something can't be done yet.

  • The header reacts to scrolling instead of sitting on top of the content.
  • Respects Reduce Motion: movement drops out and the feedback stays.

Make it yours

npx @lumioui/cli add pro/ecommerce-product-detail-hero copies the screen into screens/ecommerce/product-detail-hero.tsx along with the 4 components it uses, so the source is yours to edit. It's shown in neutral ink: wrap it in an <Accent> to give it your brand colour. It follows light and dark mode, and runs on iOS and Android, including Expo Go.

Built from

  • Action SwapBuilding blocks for swapping a label or icon in place: the old one fades as the new one appears, plainly, with a small lift or letter by letter. Includes button, text, icon and multi-state versions.
  • IconIcon set drawn on one consistent grid, sized and coloured from your theme. The heart, star and bookmark can fill in place inside their outline, then fade back out.
  • LightboxPhoto gallery where any tapped photo grows out of its exact tile into a full-screen viewer, then flies back into the tile of whichever photo is showing when you let it go.
  • TextThemed type scale from caption to display that follows light and dark mode. Includes a pull-quote style with an accent rule and a quieter dimmed tone for secondary text.

More in Ecommerce

View all 31