Checkbox

A basic Checkbox form input.

Props

Name
Type
Default
Description
onChange*
func
The change event handler.
name*
string
A unique semantic name that is connected to the label.
description
string
Additional description information display beneath the input.
disabled
bool
Sets disabled.
errorMessage
string
An error message text that is displayed once isValid is false.
isValid
bool
Sets the validation state.
label
string, node
The label text.
required
bool
Sets required.
value
bool
The controlled value.

Examples

Description & Error Message

Disabled