Message scroller
A chat window that keeps the newest message in view as more arrive.
A chat window that keeps the newest message in view as more arrive.
It uses Button, Bubble, Card, Marker, Message and Tooltip, which the command adds for you.
npx shadcn@latest add message-scroller
npm install @shadcn/react lucide-react
First time with shadcn/ui? Set it up once.
The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.
Changed for this site: The message list's padding is p-6 to match the new-york Card (the original used another style's spacing variable).