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
orvertical
). Defaults tohorizontal
.:class
- Additional CSS classes
Attributes
orientation
(:string
) - Defaults to"horizontal"
.class
(:string
) - Defaults tonil
.- Global attributes are accepted. Supports all globals plus:
["disabled", "form", "name", "value"]
.