Skip to content
Cynco UI

AI

WebPreview

A mini browser: navigation buttons, URL bar, an iframe body and a collapsible console.

import { WebPreview } from "@cynco-labs/ui/ai";

Example

Use

Previewing a page the agent built.

Props

defaultUrl, onUrlChange; WebPreviewNavigation › WebPreviewNavigationButton tooltip, WebPreviewUrl; WebPreviewBody (iframe); WebPreviewConsole logs.

Notes

The demo leaves out the iframe body.

Source Demo source Markdown