Label
Prop | Type | Default |
---|---|---|
size | 'sm' | 'md' | 'lg' | - |
color | 'base' | 'brand' | - |
contrast | boolean | - |
html | string | - |
text | string | - |
as | HTMLTag | label |
HTML Attributes | Polymorphic<label> | - |
Examples
---
import Label from 'fulldev-ui/components/Label.astro'
---
<Label>Label</Label>
<Label contrast>Label</Label>
---
import Label from 'fulldev-ui/components/Label.astro'
---
<Label color="base">Label</Label>
<Label color="brand">Label</Label>