Recently Viewed
Revisit what you’ve browsed, with today’s pieces on an hourly timeline and earlier days in a grid. Price drops rise to stand out, and items can be removed one by one or cleared at once.
About the Recently Viewed 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.
- Has an empty state for when there's nothing to show yet.
- Respects Reduce Motion: movement drops out and the feedback stays.
Make it yours
npx @lumioui/cli add pro/ecommerce-recently-viewed copies the screen into screens/ecommerce/recently-viewed.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
- 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.
- 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.