@canvas-ui/liquid-vanillaloading 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 { useEffect, useRef } from 'react'import { createLiquid, supportsHtmlInCanvas } from '@/components/canvasui/LiquidVanilla'import { Button } from '@/components/ui/button'import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '@/components/ui/card'import { Input } from '@/components/ui/input'import { Label } from '@/components/ui/label'export default function LiquidDemo() {  const sourceRef = useRef<HTMLCanvasElement>(null)  const contentRef = useRef<HTMLDivElement>(null)  const outputRef = useRef<HTMLCanvasElement>(null)  useEffect(() => {    const source = sourceRef.current    const content = contentRef.current    const output = outputRef.current    if (!source || !content || !output || !supportsHtmlInCanvas()) return    const liquid = createLiquid({ source, content, output }, { rainbow: false })    return () => liquid?.destroy()  }, [])  return (    <section style={{ position: 'relative' }} className='w-full max-w-sm'>      <canvas ref={sourceRef} id='liquid-source' className='block w-full'>        <div ref={contentRef} id='liquid-content'>          <Card className='w-full'>            <CardHeader>              <CardTitle>Login to your account</CardTitle>              <CardDescription>Enter your email below to login to your account</CardDescription>            </CardHeader>            <CardContent>              <div className='grid gap-2'>                <Label htmlFor='email'>Email</Label>                <Input id='email' type='email' placeholder='m@example.com' />              </div>            </CardContent>            <CardFooter className='flex-col gap-2'>              <Button className='w-full'>Login</Button>            </CardFooter>          </Card>        </div>      </canvas>      <canvas        ref={outputRef}        id='liquid-output'        style={{ position: 'absolute', inset: 0, width: '100%', height: '100%', pointerEvents: 'none' }}      />    </section>  )}