Skip to main content

Module surface

Module surface 

Source
Expand description

Surface — semantic background container (M-UI.1 / AUT-121).

Wraps content in a single <div> whose class encodes the surface kind (Base / Elevated / Popover / Selected / Glass). Every recorder / library / editor / cursor surface stacks on these kinds — popovers, panels, selected list rows, glassy overlays — so the visual layering stays consistent across product surfaces.

Structs§

SurfaceProps
Props for the Surface component.

Enums§

SurfaceKind
Semantic surface kind. Drives the background, border, and shadow tokens applied. Picked once per surface; doesn’t change at runtime.

Functions§

Surface
Required Props