Solidtype_heroui.SurfaceHeroUI's Surface: a <div> with HeroUI's classes from Styles.Surface, the background a part of a page stands on. It gives what is inside it its variant, by Context, which HeroUI's Card, Alert, Accordion and overlays give too, so a part can choose the colours that stand out on it.
<Surface variant=`secondary class_="rounded-3xl p-6">
<p>"On a secondary surface"</p>
</Surface>Kobalte has no surface, and a surface has no behaviour.
module Context : sig ... endThe variant of the surface a part is inside, if any, read as it changes.
module Props : sig ... endval make : Props.t -> Solidtype.Jsx.elementval component : Props.t Solidtype.Jsx.component