CardHeader
Containers

CardHeader

Add a heading and supporting controls to a Card with compact PanelHeader spacing.

CardHeader uses compact PanelHeader spacing for a card heading and supporting controls.

Import

TSX
import { CardHeader } from "@solarius/onset";

Props

CardHeaderProps props
PropTypeDefaultDescription
childrenReactNode—Header title content.
subReactNode—Dim sub-label shown after the title.
rightReactNode—Right-aligned slot for actions, links, or meta.

Example

CardHeader