<Stack direction="row" gap="sm" align="center">
<Checkbox id="terms" defaultChecked />
<Label htmlFor="terms">Email me when it ships</Label>
</Stack>import { Checkbox, Label, Stack } from "@dash/server";Prop | Type | Description |
|---|---|---|
| id | string | |
| name | string | |
| required | boolean | |
| checked | boolean | |
| defaultChecked | boolean | |
| disabled | boolean | |
| onChange | (e: React.ChangeEvent<HTMLInputElement>) => void |