Design System Builder

Slider

Slider is a component component that provides slider functionality.

Active

Installation

npm install @your-design-system/slider
import { Slider } from "@/components/ui/slider"

export function SliderDemo() {
  return (
    <Slider>
      {/* Content */}
    </Slider>
  )
}

API Reference

PropTypeDefaultDescription
valuenumber-

The value prop for the component.

minnumber0

The min prop for the component.

maxnumber100

The max prop for the component.

stepnumber1

The step prop for the component.

Styling

The component uses Tailwind CSS classes for styling. You can customize the appearance by overriding these classes.

Base Classes

relativeflexw-fulltouch-noneselect-noneitems-center

Design System Compliance

This component is validated against atomic design principles and foundation token usage.