Checkbox
A styled native <input type="checkbox">. Use it bare, or pass label / description to compose field helpers automatically — same progressive pattern as dark-mode-toggle on button.
Usage
With description
Receive occasional release notes by email.
Control only
Skip label / description when you want the bare control for custom layouts.
Rounded styles
Invalid state
You must accept before continuing.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
label |
string |
— | When set, composes field + field-label |
description |
string |
— | Composes field-description beside the control |
errorMessage |
string |
— | Manual error copy (also enables composed layout) |
showError |
bool |
true when composed |
Render field-error under the control |
name |
string |
— | Input name (also via HTML attribute) |
value |
string |
"1" |
Submitted value when checked |
checked |
bool |
false |
Initial checked state |
errorKey |
string |
— | Override validation key for error wiring |
rounded |
none, sm, md, lg, xl, full |
md |
Indicator corner radius |
All standard HTML attributes (disabled, required, wire:model, etc.) pass through to the control.