This component no longer exists. It was in PaceUI GSAP’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-06 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
Response Writer
paceui-gsap/ai-response-writerRemovedComponent
An auto-scrolling text display that smoothly keeps the latest response always visible
Live preview
live · rendered by the registry
Rendered by PaceUI GSAP on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://gsap.paceui.com/r/ai-response-writer.jsonSource
1"use client";23import { useEffect, useRef } from "react";45import { ScrollArea } from "@/components/ui/scroll-area";67type ResponseWriterProps = {8 text: string;9};1011export const AiResponseWriter = ({ text, ...props }: ResponseWriterProps) => {12 const scrollAreaRef = useRef<HTMLDivElement>(null);1314 useEffect(() => {15 if (scrollAreaRef.current) {16 const viewport = scrollAreaRef.current?.querySelector("div:first-child");17 if (viewport) {18 viewport.scrollTo({19 top: viewport.scrollHeight,20 behavior: "smooth",21 });22 }23 }24 }, [text]);2526 return (27 <ScrollArea ref={scrollAreaRef} {...props}>28 <div className="pr-4">29 <p className="text-foreground/80 text-sm whitespace-pre-line">{text}</p>30 </div>31 </ScrollArea>32 );33};
What it pulls in
npm packages
