Resizable animation
The handle thickens and takes the focus colour while you drag it. Works on Base UI and Radix through <Cuts />.
with <Cuts />
Files
Preview
What moves
| When | What you see | Timing | How |
|---|---|---|---|
| The handle is dragged | Thickens and takes the focus colour | 150 ms | Automatic |
Install
Resizable is shadcn's own component. With <Cuts /> in your root layout (Quick start), there's nothing else to add:
npx shadcn add resizableTurn it off
Put data-cut="none" on a resizable (or anything around it) to keep shadcn's own motion there. <Cuts responses="none" /> turns off every response across the app and keeps the cuts. With reduced motion, movement becomes a short fade or nothing.