Checkbox Group

Requires JS

A list of checkboxes grouped together

What kind of site are you building?

Note: Unlike radios, checkboxes can have none, one or many selected at a time. Typically this means the checkboxes can manage their own state.

This is a set of example components that could be useful when building out a variety of forms. As these are highly dependent on the context they’ll be used in, it’s very unlikely you’ll need all of them so I’ve instead separated these out into examples.

To use these components, copy the code from the code preview and paste it into your project.

Initialization

In order to use these components you’ll need one of the following imports

import { Checkbox } from "#/ui/components/Checkbox"
import { CheckboxCard } from "#/ui/components/CheckboxCard"

Simple list

How do you prefer to receive notifications?

Notification method

List with description

How do you prefer to receive notifications?

Notification method

A marketing or docs site for presenting information

A marketing or docs site for presenting information

A marketing or docs site for presenting information

Color picker

Color picker

Small cards

Color picker

Cards

Site selector