Skip to content
Inputs

Checkbox

A checkbox input that supports indeterminate state. Integrates with Signal Forms.

LlmCheckbox
WCAG AA0 deps

Demo

Live PreviewReact
jsx
<LlmCheckbox>I agree to the terms</LlmCheckbox>
<LlmCheckbox checked={true}>Pre-checked</LlmCheckbox>
<LlmCheckbox indeterminate={true}>Indeterminate</LlmCheckbox>
<LlmCheckbox disabled={true}>Disabled</LlmCheckbox>

API (Angular)

PropTypeDefaultDescription
checkedbooleanfalseControlled checked state
onCheckedChange(checked: boolean) => voidCalled when the checked state changes
[(value)]booleanfalseAlias for checked (Signal Forms integration)
(valueChange)(checked: boolean) => voidAlias for onCheckedChange (Signal Forms integration)
indeterminatebooleanfalseShows a dash (indeterminate state)
disabledbooleanfalseDisables the checkbox
readonlybooleanfalseMakes the checkbox read-only
invalidbooleanfalseApplies invalid/error styling
requiredbooleanfalseMarks field as required
namestring''HTML name attribute for form submission

Import

ts
import { LlmCheckbox } from '@atelier-ui/angular';