@usva/page-transitionloading 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 { Button } from "@/components/ui/button"import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"import { PageTransition } from "@/components/ui/page-transition"const pages: Record<string, { title: string; description: string }> = {  home: {    title: "Welcome back",    description: "You have 3 new messages and 2 pending reviews.",  },  projects: {    title: "Projects",    description: "Four projects are currently in progress.",  },  settings: {    title: "Settings",    description: "Manage your account and notification preferences.",  },}export default function PageTransitionDemo() {  const [route, setRoute] = useState("home")  const page = pages[route]  return (    <div className="flex w-full max-w-md flex-col gap-4">      <div className="flex flex-wrap items-center gap-2">        {Object.keys(pages).map((key) => (          <Button            key={key}            size="sm"            variant={route === key ? "default" : "outline"}            onClick={() => setRoute(key)}          >            {pages[key].title}          </Button>        ))}      </div>      <PageTransition routeKey={route}>        <Card>          <CardHeader>            <CardTitle>{page.title}</CardTitle>            <CardDescription>{page.description}</CardDescription>          </CardHeader>          <CardContent>            <p className="text-sm text-muted-foreground">              Last updated just now.            </p>          </CardContent>        </Card>      </PageTransition>    </div>  )}