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 * as React from 'react'// @ts-ignore: the installed auto-height module is plain JSX without type declarationsimport { AutoHeight } from '@/components/optics/helpers/primitives/effects/auto-height'import { Button } from '@/components/ui/button'export default function AutoHeightDemo() { const [open, setOpen] = React.useState(true) return ( <div className='flex w-full max-w-sm flex-col gap-3'> <Button variant='outline' className='w-fit' onClick={() => setOpen((o) => !o)}> {open ? 'Hide details' : 'Show details'} </Button> <AutoHeight deps={[open]}> {open ? ( <div className='rounded-md border p-4 text-sm'> <p className='font-medium'>Order #1042</p> <p className='text-muted-foreground'> Your order has shipped and should arrive within three business days. </p> </div> ) : null} </AutoHeight> </div> )}