Dev Design Library

Slider 08 - With Number Input

Opacity slider kept in sync with a number input that clamps and rounds typed values, plus a live preview swatch.

Slider 08 - With Number Input preview
Library
Shadcn Space
Framework
React
Type
component
License
MIT
Dependencies
@number-flow/react, motion
Files
  • src/components/shadcn-space/slider/slider-08.tsx
  • src/components/ui/input.tsx
  • src/components/ui/label.tsx
  • src/components/ui/slider.tsx
  • src/lib/utils.ts
  • src/config.ts
Source
https://github.com/shadcnspace/shadcnspace

Categories

More from Shadcn Space