Measured entry
shadcn-slider
sliderunclassifiedmotion on file
A client-side React slider wrapper shipped as registry source rather than a packaged widget. It composes Radix Slider primitives, uses Tailwind utility and theme-token classes, and relies on the shadcn cn helper backed by clsx and tailwind-merge. It creates a thumb for each supplied value and supports horizontal or vertical layouts.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 39.2 KB (104.7 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A solid fit for shadcn-based apps and range selection, with clean Radix behavior and source-level styling control. It builds and mounts as supplied, but the demo is not accessible until each slider thumb receives an accessible name, especially for multi-thumb ranges.
Use it if
- You want a Tailwind-styled Radix slider that can handle both single values and ranges.
- Your app already uses shadcn conventions, theme tokens, and the cn utility.
- You need source-level control over thumb, track, focus, and disabled-state styling.
Skip it if
- You need an accessible drop-in demo without adding labels, because the supplied usage leaves the slider unnamed.
- You want a dependency-free native range input or a smaller interaction layer.
- Your project does not use Tailwind and you do not want to translate its utility and theme-token styling.
Install
| Declared dependencies | radix-ui, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
In a non-shadcn project, add Radix UI, clsx, and tailwind-merge; provide a cn helper; configure Tailwind theme tokens used by the classes; and replace or configure the path alias. Add an accessible label or per-thumb aria-label values wherever the component is used.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/shadcn-ui/uiAlternatives
Other published entries for the slider pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- neu-sliderneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.7KB
- Bare
- pass
- Prov
- NO
- clay-sliderclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.1KB
- Bare
- pass
- Prov
- NO
- ruixen-fine-tune-sliderunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 61.5KB
- Bare
- pass
- Prov
- NO
- tripled-volume-component-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 72.7KB
- Bare
- fail
- Prov
- NO
- tripled-cards-slider-shadcnuiliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 76.4KB
- Bare
- fail
- Prov
- NO
- neobrutalism-sliderbrutalism
- Renders
- YES
- A11y
- 1
- Gzip
- 39.3KB
- Bare
- pass
- Prov
- NO