Ship faster with goilerplate templUI Pro

Separator

Visual divider that separates content with an optional label.

Source Tailwind CSS

Top

Bottom

Installation

templui add separator

Examples

Vertical

Left
Right

With Label

Decorated

API Reference

Required parameter
Hover for description

Separator

Visual divider component for separating content sections with optional labeling.

Name Type Default
ID

Unique identifier for the separator element.

string
-
Class

Additional CSS classes to apply to the separator.

string
-
Attributes

Additional HTML attributes to apply to the separator element.

templ.Attributes
-
Orientation

Orientation of the separator. Options: 'horizontal', 'vertical'.

Orientation
horizontal
Decoration

Decoration style for the separator. Options: 'none', 'dashed', 'dotted'.

Decoration
none
Axel Adrian