Product Grid
Shop a two-column product grid with search, category chips, sorting and wishlist hearts, where a featured new drop arrives as you browse. Tapping a photo zooms it into a quick preview.
About the Product Grid 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 taps and scrolling. On a phone you feel a light tap on buttons and a selection tick when you switch an option.
- Shows a loading state while work is in progress, without the layout jumping.
- Has an empty state for when there's nothing to show yet.
- Keeps fields and actions above the on-screen keyboard.
- Long lists are virtualised, so they stay smooth with real data.
- Respects Reduce Motion: movement drops out and the feedback stays.
Make it yours
npx @lumioui/cli add pro/ecommerce-product-grid copies the screen into screens/ecommerce/product-grid.tsx along with the 11 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.
- ButtonPill button that presses down under your finger, in eight styles from solid to glass, with a built-in loading state that swaps in place while an action runs.
- ChipCompact pill for filters, suggestions, tags and inputs, in solid, outline and glass styles. Selecting a chip fills it quickly and it settles into place without a bounce.
- Empty StatePlaceholder for empty lists, no search results and errors, with an icon, headline, short message and action. Soft light falls from the top as the content fades in.
- GlassGlass surface for cards and controls: system glass on newer iOS, real refraction on the web and a frosted look elsewhere. Light can gather under your finger, and panes merge on newer iOS and the web.
- 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.
- ImageImage with a placeholder while it loads, a fallback when it fails, and aspect-ratio handling so your layout doesn’t jump when the picture arrives.
- Search InputSearch field with a clear button and a busy indicator while results load. Focus brightens the field, matching text in results can be highlighted, and a frosted glass style is included.
- SkeletonLoading placeholders you shape to match your content. They wait calmly and still, with no shimmer, then the real content switches on in their place, row by row.
- 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.
- Zoom TransitionScreen transition where a tile grows out of its exact spot into a full page before the content fades in. Closing returns it to the tile, and dragging down dismisses it.