Skip to main content

Divider

Create clear visual separation between elements in your user interface.

"base" | "strong"
Default: 'base'

Modify the color to be more or less intense.

"inline" | "block"
Default: 'inline'

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

Was this section helpful?

Code

<s-divider />

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

Component examples

Demonstrates the default divider with standard base color and inline direction.

Shows a divider with a strong color variant for increased visual emphasis.

Illustrates using a block-direction divider within an inline stack to create vertical separation between items.

Uses a divider to visually group and separate different sections of a form, improving readability and user comprehension.

Demonstrates using a divider to logically separate basic and advanced settings in a configuration panel.

Shows how dividers can be used to create clean, segmented sections within a section, improving information hierarchy.

Illustrates using dividers to create clear, visually distinct sections for different metrics or content blocks.

Was this section helpful?

Basic usage

<s-divider />