s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Forms and controls

Checkbox

No summary has been written for Checkbox. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.

Public export

typescript
import { Checkbox } from '@happyvertical/smrt-ui/forms';
Import path
@happyvertical/smrt-ui/forms
Props
5
Props described
5 of 5
Bindable state
0
Callback events
0
Verified release
0.44.0

Props

Also accepts Omit<HTMLInputAttributes, 'type' | 'class' | 'checked'>. The table lists the component-specific contract.

NameTypeRequiredDescription
checkedbooleanNoWhether the checkbox is checked (bindable).
indeterminatebooleanNoWhether the checkbox shows indeterminate state.
labelstringNoText label displayed next to the checkbox.
classstringNoCSS class to apply to the checkbox container.
interactionControlInteractionOptions | falseNoInteraction options or false to disable all.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation