Component · Forms

Checkbox

a boolean toggle with checked, indeterminate and disabled states.

Example

Playground

checked
indeterminate
disabled
size
 

Where available

React
Angular
Web Components
Blazor
Tokens

Using it

the same component, named idiomatically per target. one CSS contract underneath, so they render identically.

TargetReferencePackage
React <Checkbox> @design-foundry/lucent-react
Angular <lucent-checkbox> @design-foundry/lucent
Web Components <lucent-checkbox> @design-foundry/lucent-wc
Blazor <LucentCheckbox> DesignFoundry.Lucent

API

PropTypeDefaultDescription
checked boolean false checked state.
indeterminate boolean false mixed state (wins over checked).
label string label text.
size xs | sm | md | lg md control density.