@motion-lexicon/inline-validationloading 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 { InlineValidation, type Validator } from "@/components/motion-lexicon/inline-validation"import { useState } from "react"import { Button } from "@/components/ui/button"import { Card, CardContent, CardFooter } from "@/components/ui/card"const validateName: Validator = (value) => (value.trim().length < 2 ? "Enter at least 2 characters." : null)const validateEmail: Validator = (value) => (/^\S+@\S+\.\S+$/.test(value) ? null : "Enter a valid email address.")export default function InlineValidationDemo() {  const [name, setName] = useState("Olivia")  const [email, setEmail] = useState("olivia@")  return (    <Card className="w-full max-w-sm">      <CardContent className="grid gap-4">        <InlineValidation          label="Name"          value={name}          onChange={setName}          validate={validateName}          hint="Shown to other members."        />        <InlineValidation          label="Email"          type="email"          value={email}          onChange={setEmail}          validate={validateEmail}          hint="We'll send a confirmation link."        />      </CardContent>      <CardFooter>        <Button className="w-full">Create account</Button>      </CardFooter>    </Card>  )}