Citation
Gen UI 2.0 standardAn inline source marker ([1]) showing title, snippet and link on hover or click. Put it right after the sentence it supports, as a child of a Text or in a Row.
One of the 69 components in CopilotKit's standardUI. The playground's catalog extends it, so every agent here can use Citation. 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 |
|---|---|---|---|
| index | number | No | The marker number. Default 1 |
| title | string | No | The source title |
| url | string | No | The source URL (http, https) |
| label | string | No | Marker text instead of the number, for example a domain |
| snippet | string | No | The quoted passage, one or two lines |
| source | string | No | The publisher or domain. Default: the host of url |