Docs
Slider
An input where the user selects a value from within a given range.
import * as React from "react"; import { css } from "@pigment-css/react"; import { Slider } from "@/components/ui/slider"; export function SliderExample(): React.JSX.Element { return <Slider defaultValue={[50]} max={100} step={1} className={css({ width: "60%" })} />; }
npx lotru@latest add ui/slider
import { Slider } from "@/components/ui/slider";
<Slider />
Previous
Sheet
Next
Switch
On this page