Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- 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 { h, render } from 'preact'import { Ripple } from '@/components/canvasui/Ripple'export default function RippleDemo() { const hostRef = useRef<HTMLDivElement>(null) useEffect(() => { const host = hostRef.current if (!host) return render( h(Ripple, { className: 'h-full w-full overflow-hidden rounded-xl border bg-muted', children: h( 'div', { className: 'flex h-full items-center justify-center' }, h( 'span', { className: 'rounded-md border bg-background px-4 py-2 text-sm font-medium shadow-xs' }, 'Tap the water', ), ), }), host, ) return () => { render(null, host) } }, []) return <div ref={hostRef} className='h-64 w-full max-w-lg' />}