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

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. Arbitrary HTML or phx attributes.

slots

Slots

  • inner_block (required)