Dev Design Library

Ruler slider

A tape of ticks that slides under a fixed needle, with momentum, snapping, and a rolling readout.

Ruler slider preview
Library
Arc Library
Framework
React
Type
ui
License
MIT
Dependencies
motion
Install
npx shadcn@latest add https://uiarc.dev/r/ruler-slider.json
Files
  • registry/components/ruler-slider/ruler-slider.tsx
  • registry/components/ruler-slider/ruler-slider.module.css
  • registry/motion-tokens.ts
  • lib/motion-tokens.ts
Source
https://github.com/kuratlielia/arc-library

Categories

More from Arc Library