Skip to content
DGA UI

Shadows

DGA elevation shadows and backdrop blurs.

Elevation
shadows-direction
shadows-theme
shadows-viewport
Mobile · 375px
Utility:shadow-xsValue:0px 1px 2px 0px rgb(16 24 40 / 0.05)
Utility:shadow-smValue:0px 1px 2px 0px rgb(16 24 40 / 0.05), 0px 1px 3px 0px rgb(16 24 40 / 0.05)
Utility:shadow-mdValue:0px 2px 4px -2px rgb(16 24 40 / 0.06), 0px 4px 8px -2px rgb(16 24 40 / 0.1)
Utility:shadow-lgValue:0px 4px 6px -2px rgb(16 24 40 / 0.03), 0px 12px 16px -4px rgb(16 24 40 / 0.08)
Utility:shadow-xlValue:0px 8px 8px -4px rgb(16 24 40 / 0.03), 0px 20px 24px -4px rgb(16 24 40 / 0.08)
Utility:shadow-2xlValue:0px 24px 48px -12px rgb(16 24 40 / 0.18)
Utility:shadow-3xlValue:0px 32px 64px -12px rgb(16 24 40 / 0.14)
Utility:backdrop-blur-smValue:blur(8px)
Utility:backdrop-blur-mdValue:blur(16px)
Utility:backdrop-blur-lgValue:blur(24px)
Utility:backdrop-blur-xlValue:blur(40px)

Values come from the Figma effect styles. On the site CSS, shadow-sm uses 6% and 10% opacity; Figma uses 5% for both layers, and DGA UI follows Figma.

Backdrop blurs use backdrop-blur-sm (8px), md (16px), lg (24px) and xl (40px).

Edit this page on GitHub (opens in a new tab)