Back to UI Components
Animated

Knob Slider

A round dial control for adjusting values by dragging, with visual feedback and support for light and dark themes.

Knob Slider is a real, MIT-licensed React + Tailwind animated component from the open-source Watermelon UI library, in its sliders set. Run the install command above with the shadcn CLI and it drops the component's actual source straight into your project.

It depends on motion, lucide-react, next-themes, so make sure those are installed too.

We re-check this entry on a schedule, so the install command keeps pointing at the current registry item.

CategoryAnimated
LibraryWatermelon UI
SubcategorySliders
Dependenciesmotion, lucide-react, next-themes
npx shadcn@latest add https://registry.watermelon.sh/r/knob-slider.json

How to use it

  1. Run the install command above — the shadcn CLI drops the real component files into your project.
  2. Install the dependencies listed below it, if any.
  3. Import the component and restyle it with your own Tailwind tokens.
Compiled and written by VintuxAI from public sources.
← Back to UI Components