Market Home
Neighbourhood feed of secondhand listings in a two-column masonry, filtered by gliding category tabs. A saved item’s old price gets crossed out as the new one pops in, and fresh stock lights up.
About the Market Home screen
Peer-to-peer marketplace screens: listings, search, offers, item chat, seller profiles and checkout. This is one of 10 marketplace screens.
How it behaves
It responds to taps, scrolling and pull to refresh. On a phone you feel a light tap on buttons and a selection tick when you switch an option.
- Respects Reduce Motion: movement drops out and the feedback stays.
Make it yours
npx @lumioui/cli add pro/marketplace-market-home copies the screen into screens/marketplace/market-home.tsx along with the 5 components it uses, so the source is yours to edit.
It's shown here in the teal accent: wrap it in a different <Accent> to recolour every button, highlight and chart at once. It follows light and dark mode, and runs on iOS and Android, including Expo Go.
Built from
- 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.
- Pull To RefreshScrolling list with pull-to-refresh. A ring fills as you pull and lights up once you’ve pulled far enough, keeps turning while new content loads, then settles as the list returns.
- Save ButtonSave, bookmark and favourite toggle as an icon or pill. Saving fills the icon with colour from the inside and changes Save to Saved; unsaving drains it back out.
- 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.