Dividers are used to visually separate content in a list or group.
The Divider
displays a thin horizontal or vertical line, and renders a hr
tag.
Pass the orientation
prop and set it to either horizontal
or vertical
.
If the vertical orientation is used, make sure that the parent element is assigned a height.
Chakra UI
Name | Type | Description | Default |
---|---|---|---|
colorScheme | string | - | |
css | Interpolation<{}> | The emotion's css style object | - |
orientation | "horizontal" | "vertical" | - | |
size | string | - | |
styleConfig | Record<string, any> | - | |
variant | string | - |