Skip to main content

Divider

The Divider component visually separates groups of content.

DividerProps

extends,
NameTypeDefaultDescription
orientation?
|
'horizontal'Orientation of the Divider component.
as?
|
'div'Control the HTML tag used for rendering the Divider.
flexItem?
trueIndicate whether the Divider is used inside a Flex component to apply the right styling. If set to false, make sure to have an explicit width/height style set on a parent HTML tag.
color?
| | | |
'neutral'The color of the Divider.
variant?
|
'default'The visual style of the Divider.
Still have questions?
Find answers in the Dynatrace Community