Divider
NewA simple way to separate content and give each section room to breathe.
Basic
Place a divider between related blocks to create a clear visual break.
Your workspace
Bring your ideas, resources and project notes together.
The next step
Choose a direction and share it with your team.
Line styles
Choose a solid, dashed or dotted line with the type input.
Content & alignment
Project text, an icon or a badge. Horizontal labels can align left, center or right.
A short label adds context to the content that follows.
Lines adapt to the label width without covering its background.
Vertical
Use a flex row for side-by-side content. Vertical labels support top, center and bottom alignment.
Explore
Discover the building blocks for your application.
Compose
Combine components into a workspace of your own.
Custom styling
Match a divider to its surroundings using CSS variables.
Usage and API
Import AvDivider from avero-ui and add it to your component imports.
import { AvDivider } from 'avero-ui';
<av-divider />
<av-divider type="dashed" align="left">Details</av-divider>
<av-divider type="dotted">OR</av-divider>
<!-- Place vertical dividers in a flex row with height or content. -->
<div style="display: flex; min-height: 160px">
<p>First column</p>
<av-divider layout="vertical" align="top">OR</av-divider>
<p>Second column</p>
</div>