App UI kits › Hush › Compare

Compare

Two models side by side; swap one and every spec bar springs to the new numbers with the better value marked.

Compare is a screen from Hush, an app ui kit with 11 screens: A headphone store app with a real product turntable and a radar that finds lost earbuds. Price: $5 for the whole pack.

Built with: spring spec bars, swap model, better value marks.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Compare props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosHuPhotos
onPick(a: string, b: string) => void

Methods on the ref

Use it in React

import HushCompare from './HushCompare';

<HushCompare />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Hush

Good for: Shopping app, UK (pounds).