Command Palette
Search for a command to run...
Loading...
Loading...
Upgrade your forms with a flexible and easy-to-use checkbox component. Built with Tailwind CSS, shadcn ui, and Base UI, it keeps interactions smooth and works well with keyboard navigation. Grab the code and use it in your project instantly.
UIAble Checkbox is a simple form component used when you need to toggle something on/off or let users pick multiple options from a list. It’s built on using shadcn UI and follows Base UI principles, so things like checked states, indeterminate behavior, and native input handling just work properly without extra effort.
One big difference here is that it’s not packed inside an npm package. You get the actual code directly in your project, which means you can change the structure, customize, and extend the DOM structure and SVGs however you need.
Styling is done with Tailwind CSS, so managing focus rings, disabled states, and even custom check animations feels straightforward. No need to override heavy third-party CSS.
UIAble Checkbox abstracts away the frustrating cross-browser inconsistencies of native HTML checkboxes. It follows Base UI principles, ensuring that the component remains fully accessible to screen readers, handles spacebar toggles flawlessly, and manages aria-checked states automatically.
Since the code lives completely inside your project, there is absolutely zero dependency lock-in. You have total control over the component architecture, making it trivial to swap out checkmark icons, change animation durations, or integrate with complex form validation libraries like React Hook Form or Zod.
It works smoothly with Tailwind CSS and CVA (class-variance-authority). This guarantees that whether you are using sm, md, or lg checkboxes, the sizing, padding, and focus rings automatically maintain a cohesive, type-safe design system.
UIAble Checkbox is designed for highly composable form architectures. It seamlessly supports integration into complex form layouts without disrupting native HTML submission logic.
You can effortlessly integrate it into advanced layouts such as:
It also fully respects your global design system. If you update your primary colors, border radius, or ring offsets in your Tailwind configuration, the Checkbox will automatically inherit and reflect those changes instantly.