Divider Dividers bring clarity to a layout by grouping and dividing content in close proximity.
They can also be used to establish rhythm and hierarchy.
View guidelines
< Flex flexDirection = "column" gap = "size-125" >
< Text > Content above< / Text >
< Divider / >
< Text > Content below< / Text >
< / Flex >
< Flex flexDirection = "column" gap = "size-125" >
< Text > Content above< / Text >
< Divider / >
< Text > Content below< / Text >
< / Flex >
< Flex
flexDirection = "column"
gap = "size-125" >
< Text >
Content above
< / Text >
< Divider / >
< Text >
Content below
< / Text >
< / Flex >
< Flex gap = "size-125" >
< Text > Content left< / Text >
< Divider orientation = "vertical" / >
< Text > Content right< / Text >
< / Flex >
< Flex gap = "size-125" >
< Text > Content left< / Text >
< Divider orientation = "vertical" / >
< Text > Content right< / Text >
< / Flex >
< Flex gap = "size-125" >
< Text >
Content left
< / Text >
< Divider orientation = "vertical" / >
< Text >
Content right
< / Text >
< / Flex >
View guidelines
< Flex flexDirection = "column" gap = "size-125" >
< Text > Content above large Divider< / Text >
< Divider size = "L" / >
< Text > Content above medium Divider< / Text >
< Divider size = "M" / >
< Text > Content above small Divider< / Text >
< Divider size = "S" / >
< / Flex >
< Flex flexDirection = "column" gap = "size-125" >
< Text > Content above large Divider< / Text >
< Divider size = "L" / >
< Text > Content above medium Divider< / Text >
< Divider size = "M" / >
< Text > Content above small Divider< / Text >
< Divider size = "S" / >
< / Flex >
< Flex
flexDirection = "column"
gap = "size-125" >
< Text >
Content above large
Divider
< / Text >
< Divider size = "L" / >
< Text >
Content above
medium Divider
< / Text >
< Divider size = "M" / >
< Text >
Content above small
Divider
< / Text >
< Divider size = "S" / >
< / Flex >
Name Type Default Description size
'S' | 'M' | 'L'
'L'
How thick the Divider should be. orientation
Orientation
'horizontal'
The axis the Divider should align with. UNSAFE_className
string
— UNSAFE_style
CSSProperties
—
LayoutName Type Default Description flex
string | number | boolean
— flexGrow
number
— flexShrink
number
— flexBasis
number | string
— alignSelf
'auto'
| 'normal'
| 'start'
| 'end'
| 'flex-start'
| 'flex-end'
| 'self-start'
| 'self-end'
| 'center'
| 'stretch'
— justifySelf
'auto'
| 'normal'
| 'start'
| 'end'
| 'flex-start'
| 'flex-end'
| 'self-start'
| 'self-end'
| 'center'
| 'left'
| 'right'
| 'stretch'
— flexOrder
number
— gridArea
string
— gridColumn
string
— gridRow
string
— gridColumnStart
string
— gridColumnEnd
string
— gridRowStart
string
— gridRowEnd
string
— slot
string
"divider"
A slot to place the divider in.
Spacing Sizing Positioning AccessibilityName Type Default Description id
string
— aria-label
string
— Defines a string value that labels the current element. aria-labelledby
string
— Identifies the element (or elements) that labels the current element. aria-describedby
string
— Identifies the element (or elements) that describes the object. aria-details
string
— Identifies the element (or elements) that provide a detailed, extended description for the object.
'horizontal' | 'vertical'
'size-0'
| 'size-10'
| 'size-25'
| 'size-40'
| 'size-50'
| 'size-65'
| 'size-75'
| 'size-85'
| 'size-100'
| 'size-115'
| 'size-125'
| 'size-130'
| 'size-150'
| 'size-160'
| 'size-175'
| 'size-200'
| 'size-225'
| 'size-250'
| 'size-300'
| 'size-350'
| 'size-400'
| 'size-450'
| 'size-500'
| 'size-550'
| 'size-600'
| 'size-675'
| 'size-700'
| 'size-800'
| 'size-900'
| 'size-1000'
| 'size-1200'
| 'size-1250'
| 'size-1600'
| 'size-1700'
| 'size-2000'
| 'size-2400'
| 'size-3000'
| 'size-3400'
| 'size-3600'
| 'size-4600'
| 'size-5000'
| 'size-6000'
| 'static-size-0'
| 'static-size-10'
| 'static-size-25'
| 'static-size-50'
| 'static-size-40'
| 'static-size-65'
| 'static-size-100'
| 'static-size-115'
| 'static-size-125'
| 'static-size-150'
| 'static-size-175'
| 'static-size-200'
| 'static-size-225'
| 'static-size-250'
| 'static-size-300'
| 'static-size-400'
| 'static-size-450'
| 'static-size-500'
| 'static-size-550'
| 'static-size-600'
| 'static-size-700'
| 'static-size-800'
| 'static-size-900'
| 'static-size-1000'
| 'static-size-1200'
| 'static-size-1700'
| 'static-size-2400'
| 'static-size-2600'
| 'static-size-3400'
| 'static-size-3600'
| 'static-size-4600'
| 'static-size-5000'
| 'static-size-6000'
| 'single-line-height'
| 'single-line-width'
| string
| number