Ecommerce

Search Results

Ecommerce Pro

Results appear in reading order as a search loads, with a filter rail that narrows and re-sorts the grid, a live result count, wishlist hearts and related searches to try next.

About the Search Results 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.
  • Respects Reduce Motion: movement drops out and the feedback stays.

Make it yours

npx @lumioui/cli add pro/ecommerce-search-results copies the screen into screens/ecommerce/search-results.tsx along with the 10 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.
  • Filter BarHorizontal filter row with a Filters button and count badge, toggle chips, and dropdown chips that open a sheet. Sheets show a live result count, and a Clear chip appears once a filter is on.
  • 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.
  • SeparatorThin divider line, horizontal or vertical. It can draw itself in as a page builds, or show a perforated tear line for tickets and receipts.
  • 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