Border Divider Patterns

Border usage, divider patterns, and visual separation techniques in UI design.

dragoon0x 5183714 1.2 KB Updated

File contents

Border Divider Patterns

Separation Methods

Method When Example
White space Default, sufficient for most cases Section gaps
Background change Large sections, obvious grouping Alternating row colors
Border/line Tight spaces, clear delineation needed Table rows, list items
Shadow Overlapping elements, elevation Cards on a surface
Color band Strong visual break, decorative Section dividers

Border Rules

  1. 1px is usually enough. 2px for emphasis only.
  2. Use semantic color tokens. --color-border-default, --color-border-strong.
  3. Don't border everything. White space often works better.
  4. Consistent style. Solid throughout, or dashed for a specific meaning (drag targets, optional areas).
  5. Radius matches the system. Don't mix sharp and rounded borders.

Divider Rules

  • Full-width dividers for major section breaks.
  • Inset dividers (indented from edges) for related list items.
  • Vertical dividers sparingly (toolbar groups, split panels).
  • Never stack dividers and spacing (use one or the other).

dragoon0x/everything-design-taste/tree/main/skills/border-divider-patterns commit 5183714ee5

Frequently asked questions

npx skillmds@latest add dragoon0x/border-divider-patterns