Checkbox
Useful for allowing users to select one or more options in a form.
Props
Prop | Type | Description |
---|---|---|
children | ReactNode | The content to render |
appearance | default | minimal | negative | positive | The theming to apply |
id | String | The id of the checkbox |
name | String | The name of the checkbox |
value | String | The value of the checkbox |
description | String | A text description of the checkbox |
isChecked | Boolean | Whether it is checked or not |
onChange | Function | A function to be called when the value changes |
Examples
todo