Separator
A 1 px neutral/divider line between groups of content. Built on ui-sdk's Separator: announced as a separator unless decorative.
BetaReady to use. Its API can still change in a minor release; the changelog says when.
import { Separator } from "@leap-crm/design-system";Horizontal
Jane Citizen
jane@citizen.com.au
Prefers email. Settlement booked for 14 December.
Vertical
ContactsOpportunitiesInsights
Between rows
Lines between rows of details are decorative, so a screen reader doesn't announce a separator after every row.
Matter typeConveyancing
ResponsibleAda Hartley
Value$48,000
Best practices
When to use it, and the rules that apply in particular places.
| Guidance | Practice |
|---|---|
| Do | Try space first. Add a separator only where spacing alone doesn't show that two groups are separate, like a contact's name and their notes. |
| Do | Set decorative when nearby text already says the parts are separate, so a screen reader skips the line. |
| Do | Use orientation="vertical" between groups in a row, like toolbar buttons. It takes the row's height. |
| Don't | Put a separator between every row of a list. Use List with dividers, or Table, which draws its own rules. |
| Don't | Thicken or colour a separator to make a section stand out. Use SectionHeader, so weight and size carry the hierarchy. |
Props
Also takes every prop of ui-sdk's Separator: orientation (horizontal or vertical) and decorative.
No props of its own.



