View Source Phoenix.UI.Components.Label (Phoenix UI v0.1.8)

Provides label component.

Link to this section Summary

Functions

Renders label component.

Link to this section Functions

Renders label component.

examples

Examples

<.label for={@id}>
  Name
</.label>

attributes

Attributes

  • for (:string) - Defaults to nil. Global attributes are accepted.

slots

Slots

  • inner_block (required)