@boldkit/multi-step-formloading 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 { MultiStepForm, useMultiStepForm, type MultiStepFormStep } from '@/components/ui/multi-step-form'import { Button } from '@/components/ui/button'import { Card, CardContent, CardFooter } from '@/components/ui/card'import { Input } from '@/components/ui/input'import { Label } from '@/components/ui/label'type Values = { name: string; email: string }const steps: MultiStepFormStep<Values>[] = [  { id: 'name', validate: (v) => (v.name.trim() ? null : { name: 'Name is required' }) },  { id: 'email', validate: (v) => (v.email.includes('@') ? null : { email: 'Enter a valid email' }) },  { id: 'review' },]function Wizard() {  const { values, setValue, errors, activeStep, back, next, submit, isFirstStep, isLastStep } =    useMultiStepForm<Values>()  const field = activeStep === 0 ? 'name' : 'email'  return (    <Card className='w-full max-w-sm'>      <CardContent className='grid gap-4'>        {activeStep < 2 ? (          <div className='grid gap-2'>            <Label htmlFor={field}>{field === 'name' ? 'Name' : 'Email'}</Label>            <Input              id={field}              value={values[field]}              aria-invalid={!!errors[field]}              onChange={(e) => setValue(field, e.target.value)}            />            {errors[field] && (              <p role='alert' className='text-sm text-destructive'>{errors[field]}</p>            )}          </div>        ) : (          <div className='grid gap-1 text-sm'>            <p className='font-medium'>Review</p>            <p className='text-muted-foreground'>Name: {values.name}</p>            <p className='text-muted-foreground'>Email: {values.email}</p>          </div>        )}      </CardContent>      <CardFooter className='justify-between'>        <Button variant='outline' onClick={back} disabled={isFirstStep}>          Back        </Button>        {isLastStep ? (          <Button onClick={submit}>Submit</Button>        ) : (          <Button onClick={next}>Next</Button>        )}      </CardFooter>    </Card>  )}export default function MultiStepFormDemo() {  return (    <MultiStepForm<Values>      steps={steps}      initialValues={{ name: '', email: '' }}      onSubmit={(v) => console.log(v)}    >      <Wizard />    </MultiStepForm>  )}