Layer · Forms
BetaCheck button.
bau-check-button
A button with a built-in checkbox at the start. Click anywhere on
the surface toggles the box; the label gets struck through on
commit. Composed from bau-checkbox — the box is
purely visual, the button owns the click target and form value.
Variants
default · accent · ghost
Without strikethrough
checkbox toggles, label stays clean
Task list
vertical stack · ghost variant for dense lists
API
| Attribute | Type | Default | Description |
|---|---|---|---|
checked |
boolean (reflected) | false | Toggle state. aria-pressed mirrors this on the inner button. |
variant |
'default' | 'accent' | 'ghost' | 'default' | Surface treatment. |
no-strike |
boolean (reflected) | false | Suppresses the strikethrough on checked. Default: strike on. |
name · value |
string · string | '' · 'on' | Form participation. Submits value only when checked. |