@ai-elements/artifactloading 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
"use client"import { useState } from "react"import { CheckIcon, CopyIcon, DownloadIcon } from "lucide-react"import {  Artifact,  ArtifactAction,  ArtifactActions,  ArtifactClose,  ArtifactContent,  ArtifactDescription,  ArtifactHeader,  ArtifactTitle,} from "@/components/ai-elements/artifact"export default function ArtifactDemo() {  const [open, setOpen] = useState(true)  const [copied, setCopied] = useState(false)  if (!open) return null  return (    <Artifact className="w-full max-w-lg">      <ArtifactHeader>        <div className="space-y-1">          <ArtifactTitle>Q2 performance summary</ArtifactTitle>          <ArtifactDescription>Generated report · Updated just now</ArtifactDescription>        </div>        <ArtifactActions>          <ArtifactAction            icon={copied ? CheckIcon : CopyIcon}            label="Copy report"            tooltip={copied ? "Copied" : "Copy report"}            onClick={() => setCopied(true)}          />          <ArtifactAction icon={DownloadIcon} label="Download report" tooltip="Download" />          <ArtifactClose aria-label="Close report" onClick={() => setOpen(false)} />        </ArtifactActions>      </ArtifactHeader>      <ArtifactContent className="space-y-4 text-sm">        <p className="text-muted-foreground">          Revenue increased 18% compared with Q1, led by stronger conversion in the self-serve plan.        </p>        <div className="grid grid-cols-2 gap-3">          <div className="rounded-md border p-3">            <div className="text-muted-foreground text-xs">Revenue</div>            <div className="mt-1 font-semibold">$128,400</div>          </div>          <div className="rounded-md border p-3">            <div className="text-muted-foreground text-xs">Conversion</div>            <div className="mt-1 font-semibold">6.8%</div>          </div>        </div>        <p>          Next step: expand the onboarding experiment to all new workspaces and review results after two weeks.        </p>      </ArtifactContent>    </Artifact>  )}