Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nuxt/ui/llms.txt
Use this file to discover all available pages before exploring further.
Usage
The Checkbox component allows users to select or deselect options. It supports labels, descriptions, and indeterminate state.With Description
Add a description to provide additional context:Indeterminate State
The checkbox supports an indeterminate state for partial selections:Variants
Checkboxes come in different variants:Sizes
Colors
Disabled
Custom Icons
Slots
Customize the label and description using slots:Props
The controlled checked state of the checkbox. Can be bound with
v-model.The default checked state when initially rendered. Use when you do not need to control the state.
The label text for the checkbox.
The description text displayed below the label.
The color theme of the checkbox.
The visual variant of the checkbox.
The size of the checkbox. Options:
sm, md, lg.Position of the checkbox indicator. Options:
start, end.The icon displayed when checked. Defaults to
appConfig.ui.icons.check.The icon displayed when the checkbox is indeterminate. Defaults to
appConfig.ui.icons.minus.When
true, prevents user interaction with the checkbox.When
true, indicates that the checkbox must be checked.The name of the checkbox for form submission.
The value of the checkbox when used in a form.
The id attribute of the checkbox input element.
The element or component this component should render as.
Additional CSS classes to apply to the root element.
UI customization object for styling different parts of the checkbox.
Events
Emitted when the checkbox state changes.
Emitted when the checked state changes.
Slots
Customize the label content.
Customize the description content.