Slider Ruler Ticks
NewUnlimitedA ruler you drag or flick under a fixed needle; it coasts with inertia, snaps to the nearest tick and shows the reading large in the centre.
sliderrulerticksdraginertia
Installation
Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/slider-ruler-ticks.tsx. This is an Unlimited component, so the CLI needs your API key: set it up once, then install it by name.
Build it with AI
Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.
More sliders
- Slider Circular DialA thermostat-style dial: drag the knob around a 270° arc and the gradient track, knob and reading follow on a spring; presets sweep it to a new value.
- Slider Range DualA two-thumb range slider under a histogram whose bars light up inside the selection; thumbs keep a minimum gap and the nearest one follows a track press.
- Slider Spring ThumbA slider whose value bubble trails the thumb on a loose spring and leans into the direction of travel, then settles upright.
- Slider Stepped LabelsA discrete slider with labelled stops: the thumb follows your finger freely, then springs onto the nearest stop while its label lights up.
- Slider Volume VerticalA tall pill you drag up and down like a phone volume control; the fill follows on a spring, the pill stretches when you pull past either end, and M mutes.