Skip to Content
Documentation
Saas UI
Get Pro
Getting started
Components
Overview

Divide

JSX style props to add dividers between elements

Divide X

Use the divideX prop to add a divider between elements horizontally.

<Box divideX="2px">
  <Box>Item 1</Box>
  <Box>Item 2</Box>
</Box>
PropCSS PropertyToken Category
divideXborder-inline-start-width-

Divide Y

Use the divideY prop to add a divider between elements vertically.

<Box divideY="2px">
  <Box>Item 1</Box>
  <Box>Item 2</Box>
</Box>
PropCSS PropertyToken Category
divideYborder-top-width-

Divide Color

Use the divideColor prop to add a divider color.

<Box divideY="2px" divideColor="red.200">
  <Box>Item 1</Box>
  <Box>Item 2</Box>
</Box>
PropCSS PropertyToken Category
divideColorborder-top-color-

Divide Style

Use the divideStyle prop to add a divider style.

<Box divideY="2px" divideStyle="dashed">
  <Box>Item 1</Box>
  <Box>Item 2</Box>
</Box>
PropCSS PropertyToken Category
divideStyleborder-style-