Skip to content

LinkCard

Gen UI 2.0 standard

A preview of a URL: favicon and domain, title, description, thumbnail. A click opens it in a new tab, or sends onClick when bound. For sources, articles and products with a page.

One of the 69 components in CopilotKit's standardUI. The playground's catalog extends it, so every agent here can use LinkCard. 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.

PropTypeRequiredDescription
hrefstringYesThe URL (http, https)
titlestringYesThe page title
onClickAction (event or functionCall)NoSent when the user clicks the card, instead of the link.
descriptionstringNoOne or two lines
imagestringNoA thumbnail URL
domainstringNoShown next to the favicon. Default: the host of href
faviconbooleanNoDefault true