Base Components
Slider
Allowing precise selection of a single value within a specified range.
Installation
Install the following dependencies:
terminal
Create a slider.tsx
file and paste the following code into it.
/components/ui/slider.tsx
Update the import paths to match your project setup.
Examples
Range
With Tooltip
API Reference
This component is based on the Radix UI Slider primitives. Refer to their documentation for the API reference.
© 2024 AlignUI Design System. All rights reserved.