Divider
A divider is a visual element used to create a separation or divide between sections, content or components within a user interface.
Overview
The purpose of dividers is to create a clear visual distinction between elements or sections, improving the overall layout and user experience. It helps users understand the structure and hierarchy of the content, making it easier to navigate and understand the interface.
Dividers are commonly used to visually separate different sections, such as between paragraphs of text, in lists, or between distinct components or modules. They provide visual clarity, improve readability, and contribute to a more organised and aesthetically pleasing user interface.
Dos and Don’ts
Anatomy
- Divider: 1px line.
- Label: Text that describes the content split by the divider.
Variations
Orientation
Horizontal
Vertical
Modifiers
Type
Label
Label is only available for the horizontal variant.
Content
- Ensure the label is clear and concise, giving users immediate understanding of the separated content.
- Use sentence case.
Examples
LTR examples
Here are some examples of the component in a left-to-right context:
RTL examples
Resources
Stable | |
Figma Documentation | Planned |
Beta | |
Vue [Fozzie] | N/A |
Stable | |
iOS JustUI [UI Kit] | Stable |
iOS PIE [SwiftUI] | Planned |
Android PIE [Compose & Views] | Stable |