Skip to content
LoidoltTheme 0.11.1
Svelte 5

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.

Label props
PropTypeDefaultNotes
children required Snippet—
class string—
for string—
ref bindableHTMLLabelElement | nullnull

Plus the attributes of HTMLLabelAttributes, forwarded to the root element.