Title
Gen UI 2.0 standardA heading in a Card or next to another component; a heading alone is markdown. Size "2xl" at most once per surface, "lg" for sections. "sm" is an h4, "md"/"lg" an h3 (default "md"), "xl" and up an h2. Bold unless strong is false.
One of the 69 components in CopilotKit's standardUI. The playground's catalog extends it, so every agent here can use Title. Standard catalog docs
Props
Read from standardUI.manifestComponents in the installed @copilotkit/react-core. In A2UI 1.0 any value may also be a { "@path" } binding into the surface data model or a { "@call" } function call.
| Prop | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | Heading text |
| color | string | No | One of default|prose|primary|emphasis|secondary|tertiary|success|info|warning|caution|danger|discovery or a CSS color |
| fontWeight | "normal" | "medium" | "semibold" | "bold" | No | - |
| textAlign | "start" | "center" | "end" | No | - |
| italic | boolean | No | - |
| truncate | boolean | No | - |
| maxLines | number | No | - |
| tabularNums | boolean | No | - |
| width | number | string | No | - |
| size | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | ... | No | Default "md" |
| strong | boolean | No | Default true |