Fulldev UI

Docs Components Blocks Showcase

Label

---
import Label from 'fulldev-ui/components/Label.astro'
---

<Label>Label</Label>

Props

PropTypeDefault
size'sm' | 'md' | 'lg'-
color'base' | 'brand'-
contrastboolean-
htmlstring-
textstring-
asHTMLTaglabel
HTML AttributesPolymorphic<label>-

Examples

---
import Label from 'fulldev-ui/components/Label.astro'
---

<Label color="base">Label</Label>
<Label color="brand">Label</Label>
---
import Label from 'fulldev-ui/components/Label.astro'
---

<Label>Label</Label>
<Label contrast>Label</Label>