brijr/ui

Lab

Checkbox

npx shadcn@latest add @brijr/checkbox

States

Tab through this row to see the focus ring on each state.

unchecked
checked
indeterminate
readOnly · checked
required

Disabled

unchecked
checked
indeterminate

aria-invalid

unchecked
checked
indeterminate

With label

htmlFor
wrapped in Label
disabled · Label dims

Members must set up an authenticator app before signing in.

with description
aria-invalid · error text

Group with parent

The parent is indeterminate while some toppings are checked. Uncheck or check one to see it change.

Toppings

parent · indeterminate

Toppings

group · disabled

Content

long label · wraps
many items