App UI kits › Spanner › Approve a part
Rated against measured, the price on the usual range, the new total, and a ring you hold until it closes.
Approve a part is a screen from Spanner, an app ui kit with 11 screens: A home services app where the pro asks before fitting a part, and you see the price first. Price: $5 for the whole pack.
Built with: hold to approve, price range check, honest decline.
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 | SpPhotos | ||
onApprove | (price: number) => void | ||
onDecline | () => void |
reset(): voiddestroy(): voidimport SpannerPart from './SpannerPart';
<SpannerPart />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Home services app UI, Middle East and UAE.