import { Slider } from "@styple/design-system";
<Flex
css={{
gap: "$xl",
alignItems: "center"
}}
>
<Container css={{ width: "$3xl" }}>
<Slider defaultValue={[50]} max={100} step={1} />
</Container>
<Slider orientation="vertical" defaultValue={[50]} max={100} step={1} />
</Flex>
See Radix-UI Slider (v0.1.4) for details. This only covers styple abstractions.
A styled abstraction for the entire primitive. Props are forwarded to Slider.Root
.