Compare Homes
Compare two saved homes side by side. Toggle what matters to you and the photos resize by fit, the better match widening, while a table marks the winner of every row including monthly cost.
About the Compare Homes screen
Property search on a list or a map, listing detail, saved homes, tours, mortgage maths and rental applications. This is one of 9 realestate screens.
How it behaves
It responds to taps and scrolling. On a phone you feel a selection tick when you switch an option, a light tap on buttons and a firmer tap on bigger actions.
- 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/realestate-compare-homes copies the screen into screens/realestate/compare-homes.tsx along with the 4 components it uses, so the source is yours to edit.
It's shown here in the orange 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
- 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.
- 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.