App UI kits › Hush › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | HuPhotos | ||
onPick | (a: string, b: string) => void |
pick(side: 0 | 1, id: string): voiddestroy(): voidimport HushCompare from './HushCompare';
<HushCompare />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Shopping app, UK (pounds).