Slider
Range slider on Base UI with a filled track and pill-shaped thumbs. Renders one thumb per array value, two when no array is given, in horizontal or vertical orientation.
"use client"
import { Slider } from "@/components/ui/slider"
/** Slider with one thumb. */
export default function SliderDemo() {
return <Slider defaultValue={48} className="w-full max-w-sm" />
}
Installation
pnpm dlx shadcn add @01orbital/slidernpx shadcn add @01orbital/slideryarn shadcn add @01orbital/sliderbunx --bun shadcn add @01orbital/sliderAdd the @01orbital registry to components.json once (install guide), then run the command.
It lands at components/ui/slider.tsx, as source you own and edit.
Slider components
The library's own slider components, each installed on its own.
01
cloud-dancer-slider
Dependencies
npm: @base-ui/react, cn. The CLI installs them for you.
No other registry pieces.
Skeleton
Loading placeholder: a rounded muted block with a pulse animation. Size and shape it with classes to stand in for text lines, avatars or cards while content loads.
Cloud Dancer Slider
Base UI slider dressed as the Cloud Dancer pill: a teal-shaded off-white strip with a dark filled range and a dark orb thumb. Takes one value or a range, with a label per thumb.