Rc Input Number
rc-input-number
React input-number component
Component Libraries
react
react-component
react-input-number
input-number
rc-input-number
Component Libraries
javascript
npm
frontend
open source
Stars
469
Weekly
2.3M
Open issues
6
Bundle
~25 kB
Installation
npm install rc-input-numberCode example
import { Button } from "rc-input-number";
export function Example() {
return (
<div className="flex gap-2">
<Button>Primary</Button>
<Button variant="outline">Secondary</Button>
</div>
);
}Pros & cons
Pros
- Actively maintained by tsjxyz@gmail.com
- 2.3M 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
- 6 open issues on GitHub