View Source AshAuthentication.Phoenix.Components.HorizontalRule (ash_authentication_phoenix v2.1.10)

A horizontal rule with text.

This component is pretty tailwind-specific, but I (@jimsynz) really wanted a certain look. If you think I'm wrong then please let me know.

Overrides

This component provides the following overrides:

  • :text - Text to display in front of the horizontal rule.
  • :root_class - CSS class for the root div element.
  • :hr_outer_class - CSS class for the outer div element of the horizontal rule.
  • :hr_inner_class - CSS class for the inner div element of the horizontal rule.
  • :text_outer_class - CSS class for the outer div element of the text area.
  • :text_inner_class - CSS class for the inner div element of the text area.

See AshAuthentication.Phoenix.Overrides for more information.

Props

* `overrides` - A list of override modules.

Summary

Types

props()

@type props() :: %{optional(:overrides) => [module()]}