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
'use client'import { useState } from 'react'import { Motion3dTiltFlipPrimitive } from '@/components/motion-lexicon/primitives/3d-tilt-flip'import { Button } from '@/components/ui/button'export default function TiltFlipDemo() { const [flipped, setFlipped] = useState(false) return ( <div className='flex w-full max-w-sm flex-col items-center gap-4'> <Motion3dTiltFlipPrimitive flipped={flipped} className='h-48 w-full' front={ <div className='flex h-full flex-col items-center justify-center gap-1 rounded-xl border bg-card p-6 text-card-foreground shadow-sm'> <p className='font-medium'>Front side</p> <p className='text-sm text-muted-foreground'>Click the button to flip</p> </div> } back={ <div className='flex h-full flex-col items-center justify-center gap-1 rounded-xl border bg-primary p-6 text-primary-foreground shadow-sm'> <p className='font-medium'>Back side</p> <p className='text-sm opacity-80'>Here is the other details</p> </div> } /> <Button variant='outline' onClick={() => setFlipped((value) => !value)}> Flip card </Button> </div> )}