View Source Phoenix.UI.Components.HelperText (Phoenix UI v0.1.4)
Provides helper text component.
Link to this section Summary
Functions
Renders helper text component.
Link to this section Functions
@spec helper_text(Phoenix.LiveView.Socket.assigns()) :: Phoenix.LiveView.Rendered.t()
Renders helper text component.
examples
Examples
<.helper_text>
We'll never share your email with anyone else.
</.helper_text>
attributes
Attributes
class
(:string
) - Override the classes applied to the component.element
(:string
) - The HTML element to use, such asdiv
. Defaults to"div"
.extend_class
(:string
) - Extend existing classes applied to the component.rest
(:global
) - Arbitrary HTML or phx attributes.
slots
Slots
inner_block
(required)