Checkbox
A control that allows the user to toggle between checked and not checked.
Usage
You agree to our Terms of Service and Privacy Policy.
API Reference
| Input | Type | Default |
|---|---|---|
| id | string | `volt-checkbox-${++nextCheckboxId}` |
| checked | boolean | false |
| indeterminate | boolean | false |
| disabled | boolean | false |
| required | boolean | false |
| Output | Type |
|---|---|
| checkedChange | boolean |
| indeterminateChange | boolean |
Component Source
Install via CLI:
npx @voltui/cli add checkboxTypeScript
Loading editor…
Copy this code to your project. The component uses ng-primitives/checkbox.