Ecommerce

Return Items

Ecommerce Pro

Start a return by dropping items into a box that tallies the pieces and your refund. Pick a reason and a drop-off, pickup or locker, and submitting prints a prepaid QR label.

About the Return Items 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, a selection tick when you switch an option and a success pulse when the task completes.

  • Has an empty state for when there's nothing to show yet.
  • Keeps the main action docked at the bottom while the content scrolls.
  • Respects Reduce Motion: movement drops out and the feedback stays.

Make it yours

npx @lumioui/cli add pro/ecommerce-returns copies the screen into screens/ecommerce/returns.tsx along with the 12 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.
  • Animated NumberNumber that moves to each new value as a calm count-up or a roll where only the changed digits turn, set in type or in dot-matrix LEDs whose dots switch on in place. Screen readers announce just the final value, not every step.
  • 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.
  • CountdownLive countdown with rolling digits, inline or as blocks that brighten through the final ten seconds. At zero it can celebrate and show your result, or quietly fade if time ran out.
  • 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.
  • 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.
  • QR CodeCrisp QR code that stays sharp at any size and needs no extra library. It appears from the centre outward, can hold a logo in the middle, and fades the new code in when the value changes.
  • Radio GroupRadio options for picking one choice from a list, as simple rows or cards. The chosen dot lights up with a soft glow while the previous choice fades.
  • Segmented ControlSegmented control for switching between a few options, with text segments that can carry icons. The highlight slides smoothly to your pick and can be dragged, and a glass style suits photos.
  • 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