Skip to content
Browse library
Docs/Design System/Elevation & shadows
DESIGN SYSTEM · ELEVATION & SHADOWS

Elevation & shadows

Hairline 0.5px rings combined with directional drop shadows define depth cleanly across both Light and Dark modes.

01 — ELEVATION TIERS

Shadow tokens

Primary keycap bevel--biu-shadow-primary-rimTop specular rim + bottom bevel + drop shadow on primary buttons
Control keycap--biu-shadow-controlInputs, selects, secondary buttons with tactile top/bottom rim
Card--biu-shadow-cardCards, grouped containers, calendar frames
Card lift (hover)--biu-shadow-card-hoverInteractive cards lifting -3px with expanded elevation
Popup--biu-shadow-popupDropdowns, popovers, tooltips, toasts
Dialog--biu-shadow-dialogModal dialogs over 5px frosted glass backdrop
Monochrome focus halo--biu-shadow-focus-ringSoft 4px neutral outer focus ring for inputs and selects
02 — GUIDELINES

Border vs shadow

Use hairline shadows for surfaces--biu-shadow-control / -cardCards, buttons, and inputs use 0.5px ring shadows so edges stay crisp on retina displays without feeling heavy.
Use 1px borders for structural grids--biu-color-borderSection dividers, table hairlines, and calendar time grids use 1px translucent borders for clean alignment.