Borders and Dividers
Lines that separate, which should be the second choice after space rather than the first.
Definition
Borders enclose an element; dividers separate adjacent content. Both add visual weight, so the first question is always whether spacing alone would do the job.
Craft convention. True because the industry converged on it. Breaking it costs familiarity, not correctness.
On this plate
Reach for this when
- Designing lists, tables and forms.
- Reviewing a layout that feels heavy.
Common mistakes
- Rules on every row of a long list.
- Borderless inputs.
- Dividers used where spacing would be quieter.
- Using a decorative border weight on form controls, where the boundary has a contrast requirement to meet.
Space first, then line
Most dividers in shipped interfaces are compensating for insufficient spacing. Increasing the gap groups and separates at once, and adds no marks. A line only separates.
Lines earn their place when space is unavailable, as in a dense table, or when the boundary itself carries information, as in a table header rule.
Rules for using them well
- Never put a border on both the top and the bottom of every row in a long list. Choose one edge and use it consistently.
- Borders that convey meaning, such as an input outline, need 3:1 contrast against their surroundings under WCAG 1.4.11.
- Purely decorative dividers can be much lower contrast, and usually should be.
- Keep the border colour in the neutral ramp so it belongs to the palette.
- One border weight per product, except where a heavier rule marks a genuine structural break.
When a line is the right answer
| Situation | Line or space | Why |
|---|---|---|
| Separating list items | Space first | Lines add visual noise proportional to row count |
| Marking an input boundary | Line | The control boundary is functional and needs 3:1 contrast |
| Grouping form sections | Space, or a heading | A border makes the group look like a container |
| Table row separation | A faint line | Rows must be tracked horizontally across many columns |
| Distinguishing a surface | Background change | A tint separates without adding a shape |
| Focus indication | Line, plus offset | It must be visible against both the control and the background |
In practice
- i.
Dividers replaced by spacing
Settings pagesA settings page with a rule under every row reads as a grid of cells. Removing most rules and increasing group spacing turns it into a set of labelled groups, which is what it actually is.
- ii.
The input that lost its edge
Functional boundariesBorderless inputs on a tinted background looked clean and left several readers unable to tell where a field began. A control boundary is information, and it has a contrast requirement that decoration does not.
Local chart
FND·047 · Region II · Grid C1
This entry and the entries it is stated to connect with. Each line is labelled with what the connection means.
Continue from here
Each link says what the connection is, so you can tell a principle from an alternative from a thing people mix this up with.
Applies when you are designing
Applied through
Where this shows up as a concrete interface decision.
- Data TableCMP·025 · Component
- Text InputCMP·003 · Component
Related concept
Connected closely enough to change how you apply this.
- Common RegionFND·006 · UI foundation
- ContrastFND·002 · UI foundation
- NeutralsFND·025 · UI foundation
- ProximityFND·004 · UI foundation
- ShapeFND·046 · UI foundation
- Spacing SystemsFND·042 · UI foundation
- WhitespaceFND·015 · UI foundation