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 { ArchiveIcon, Trash2Icon } from 'lucide-react'import { SwipeAction, SwipeActions, SwipeActionsContent, SwipeActionsGroup } from '@/components/swipe-actions'const messages = [ { sender: 'Olivia Martin', subject: 'Project kickoff', preview: 'Can we move the review to Thursday afternoon?' }, { sender: 'Liam Carter', subject: 'Invoice #1024', preview: 'The March invoice is attached for your records.' }, { sender: 'Noah Bennett', subject: 'Weekend plans', preview: 'Are you still up for the hike on Saturday?' },]export default function SwipeActionsDemo() { return ( <div className='w-full max-w-md overflow-hidden rounded-md border'> {messages.map((message, index) => ( <SwipeActions key={message.subject} className={index > 0 ? 'border-t' : undefined}> <SwipeActionsGroup side='start'> <SwipeAction tone='warning' icon={<ArchiveIcon />}>Archive</SwipeAction> </SwipeActionsGroup> <SwipeActionsGroup side='end'> <SwipeAction tone='destructive' icon={<Trash2Icon />}>Delete</SwipeAction> </SwipeActionsGroup> <SwipeActionsContent className='flex flex-col gap-1 p-4'> <span className='text-sm font-medium'>{message.sender}</span> <span className='text-sm'>{message.subject}</span> <span className='text-muted-foreground truncate text-sm'>{message.preview}</span> </SwipeActionsContent> </SwipeActions> ))} </div> )}