View Source SaladUI.Separator (SaladUI v1.0.0-beta.1)

Implementation of a separator component for dividing content.

Examples:

<.separator orientation="horizontal" />
<.separator orientation="vertical" class="h-6" />

Summary

Functions

Renders a separator.

Functions

Renders a separator.

Options

  • :orientation - The orientation of the separator (horizontal or vertical). Defaults to horizontal.
  • :class - Additional CSS classes

Attributes

  • orientation (:string) - Defaults to "horizontal".
  • class (:string) - Defaults to nil.
  • Global attributes are accepted. Supports all globals plus: ["disabled", "form", "name", "value"].