Slider
@rc-component/slider
Slider UI component for React
Component Libraries
react
react-component
react-slider
slider
input
range
@rc-component/slider
Component Libraries
javascript
npm
Stars
283
Weekly
690k
Open issues
4
Bundle
~25 kB
Installation
npm install @rc-component/sliderCode example
import { Button } from "@rc-component/slider";
export function Example() {
return (
<div className="flex gap-2">
<Button>Primary</Button>
<Button variant="outline">Secondary</Button>
</div>
);
}Pros & cons
Pros
- Actively maintained by zombiej
- 690k weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~25 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 4 open issues on GitHub