@assistant-ui/elements-surfacesloading 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 { useState } from "react"import { ArrowUpIcon, CopyIcon } from "lucide-react"import { ghostButton, inkButton, ShimmerLabel, SwapLabel } from "@/components/assistant-ui/elements/surfaces"export default function ElementsSurfacesDemo() {  const [copied, setCopied] = useState<0 | 1>(0)  return (    <div className="flex w-full max-w-md items-center justify-between gap-2">      <button        type="button"        className={`${ghostButton} h-8 gap-1.5 px-3 text-sm`}        onClick={() => setCopied((c) => (c === 0 ? 1 : 0))}      >        <CopyIcon className="size-4" />        <SwapLabel active={copied}>          <span>Copy</span>          <span>Copied</span>        </SwapLabel>      </button>      <button type="button" className={`${inkButton} h-8 gap-1.5 rounded-full px-4 text-sm`}>        <ShimmerLabel>Send</ShimmerLabel>        <ArrowUpIcon className="size-4" />      </button>    </div>  )}