← Master Index
Components & Patterns

Modals & Overlays

When something must interrupt the flow — a confirmation, a focused form, a search result set — it gets a modal. The brand keeps them square, bordered, and calm: no rounded corners, no glow, no bounce.

Doc 17 / 32Group Components & Patterns

01Live example

Click to open. Dismiss with the ×, the Cancel button, the backdrop, or the Esc key.

02Anatomy

Backdrop

A single charcoal scrim at rgba(45,45,45,0.55). No blur — the brand does not use frosted glass. The backdrop is itself a dismiss target.

Container

Bone-white panel, 1 px charcoal border, --shadow-lg. Square corners. Width clamps: min(440px, 90vw) for dialogs, wider for content browsers.

Header

Title in Lexend Deca + a × close affordance, separated from the body by a 1 px rule. The × turns signal-red on hover.

Footer

Actions right-aligned. Primary action is the red bracketed CTA; secondary is the bone "ghost" button. Never more than two.

03Behavior rules

Field note. A modal is a small apology for interrupting. Keep the copy short, the choices few, and the way out obvious.

04Sizing

UseWidthNotes
Confirmation360–440 pxOne question, two buttons.
Focused form480–560 pxSingle column, labels above fields.
Content browser600–720 pxSearch results, pickers — body scrolls, header/footer pinned.