Component reference
ChatHeader
The top of a conversation: its title, status and actions.
Preview
Status and actions
render: () => (
<Stack>
<ChatHeader title="Assistant" />
<ChatHeader
eyebrow="Current project"
title="Review the component's text, icons, dark surfaces, and narrow-screen interactions"
description="Keeps the work context; status and actions wrap naturally on narrow screens."
status={<ChatStatus tone="busy" label="Processing" />}
actions={
<Button variant="outline" size="small">
Stop
</Button>
}
/>
<ChatHeader
title="Waiting for your decision"
status={<ChatStatus tone="waiting" label="Waiting for confirmation" />}
actions={<Button size="small">View request</Button>}
/>
</Stack>
)Installation
bun add meowtail
Usage
Taken from the examples on this page.
import { ChatHeader } from "meowtail";
<ChatHeader title="Assistant" />API reference
Props
| Prop | Type | Default |
|---|---|---|
eyebrow | string | – |
titleRequired | string | – |
description | Child | – |
status | Child | – |
actions | Child | – |
Also takes className, children and the attributes and events of its root element.
DOM parts
rootidentityeyebrowtitledescriptioncontrolsstatusactions
Registry
The component is registered as chat-header in the meowtail component registry.