---
title: Divider
description: Create clear visual separation between elements in your user interface.
api_name: app-home
source_url:
html: >-
https://shopify.dev/docs/api/app-home/polaris-web-components/structure/divider
md: >-
https://shopify.dev/docs/api/app-home/polaris-web-components/structure/divider.md
---
# Divider
Create clear visual separation between elements in your user interface.
## Properties
* color
"base" | "strong"
Default: 'base'
Modify the color to be more or less intense.
* direction
"inline" | "block"
Default: 'inline'
Specify the direction of the divider. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
### Examples
* #### Code
##### jsx
```jsx
```
##### html
```html
```
## Useful for
* Separating elements inside sections.
* Visually grouping related content in forms and lists.
## Examples
Component examples
### Basic usage
Basic usage
Demonstrates the default divider with standard base color and inline direction.
Custom color
Shows a divider with a strong color variant for increased visual emphasis.
Custom direction
Illustrates using a block-direction divider within an inline stack to create vertical separation between items.
Separating form sections
Uses a divider to visually group and separate different sections of a form, improving readability and user comprehension.
Organizing settings panels
Demonstrates using a divider to logically separate basic and advanced settings in a configuration panel.
Visual breaks in section layouts
Shows how dividers can be used to create clean, segmented sections within a section, improving information hierarchy.
Separating content sections
Illustrates using dividers to create clear, visually distinct sections for different metrics or content blocks.
### Examples
* #### Basic usage
##### Description
Demonstrates the default divider with standard base color and inline direction.
##### jsx
```jsx
```
##### html
```html
```
* #### Custom color
##### Description
Shows a divider with a strong color variant for increased visual emphasis.
##### jsx
```jsx
```
##### html
```html
```
* #### Custom direction
##### Description
Illustrates using a block-direction divider within an inline stack to create vertical separation between items.
##### jsx
```jsx
Item 1
Item 2
```
##### html
```html
Item 1
Item 2
```
* #### Separating form sections
##### Description
Uses a divider to visually group and separate different sections of a form, improving readability and user comprehension.
##### jsx
```jsx
```
##### html
```html
```
* #### Organizing settings panels
##### Description
Demonstrates using a divider to logically separate basic and advanced settings in a configuration panel.
##### jsx
```jsx
```
##### html
```html
```
* #### Visual breaks in section layouts
##### Description
Shows how dividers can be used to create clean, segmented sections within a section, improving information hierarchy.
##### jsx
```jsx
Order summary
3 items
Shipping address
123 Main Street, Toronto ON
Payment method
•••• 4242
```
##### html
```html
Order summary
3 items
Shipping address
123 Main Street, Toronto ON
Payment method
•••• 4242
```
* #### Separating content sections
##### Description
Illustrates using dividers to create clear, visually distinct sections for different metrics or content blocks.
##### jsx
```jsx
150 orders
$2,400 revenue
89 customers
```
##### html
```html
150 orders
$2,400 revenue
89 customers
```