Card Header

Structured header panel for cards. Supports title, badge, actions, avatar row, and an optional bottom divider.

import{ CardHeader } from "@pepulux/ui"

Default

Team settings

Manage your workspace.


With badge & actions

Members10/20 seats

Avatar variant

OR
Olivia Rhye

olivia@example.com


Props

PropTypeDefaultDescription
title*string—Card header title
supportingTextstring—Sub-text below the title
badgestring—Small badge beside the title
primaryAction{ label, onClick }—Primary action button
secondaryAction{ label, onClick }—Secondary action button
avatar{ src?, name, email? }—Shows avatar + name/email row
dividerbooleanfalseAdds a bottom border
Application component → Card headerswww.pepulux.com

Notes and documentation

Space for notes, documentation, and best practices for using these components.

Title, context and actions in one row

Use a card header to label a card and surface its main actions. The avatar variant is for people-focused cards such as profiles and teams.