@beui/morphing-modalloading 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 { MorphingModal } from "@/components/motion/morphing-modal"import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"import { Button } from "@/components/ui/button"import { Input } from "@/components/ui/input"import { Label } from "@/components/ui/label"import { Separator } from "@/components/ui/separator"import { Textarea } from "@/components/ui/textarea"import { avatarImage } from "@/preview/images"export default function MorphingModalDemo() {  const [viewId, setViewId] = useState<string | null>("profile")  return (    <div className="flex w-full max-w-sm flex-col items-center gap-4">      <Button variant="outline" onClick={() => setViewId("profile")}>        Open profile      </Button>      <MorphingModal        viewId={viewId}        onClose={() => setViewId(null)}        placement="center"      >        {viewId === "message" ? (          <div className="flex flex-col gap-4">            <div className="grid gap-2">              <Label htmlFor="subject">Subject</Label>              <Input id="subject" placeholder="Project update" />            </div>            <div className="grid gap-2">              <Label htmlFor="body">Message</Label>              <Textarea id="body" placeholder="Write your message..." />            </div>            <div className="flex justify-end gap-2">              <Button variant="outline" onClick={() => setViewId("profile")}>                Back              </Button>              <Button onClick={() => setViewId("profile")}>Send</Button>            </div>          </div>        ) : (          <div className="flex flex-col gap-4">            <div className="flex items-center gap-3">              <Avatar>                <AvatarImage src={avatarImage("Olivia Martin")} alt="Olivia Martin" />                <AvatarFallback>OM</AvatarFallback>              </Avatar>              <div className="grid gap-0.5">                <p className="font-medium">Olivia Martin</p>                <p className="text-sm text-muted-foreground">                  Product designer in Lisbon.                </p>              </div>            </div>            <Separator />            <div className="flex justify-end gap-2">              <Button variant="outline" onClick={() => setViewId(null)}>                Close              </Button>              <Button onClick={() => setViewId("message")}>Message</Button>            </div>          </div>        )}      </MorphingModal>    </div>  )}