Ecommerce

Write a Review

Ecommerce Pro

Write a review with big stars, chips that adapt to your rating, a size check, photos and a note. Posting lifts your stars into the product’s rating and adds yours to the review count.

About the Write a Review 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 firmer tap on bigger actions, a selection tick when you switch an option, a success pulse when the task completes and a warning buzz when something can't be done yet.

  • Shows a loading state while work is in progress, without the layout jumping.
  • 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-write-review copies the screen into screens/ecommerce/write-review.tsx along with the 8 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.
  • 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.
  • 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.
  • SwitchOn/off switch whose colour fills in from behind the thumb as it turns on. Turning off fades it back quickly, and a disabled switch gives a gentle flicker when tapped.
  • 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.
  • TextareaMultiline text field that can grow as you type and show a character count. Focus highlights the field, an error gives it a single nudge, and the count turns red at the limit.

More in Ecommerce

View all 31