Separator

A Separator is a line that creates visual and semantic separation between UI elements or sections.

What the Avonni Separator does

The Separator component visually separates the content into distinct sections. It commonly groups related items or provides a page's visual hierarchy. The separator component is a horizontal line spanning the container's width. It is a simple but effective way to organize and structure content.


Changing the Properties

Adding a label

The label field represents the text you want to display in the separator.

Playing with alignment

The separator content can be positioned with values that include start, center and end.

Adding an icon

An icon can be added next to the separator label. The position can be set by changing the Icon Position property.


Adding Interactions

No interactions are available.


Styling the Separator

From the Styles panel, you can customize styling attributes for the Separator:

  • Label: to customize the styling settings of the label.

  • Icon: to customize the styling settings of the icon.

  • Border: to customize the styling settings of the border line.

You can find the instructions for styling here.

Examples


Specifications

Attributes

Events

No events are available.

Styling Hooks

Label

Icon

Border

Last updated