Checkbox
A checkbox with indeterminate support.
Accept terms and conditions
With text
Accept terms and conditions
You agree to our Terms of Service and Privacy Policy.
List
Recents
Home
Applications
Colors
Circular
Indeterminate
Select all
Disabled
Off
On
Native
Utility class
Reactive form
Accept terms — touched: false, value: false
API reference
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
tone | "danger" | "info" | "primary" | "success" | "warning" | 'primary' | Semantic color of the checked/indeterminate fill. |
Two-way models
Bind with [(name)], or one-way as an input.
| Prop | Type | Default | Description |
|---|---|---|---|
checked | boolean | false | Whether the box is checked. Two-way bindable with `[(checked)]`. |
indeterminate | boolean | false | Whether the box shows the mixed/indeterminate state. Two-way bindable with `[(indeterminate)]`. |
disabled | boolean | false | Whether the checkbox is disabled. Two-way bindable with `[(disabled)]`. |
Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.