Dividers are used to display a thin horizontal or vertical line.
Divider composes CBox so you can use all the style props and add responsive
styles as well. It renders an <hr> tag by default.
import { CDivider } from "@chakra-ui/vue";
It renders an horizontal divider by default.
<c-divider />
To change the orientation of the divider, pass the orientation prop and set it
to either vertical or horizontal
<c-flex>
  <span>Part 1</span>
  <c-divider orientation="vertical" />
  <span>Part 2</span>
</c-flex>
To change the border color of the divider, as you can guess, pass the
borderColor prop.
<c-box>
  <span>Part 1</span>
  <c-divider border-color="red.200" />
  <span>Part 2</span>
</c-box>
The CDivider composes the Box component, so you can pass all CBox props.
| Name | Type | Default | Description | 
|---|---|---|---|
| orientation | horizontal,vertical | horizontal | The orientation | 
Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!