BackchannelUI
  1. Docs
  2. components
  3. Checkbox

Checkbox

A Checkbox allows users to select multiple items from a list of individual items, or to mark one individual item as selected.

Checkboxes can be built with the <input> HTML element, but this can be difficult to style. Checkbox helps achieve accessible checkboxes that can be styled as needed.

Installation

npx shadcn@latest add https://backchanel.com/default/checkbox

Examples

Basic

Value

Indeterminate

Validation

Disabled

Read-only