Skip to content
SevenUI
Sign in
On this page

Checkbox

Displays a checkbox built on the Base UI Checkbox primitive, for accepting terms, toggling settings, and picking several options.

Installation

Bash

Usage

Examples

Indeterminate

A parent checkbox reflecting a partial selection — indeterminate is independent of checked and controlled by you.

Disabled

API reference

Checkbox

Extends the Base UI Checkbox Root — all its props apply. The check indicator is built in; pair with Label for the click-target text.

PropTypeDefault
checked / defaultCheckedbooleanfalse
onCheckedChange(checked: boolean) => void—
indeterminatebooleanfalse
disabledbooleanfalse
name / valuestring — form submission—

Was this page helpful?