Search the docs

Search Keyframery's docs

Keyframery

Slider animation

The thumb grows while you drag it and settles on release; arrow keys stay instant.

with <Cuts />

What moves

WhenWhat you seeTimingHow
The thumb is draggedGrows to 125% while held110 ms in, 150 ms outAutomatic

Install

Slider is shadcn's own component. With <Cuts /> in your root layout (Quick start), there's nothing else to add:

npx shadcn add slider

Turn it off

Put data-cut="none" on a slider (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.

On this page