@prompt-kit/scroll-buttonloading 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 { StickToBottom } from "use-stick-to-bottom"import { ScrollButton } from "@/components/prompt-kit/scroll-button"import { cn } from "@/lib/utils"const messages = [  { from: "user", text: "Can you summarize the meeting notes from this morning?" },  { from: "assistant", text: "Sure. The team agreed to ship the beta on Friday and to move the onboarding copy review to next week." },  { from: "user", text: "Who owns the copy review?" },  { from: "assistant", text: "Maya owns the review. She will share a draft by Wednesday." },  { from: "user", text: "Great, thanks. Anything else I should know?" },  { from: "assistant", text: "Two open bugs remain in the billing flow. Both are assigned and tracked in the board." },  { from: "user", text: "Perfect. I will follow up after lunch." },  { from: "assistant", text: "Sounds good. I will keep the notes updated as the tasks move forward." },]export default function ScrollButtonDemo() {  return (    <StickToBottom className="relative h-72 w-full max-w-md overflow-hidden rounded-lg border">      <StickToBottom.Content className="flex flex-col gap-3 p-4">        {messages.map((m, i) => (          <div            key={i}            className={cn(              "max-w-[80%] rounded-lg px-3 py-2 text-sm",              m.from === "user"                ? "ml-auto bg-primary text-primary-foreground"                : "bg-muted"            )}          >            {m.text}          </div>        ))}      </StickToBottom.Content>      <ScrollButton className="absolute bottom-4 right-4 pointer-events-auto translate-y-0 opacity-100" />    </StickToBottom>  )}