@smoothui/vector-editor-toolbarloading 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 { useState } from 'react'; import { Circle, MousePointer2, PenTool, Square, Type } from 'lucide-react'; import VectorEditorToolbar, { type VectorTool } from '@/components/smoothui/vector-editor-toolbar/index'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; const tools: VectorTool[] = [ { id: 'move', label: 'Move', icon: MousePointer2, shortcut: 'v' }, { id: 'shape', label: 'Rectangle', icon: Square, shortcut: 'r', items: [ { id: 'rect', label: 'Rectangle', icon: Square, shortcut: 'r' }, { id: 'ellipse', label: 'Ellipse', icon: Circle, shortcut: 'o' }, ], }, { id: 'pen', label: 'Pen', icon: PenTool, shortcut: 'p' }, { id: 'text', label: 'Text', icon: Type, shortcut: 't' }, ]; export default function VectorEditorToolbarDemo() { const [activeTool, setActiveTool] = useState('rect'); return ( <div className='flex w-full max-w-md justify-center pt-2'> <VectorEditorToolbar tools={tools} activeTool={activeTool} onToolChange={setActiveTool} properties={ <div className='flex items-center gap-2'> <Label htmlFor='x' className='text-xs'>X</Label> <Input id='x' className='h-7 w-16' defaultValue='120' /> <Label htmlFor='y' className='text-xs'>Y</Label> <Input id='y' className='h-7 w-16' defaultValue='84' /> </div> } /> </div> ); }