AvenUI.Components.Separator (AvenUI v1.0.0)

Copy Markdown View Source

Horizontal or vertical separator line with optional label.

Examples

<.separator />
<.separator label="or continue with" />
<.separator orientation="vertical" class="h-6" />

Summary

Functions

Renders a horizontal or vertical separator with optional label.

Functions

separator(assigns)

Renders a horizontal or vertical separator with optional label.

Attributes

  • orientation (:string) - Defaults to "horizontal". Must be one of "horizontal", or "vertical".
  • label (:string) - Defaults to nil.
  • class (:string) - Defaults to nil.