Show design guidelines
A checkbox is an input control that allows a user to select one or more options from a number of choices.
HTML React Angular
Label
Help or instructional text goes here
Optional help link
Label
Label
Help or instructional text goes here
Label
Label
Help or instructional text goes here
Label
Disabled
Checked disabled
checked
| |
|---|
| Attribute | checked |
| Type | boolean |
| Default | false |
| Required | false |
| Description | The checked state of the checkbox |
disabled
| |
|---|
| Attribute | disabled |
| Type | boolean |
| Default | false |
| Required | false |
| Description | The disabled state of the checkbox |
indeterminate
| |
|---|
| Attribute | indeterminate |
| Type | boolean |
| Default | false |
| Required | false |
| Description | The indeterminate state of the checkbox. Can only be set via JavaScript |
| |
|---|
| Attribute | input-type |
| Type | "checkbox" | "radio" |
| Default | 'checkbox' |
| Required | false |
| Description | Internal prop to make a radio button. Best to use the certara-radio component directly |
layout
| |
|---|
| Attribute | layout |
| Type | "inline" | "inline-block" | "stacked" | "standalone" |
| Default | 'inline' |
| Required | false |
| Description | Stacked checkboxes have one per line, inline checkboxes are all on the same line |
name
| |
|---|
| Attribute | name |
| Type | string |
| Default | undefined |
| Required | false |
| Description | The name of the checkbox |
size
| |
|---|
| Attribute | size |
| Type | "md" | "sm" |
| Default | 'md' |
| Required | false |
| Description | The size of the checkbox |
value
| |
|---|
| Attribute | value |
| Type | any |
| Default | 'on' |
| Required | false |
| Description | The value of the checkbox |
| Name | Description | Bubbles |
|---|
certaraBlur | Standard event emitted when checkbox is blurred | true |
certaraChange | Standard event emitted when checkbox is toggled | false |
certaraClick | Standard event emitted when checkbox is clicked | false |
certaraFocus | Standard event emitted when checkbox is focused | true |
There are no public methods available for this component
| Name | Description |
|---|
| Content for the label |
help | Help text that sits below the label |