Checkbox
Props
Prop | Type | Default |
---|---|---|
label | string | - |
color | 'base' | 'brand' | - |
contrast | boolean | - |
icon | string | - |
as | HTMLTag | input |
HTML Attributes | Polymorphic<input> | - |
Examples
---
import Checkbox from 'fulldev-ui/components/Checkbox.astro'
---
<Checkbox label="My Checkbox" color="base" />
---
import Checkbox from 'fulldev-ui/components/Checkbox.astro'
---
<Checkbox label="Base" color="base" />
<Checkbox label="Brand" color="brand" />
---
import Checkbox from 'fulldev-ui/components/Checkbox.astro'
---
<Checkbox label="Small" size="sm" />
<Checkbox label="Medium" size="md" />
<Checkbox label="Large" size="lg" />