Section Separator

Section separator is a divider line that compartmentalizes content, typically used on cards or white backgrounds. This should only be used on light backgrounds (with our variable $bg_light).

Line Separator


Dashed Separator


Text Separator


Vertical


To guarantee the vertical section separator displays properly, please add the vertical: "stretch"/vertical="stretch" property to the parent container (which is commonly a Flex container). This will stretch the container’s child elements vertically and ensure the section separator appears as expected.

Children


Pass anything (including any of our kits) to the children prop to customize a separator's content.

NOTE: passing children overrides any content passed to text

Color


Pass "primary" to the color prop to change any section separator color.

NOTE: Passing children overrides any content provided via the text prop. The color prop does not affect the text prop's color, and the color of children is determined by the children's individual props. For greater control over text color customization, consider using a separator with children.


Things to Avoid

Do not use section separators to handle list; instead, use List Kit.

UI Samples using Section Separator Kit

Get the full picture. See how this kit is used in our samples.

Available Props