separator

Separator

Draws a thin horizontal or vertical line between groups of content, hidden from screen readers unless it carries meaning.

Parts

PartFileDoes
SeparatorSeparator.vueDivides content into distinct sections.

Styling

All of Separator’s styles live in separator.json. New to styling in Frontic UI? How styling works →

Install

npm packages
@vueuse/core
class-variance-authority
reka-ui

API reference

Separator.vue

Divides content into distinct sections.

Props 5

PropTypeDefault
orientationDataOrientation'horizontal'
decorativebooleantrue
asChildbooleanfalse
asAsTag | Component—
classClassValue—

Recipe separator 3 groups

Separator