DaisyUIComponents.Label (DaisyUIComponents v0.9.3)
View SourceLabel component
Summary
Functions
Renders a Label
Functions
Renders a Label
Examples
<.label type="input" text="My Label">
<.input type="text" placeholder="URL" />
</.label>Attributes
class(:string) - Defaults tonil.for(:string) - Defaults tonil.type(:string) - Defaults to"label". Must be one of"input","select","floating", or"label".position(:string) - Must be one of"start", or"end".text(:string) - Defaults tonil.- Global attributes are accepted.
Slots
inner_block