Divider
The divider component creates clear visual separation between elements in the interface. Use divider to separate distinct content groups in forms, settings panels, lists, or page sections, helping users scan and understand content organization.
Dividers support both horizontal and vertical orientations, along with different visual strengths for varying levels of emphasis. For more structured content grouping with headings, use section.
Dividers are purely decorative — they don't carry semantic meaning and aren't announced by assistive technologies.
Supported targets
- customer-account.
footer. render-after - customer-account.
order-index. announcement. render - customer-account.
order-index. block. render - customer-account.
order-status. announcement. render - customer-account.
order-status. block. render - customer-account.
order-status. cart-line-item. render-after - customer-account.
order-status. cart-line-list. render-after - customer-account.
order-status. customer-information. render-after - customer-account.
order-status. fulfillment-details. render-after - customer-account.
order-status. payment-details. render-after - customer-account.
order-status. return-details. render-after - customer-account.
order-status. unfulfilled-items. render-after - customer-account.
order. action. menu-item. render - customer-account.
order. action. render - customer-account.
order. page. render - customer-account.
page. render - customer-account.
profile. addresses. render-after - customer-account.
profile. announcement. render - customer-account.
profile. block. render - customer-account.
profile. company-details. render-after - customer-account.
profile. company-location-addresses. render-after - customer-account.
profile. company-location-payment. render-after - customer-account.
profile. company-location-staff. render-after - customer-account.
profile. payment. render-after
Supported targets
- customer-account.
footer. render-after - customer-account.
order-index. announcement. render - customer-account.
order-index. block. render - customer-account.
order-status. announcement. render - customer-account.
order-status. block. render - customer-account.
order-status. cart-line-item. render-after - customer-account.
order-status. cart-line-list. render-after - customer-account.
order-status. customer-information. render-after - customer-account.
order-status. fulfillment-details. render-after - customer-account.
order-status. payment-details. render-after - customer-account.
order-status. return-details. render-after - customer-account.
order-status. unfulfilled-items. render-after - customer-account.
order. action. menu-item. render - customer-account.
order. action. render - customer-account.
order. page. render - customer-account.
page. render - customer-account.
profile. addresses. render-after - customer-account.
profile. announcement. render - customer-account.
profile. block. render - customer-account.
profile. company-details. render-after - customer-account.
profile. company-location-addresses. render-after - customer-account.
profile. company-location-payment. render-after - customer-account.
profile. company-location-staff. render-after - customer-account.
profile. payment. render-after
Anchor to PropertiesProperties
Configure the following properties on the divider component.
- Anchor to directiondirectiondirection'inline' | 'block''inline' | 'block'Default: 'inline'Default: 'inline'
The orientation of the divider, using logical properties.
inline: A horizontal divider that separates content stacked vertically.block: A vertical divider that separates content arranged horizontally. Requires a parent with a defined height to render visibly.
- Anchor to idididstringstring
A unique identifier for the element. Use this to reference the element in JavaScript, link labels to form controls, or target specific elements for styling or scripting.
Anchor to ExamplesExamples
Anchor to Add a horizontal dividerAdd a horizontal divider
Display a horizontal divider to separate content sections.
Add a horizontal divider

html
Anchor to Separate items in a listSeparate items in a list
Place dividers between repeated content blocks to create a scannable list. This example separates saved addresses so customers can quickly distinguish each entry.
html
Anchor to Create a vertical divider between inline itemsCreate a vertical divider between inline items
Set direction="block" to create a vertical divider between horizontally arranged elements. This example separates an order number, date, and status badge in an inline stack.
html
Anchor to Best practicesBest practices
- Use dividers sparingly: Too many dividers can make a page feel cluttered. Rely on spacing and grouping first, and add dividers only where content boundaries aren't clear from layout alone.
- Match orientation to layout direction: Use horizontal dividers in vertical layouts and vertical dividers in horizontal layouts for natural visual flow.
- Prefer sections for labeled groups: If the content groups have headings, use section instead of raw dividers for better semantics and accessibility.