Border and Divider

  • Category: UI skill
  1. Dividersnone1px
  2. Card bordernone1px
  3. Selected rownone2px ring

About

Draw borders, dividers, and rounded corners that clarify every boundary on your websites and apps, built from your Alpy border and radius tokens.

The goal is to give every page clean, quiet edges from the first draft. Border and Divider adds a line where a boundary needs one, so groups, states, and actions read at a glance.

Space first

Grouping, space, and surface changes come first, and a line joins when a boundary needs it.

Line types

Each relationship gets the line that fits it.

  • Perimeter
  • Divider
  • Single edge

Stroke width

One canonical width per role, from a quiet hairline to a strong status rail.

Corner radius

A small radius set matched to each surface, from square tables to round pills, with nested corners that stay concentric.

Shared seams

Shared edges are drawn once, and connected groups round only their outer corners.

Tables and lists

Quiet horizontal rules guide scanning, with vertical rules where columns need them.

States

Focused, selected, and error states use their canonical border roles with clear contrast, and the layout stays steady.

Components

Your Alpy components keep their own borders, focus rings, and radius, exactly as designed.

Responsive

Boundaries are rechecked after reflow, in light, dark, and high-contrast modes and at every zoom level.

FAQs

Connect Alpy MCP to your AI agent and ask it to use the Border and Divider skill as it builds or reviews your page. Your agent reads the full skill through Alpy MCP.

More UI skills

Browse all UI skills
  • Color Discipline

    Gives every color a clear job in light and dark modes.

  • Design Restraint

    Keeps every element on a page purposeful.

  • Elevation

    Shows which layer is on top.

  • Gestalt

    Groups content so relationships are clear at a glance.