Component
Label
A standalone label for a control that `Field` does not wrap.
import { Label } from '@loidolt/theme-svelte';
Example
Props
Generated from the component source, so it cannot drift from the implementation.
| Prop | Type | Default | Notes |
|---|---|---|---|
children required | Snippet | — | |
class | string | — | |
for | string | — | |
ref bindable | HTMLLabelElement | null | null |
Plus the attributes of HTMLLabelAttributes, forwarded to the root element.