All blocks
[34] Data
Activity Feed
Who did what and when, grouped by day, with a project filter and quoted comments.
1280px
Copy the code
One file with one component and its sample data. It needs @vaneui/ui and its stylesheet, set up as in the installation guide.
activity-feed.tsx
import { Avatar, Card, Col, Container, Link, PageTitle, Row, Section, Select, Text } from "@vaneui/ui";
type Item = { who: string; did: string; target: string; href: string; rest?: string; comment?: string; time: string };
const days: { label: string; date: string; items: Item[] }[] = [ { label: "Today", date: "2026-12-04", items: [ { who: "Ana Diaz", did: "moved", target: "Billing page redesign", href: "/tasks/412", rest: "to In review", time: "10:42" }, { who: "Lee Park", did: "commented on", target: "Search filters", href: "/tasks/398", time: "09:15", comment: "Shipped behind a flag. Turning it on for everyone tomorrow morning." }, ], }, { label: "Yesterday", date: "2026-12-03", items: [ { who: "Sam Ortiz", did: "closed", target: "Mobile sign-in crash", href: "/tasks/377", time: "17:30" }, { who: "Mia Chen", did: "invited", target: "2 people", href: "/team", rest: "to Support", time: "14:05" }, { who: "Ana Diaz", did: "created", target: "Q1 planning", href: "/projects/q1-planning", time: "11:20" }, ], }, { label: "Tuesday", date: "2026-12-02", items: [ { who: "Lee Park", did: "attached a file to", target: "Launch checklist", href: "/projects/website/launch", time: "16:48" }, ], },];
export function ActivityFeed() { return ( <Section> <Container itemsStretch> <Col lg className="max-w-2xl"> <Row justifyBetween flexWrap> <PageTitle>Activity</PageTitle> <Select aria-label="Project" defaultValue="all" wFit> <option value="all">All projects</option> <option value="website">Website relaunch</option> <option value="mobile">Mobile app</option> </Select> </Row> {days.map((day) => ( <Col key={day.date} sm> <Text tag="h2" sm fontSemibold secondary>{day.label}</Text> <Col tag="ol" noGap> {day.items.map((it) => ( <Row key={it.href + it.time} tag="li" itemsStart borderT paddingY> <Avatar sm name={it.who} alt="" /> <Col xs flex1 className="min-w-0"> <Text sm> <Text tag="span" sm fontSemibold>{it.who}</Text> {it.did} <Link href={it.href}>{it.target}</Link> {it.rest && ` ${it.rest}`} </Text> {it.comment && ( <Card sm secondary noShadow> <Text sm>{it.comment}</Text> </Card> )} </Col> <Text xs tertiary whitespaceNowrap><time dateTime={`${day.date}T${it.time}`}>{it.time}</time></Text> </Row> ))} </Col> </Col> ))} </Col> </Container> </Section> );}Adapt it with your coding agent
Add the VaneUI MCP server, and your agent reads the component docs and prop tables while it changes the block: the copy, the sample data or the layout.
$ claude mcp add vaneui -- npx -y @vaneui/mcp
Setup for other editors is in the AI assistants guide.