Resource Header

A compound component for displaying resource details with an icon or avatar, title, ID, and actions.

The root container for the resource header. Provides a loading context to all children.

PropTypeDefault
loadingbooleanfalse

Groups the icon/avatar and text content.

Displays an icon using IconPanel. Renders a skeleton when loading.

PropTypeDefault
variant"classic" | "solid""classic"

Displays a user avatar with a text fallback. Renders a skeleton when loading.

PropTypeDefault
srcstring
fallbackstring

Renders a heading for the resource name.

Renders a copyable ID chip. Renders a skeleton when loading.

PropTypeDefault
labelstring"ID"

Container for additional metadata next to the ID. Hidden when loading.

Container for action buttons. Hidden when loading.

Use ResourceHeader.Avatar for user resources.

When no src is provided, the avatar displays the fallback text.

Use ResourceHeader.Accessories to display additional metadata alongside the ID.

Set loading on the root to show skeletons for all children.