Skip to content

HtmlView

Gen UI 2.0 standard

Raw HTML in a fully sandboxed iframe: no scripts, no same-origin access. Set title to name the content.

One of the 69 components in CopilotKit's standardUI. The playground's catalog extends it, so every agent here can use HtmlView. 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
htmlstringYes-
titlestringNo-
heightnumber | stringNoPixels when a number. Default 360
widthnumber | stringNoDefault "100%"