Effect Utilities

Add token-driven elevation and scrims without disconnecting surfaces from the active theme.

Effect utilities cover elevation and overlays. Border radius lives with the border utilities because connected-corner composition depends on logical edges.

Elevation

Use .shadow-sm, .shadow / .shadow-md, .shadow-lg, .shadow-xl, or .shadow-inner. Every value comes from the theme shadow scale.

Choose elevation by relationship

Small shadows separate controls, medium shadows lift cards, and large shadows suit temporary floating surfaces.

Raised control

shadow-sm

Card

shadow-md

Floating panel

shadow-xl

Use an inner shadow for a recessed region

Inset elevation communicates a well or viewport without adding another wrapper API.

Upload queue

Files dropped here appear inside the recessed workspace.

Scrims

.scrim uses the standard dark overlay token; .scrim-light uses the light counterpart. A scrim supplies only color so the owning component remains in control of positioning and stacking.

Layer a scrim over media

The overlay utility contributes the theme color while ordinary positioning defines the composition.

FeaturedReadable text over changing media