@ai-elements/web-previewloading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. IndexBM25 + vectors

Public log. Prompts, raw model errors and costs stay on the admin side.

Log
Demo source
src/demo.tsx · from an earlier run
import { ArrowLeftIcon, ArrowRightIcon, RotateCwIcon } from "lucide-react"import {  WebPreview,  WebPreviewBody,  WebPreviewConsole,  WebPreviewNavigation,  WebPreviewNavigationButton,  WebPreviewUrl,} from "@/components/ai-elements/web-preview"export default function WebPreviewDemo() {  return (    <WebPreview className="h-[380px] w-full max-w-2xl" defaultUrl="about:blank">      <WebPreviewNavigation>        <WebPreviewNavigationButton aria-label="Back" disabled tooltip="Back">          <ArrowLeftIcon />        </WebPreviewNavigationButton>        <WebPreviewNavigationButton aria-label="Forward" disabled tooltip="Forward">          <ArrowRightIcon />        </WebPreviewNavigationButton>        <WebPreviewNavigationButton aria-label="Reload" tooltip="Reload">          <RotateCwIcon />        </WebPreviewNavigationButton>        <WebPreviewUrl aria-label="Preview URL" />      </WebPreviewNavigation>      <WebPreviewBody        srcDoc={`<!doctype html><html><body style="margin:0;font-family:system-ui,sans-serif;background:#fafafa;color:#18181b"><div style="max-width:520px;margin:0 auto;padding:48px 24px"><div style="height:8px;width:72px;border-radius:999px;background:#18181b;margin-bottom:24px"></div><p style="font-size:24px;font-weight:600;margin:0 0 12px">A simple preview</p><p style="line-height:1.6;color:#71717a;margin:0">Build, review, and refine your interface in one place.</p><div style="margin-top:24px;width:96px;height:36px;border-radius:6px;background:#18181b"></div></div></body></html>`}      />      <WebPreviewConsole />    </WebPreview>  )}