Skip to main content

Divider

Create clear visual separation between elements in your user interface.

Anchor to color
color
"base" | "strong"
Default: 'base'

Modify the color to be more or less intense.

Anchor to direction
direction
"inline" | "block"
Default: 'inline'

Specify the direction of the divider. This uses logical properties.

Examples
<s-divider />

Preview

  • Separating elements inside sections.
  • Visually grouping related content in forms and lists.
Was this page helpful?