Checkbox

Binary input with indeterminate state, custom icons, label association, and keyboard support.

Forms & Inputs@sisyphos-ui/checkboxView on npm

Preview

tsx

Installation

Install the individual package:

snippet.bashbash
pnpm add @sisyphos-ui/checkbox @sisyphos-ui/core

Or use the umbrella package that bundles everything:

snippet.bashbash
pnpm add @sisyphos-ui/ui

Usage

Import the component styles and the component itself:

snippet.tsxtsx
import "@sisyphos-ui/checkbox/styles.css";
import { Checkbox } from "@sisyphos-ui/checkbox";

Semantic colors

tsx

API

Props table is being written. See the package README for the complete API surface.

The full API including refs, ARIA attributes, and HTML passthroughs lives in the package README.