ComponentsCheckbox

Checkbox

Select independent options with a native checkbox and a clickable label.

Example

Project notifications

Choose which updates you want to receive.

Notification types

Setup

Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.

Single checkbox

Use a short label for a single preference.

Example

Required checkbox

Explain a missing required confirmation beside the field.

Example

Confirm the files before continuing.

Row selection

Name each checkbox for the row it selects.

Example
Files to include
SelectFile
Design brief
Review notes

Usage

KeyboardTab to a checkbox and press Space. The visible label also toggles it.
GroupingUse fieldset and legend for related choices. Checked boxes submit their values.