CH

Checkbox

@rc-component/checkbox

checkbox ui component for react

Component Libraries
react
react-component
react-checkbox
checkbox
@rc-component/checkbox
Component Libraries
javascript
npm
frontend
open source
Stars
308
Weekly
845k
Open issues
4
Bundle
~25 kB

Installation

npm install @rc-component/checkbox

Code example

import { Button } from "@rc-component/checkbox";

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
  • 845k 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

FAQs

Alternatives & similar libraries