export const title = "Card header components"
export const description = "Powerful and customizable React card header components built for modern applications and websites. These card headers are built using React Aria and styled with Tailwind CSS."
## Installation
These card header components do not require any installation, just copy and paste into your project once you've set up Untitled UI. Check out our [installation guide](/docs/installation) to get started.
## Card header examples
Below are examples and variations of this card header component:
### Card header with badge {{ tocOnly:true }}
### Card header with avatar and badge {{ tocOnly:true }}
`. The `\"modern\"` type only supports `\"gray\"`, so to use a color such as `\"brand\"` or `\"success\"`, switch `type` to `\"color\"` or `\"pill-color\"` as well.",
},
{
question: "How do I add an avatar to a card header?",
answer: "Use the `CardHeaderAvatarWithBadge` variant, which places an `` to the left of the heading and supporting text. Point `src` at your own image and set a meaningful `alt` value.",
},
]}
/>