Component packs › Livery › Shape Tuner
Corner radius, density and shadow sliders morph the whole page on springs, from sharp and dense to soft and airy.
Shape Tuner is a radius and density from Livery, a component pack with 8 components: Theme switcher components where every change repaints the page, not just the control. Price: $2 for the whole pack.
Built with: spring morphs, radius, density, shadow, named steps.
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 |
|---|---|---|---|
radius | number | ||
gap | number | ||
shadow | number | ||
dark | boolean | ||
autoplay | boolean | ||
onChange | (s: { radius: number; gap: number; shadow: number }) => void |
set(s: { radius?: number; gap?: number; shadow?: number }): voiddestroy(): voidimport ShapeTuner from './ShapeTuner';
<ShapeTuner />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Theme and dark mode.