Tabs
Gen UI 2.0 standardTabs that show one panel at a time. Each tab has a title and the id of its panel component: "tabs":[{"title":"Specs","child":"specs"}].
One of the 69 components in CopilotKit's standardUI. The playground's catalog extends it, so every agent here can use Tabs. 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 |
|---|---|---|---|
| tabs | { title, child }[] | Yes | One entry per tab |
| selectedIndex | number | No | The open tab. Default 0. Bind it with { "@path": "/x" } to read it |
| weight | number | No | flex-grow in a Row or Column |