About
A feed that reveals items one at a time, newest on top, as a column or a stack of notifications.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Animated List to your project and fits it to your theme.
Code
How Animated List is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { Plus } from "honestui/icons";
import { useState } from "react";
import { AnimatedList } from "@/components/ui/honest-animated-list";
const queue = [
{ who: "Maya Okafor", what: "commented on Pricing page" },
{ who: "Daniel Reyes", what: "approved pull request 482" },
{ who: "Priya Shah", what: "uploaded 3 screenshots" },
{ who: "Tom Lindqvist", what: "closed Fix checkout timeout" },
];
type Activity = { id: number; who: string; what: string };
export default function AnimatedListLive() {
const [items, setItems] = useState<Activity[]>(() =>
queue.slice(0, 3).map((entry, id) => ({ id, ...entry })),
);
const addActivity = () =>
setItems((current) => {
const id = current[current.length - 1].id + 1;
return [...current, { id, ...queue[id % queue.length] }];
});
return (
<div className="flex w-full max-w-sm flex-col gap-4">
<div className="flex items-center justify-between">
<p className="text-sm font-semibold text-foreground">Activity</p>
<button
type="button"
onClick={addActivity}
className="inline-flex h-7 cursor-pointer items-center gap-1 rounded-md border border-border px-2 text-xs font-medium text-foreground transition-colors outline-none hover:bg-muted focus-visible:ring-2 focus-visible:ring-ring"
>
<Plus className="size-3.5" />
New activity
</button>
</div>
<div className="h-56">
<AnimatedList delay={0} maxVisible={4} live className="gap-2">
{items.map((item) => (
<p
key={item.id}
className="rounded-lg border border-border bg-card px-3 py-2.5 text-[13px] text-muted-foreground"
>
<span className="font-medium text-foreground">{item.who}</span> {item.what}
</p>
))}
</AnimatedList>
</div>
</div>
);
}








