Expand description
Surface — port of @heroui/surface.
A container that applies surface-level styling. Mirrors the React API:
variant of transparent | default | secondary | tertiary. Upstream
.surface is only relative text-foreground plus each variant’s
fill/foreground classes; the docs examples add their flex flex-col gap-3 rounded-3xl p-6 skeleton through className, so it is not a Surface
default. This port keeps a minimal column skeleton with zero default
padding and gap so the repository padding/gap builders work; they are
conveniences, not upstream props. Upstream also publishes its variant
through SurfaceContext; GPUI has no ancestor context propagation, so
nothing here reads the surrounding surface.
Structs§
- Surface
- HeroUI Surface.
Enums§
- Surface
Variant - Prominence level of a surface (
variantprop).