Label
Label renders a <p class="label"> — DaisyUI's muted caption text — for
describing a control or adding a hint below it. It is the building block
FormField uses for its label and hint; reach for it directly when you
compose a field by hand inside a Fieldset.
Import
import { Label } from '@sigx/daisyui';
Basic Usage
Loading preview...
Above and Below
A Label works as a caption before the control as well as a hint after it.
Loading preview...
Custom Classes
Loading preview...
Props
| Prop | Type | Default | Description |
|---|---|---|---|
class | string | - | Additional CSS classes |
Slots
| Slot | Description |
|---|---|
default | Label text |
