Loading component…
In applications
- Used in blocks
- Filter panel
Loading component…
What automated tests prove about each implementation — separate from whether the package itself is a finished product. Derived from the test files; how the levels are earned.
React
React setupPackage maturity: stable · Implementation verification: Beta
Angular
Angular setup · previewPackage maturity: preview · Implementation verification: Preview
SwiftUI
SwiftUI setupPackage maturity: stable · Implementation verification: Experimental
Jetpack Compose
Jetpack Compose setupPackage maturity: stable · Implementation verification: Experimental
Flutter
Flutter setupPackage maturity: stable · Implementation verification: Experimental
This platform’s whole catalogue is verified to React beta, Angular preview, SwiftUI experimental, Jetpack Compose experimental, Flutter experimental. The catalogue figure is the weakest component on that platform, not an average.
npx @kinetixui/cli add slidernpm i @kinetixui/ui @kinetixui/tokens@kinetixui/ui on npm@kinetixui/tokens on npmThe CLI copies React source. Usage imports from @kinetixui/ui require the npm package; for copied source, use your configured local import instead.
npm i @kinetixui/angular @kinetixui/tokens@kinetixui/angular on npm@kinetixui/tokens on npmSource only, not on Swift Package Manager yet: use a repository checkout pinned to a commit.
Source only, not on Maven Central yet: use a repository checkout pinned to a commit.
Source only, not on pub.dev yet: use a repository checkout pinned to a commit.
An input where the user selects a value from within a given range.
Reduced motion: off · your browser setting
npx @kinetixui/cli add sliderimport { Slider } from "@kinetixui/ui";Styled entirely from the KinetixUI token contract — bg-action,
text-muted-foreground, border-input, ring-ring. Works in light and dark
with no extra config. Keyboard and ARIA behaviour is inherited from Radix where the
component is built on a primitive; the hand-built widgets (DataGrid, TreeView,
ColorPicker, MultiSelect, Tour, KanbanBoard) have their own documented interaction
models — see Accessibility.
Pass more than one value and the React Slider draws one thumb per value, each
with its own tab stop. One name cannot tell two thumbs apart, so aria-label or
aria-labelledby names the group (role="group") and each thumb keeps the name
of its position: "Minimum" and "Maximum", or "Value 1 of 3" beyond two.
aria-valuetext describes a single value, so it applies to a single-thumb
Slider only.
<Slider aria-label="Price" defaultValue={[20, 80]} max={100} step={1} />The Angular, SwiftUI, Compose and Flutter Sliders take a single value today.
2 behaviours asserted on every commit by packages/ui/src/components-keyboard.test.tsx. Listed because they are tested, not the other way round — if one stops being tested it stops appearing here.
names the thumb (the role=slider element) from aria-label and moves with the arrow keys
steps by a page with PageUp and PageDown, and clamps at the ends of the range