npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-activity-item.json --yesActivity item
ProOne line of a record's history saying what changed and when, for an activity feed, for React and Tailwind CSS. Part of Goop Pro.
What an agent sees
- ActivityItemMediaThe leading slot
- ActivityItemContentThe line's sentence
- ActivityItemActorHolds the actor's name link, first in ActivityItemContent, set in medium weight on one line
- ActivityItemNameThe name's words, inside the caller's link
- ActivityItemAsideThe trailing slot, after the ActivityItemContent
- ActivityItemBodyA comment's or an update's own words, after the sentence (and its aside)
- ActivityItemSeparatorThe dot between the words and the time
import { ActivityItemSeparator } from '@/components/ui/goop/activity-item';
import {
ActivityItem,
ActivityItemActor,
ActivityItemAside,
ActivityItemBody,
ActivityItemContent,
ActivityItemMedia,
ActivityItemName,
} from '@/components/ui/goop/activity-item';
import { Avatar } from '@/components/ui/goop/avatar';
function VisitHistory() {
return (
<ul>
<ActivityItem asChild>
<li>
<ActivityItemMedia />
<ActivityItemContent>The site visit moved to Thursday morning.</ActivityItemContent>
<ActivityItemAside>
<time dateTime="2026-11-26T09:15">Nov 26, 9:15 AM</time>
</ActivityItemAside>
</li>
</ActivityItem>
<ActivityItem asChild>
<li>
<ActivityItemMedia>
<Avatar variant="solid" size="2xs" name="Dagny Holm">
Dagny Holm
</Avatar>
</ActivityItemMedia>
<ActivityItemContent>
<ActivityItemActor>
<ActivityItemName>Dagny Holm</ActivityItemName>
</ActivityItemActor>{' '}
commented
</ActivityItemContent>
<ActivityItemAside>
<time dateTime="2026-11-26T10:40">Nov 26, 10:40 AM</time>
</ActivityItemAside>
<ActivityItemBody>
<p>Please bring the floor plans and the photos of the north wall.</p>
</ActivityItemBody>
</li>
</ActivityItem>
</ul>
);
}Change who did it, what they did and when; drop the avatar; make the words long enough to wrap; press the person or the time. The links go nowhere: a press is only written under the line.
When to use
- One line of a record's history saying what changed and when, for an activity feed.
When not to use
- For a conversation use the theme's chat parts.
Installation
Paste the prompt below into your coding agent. It reads Goop's install steps, installs the part and its tokens once, then reuses this same Activity item on every screen instead of drawing a new one: the same height, the same focus ring, the same spacing. As a Pro part, its command comes from Goop's server once you sign in, with a one-time link that lasts ten minutes.
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-activity-item.json --yesAdd the Goop Activity item to this project. The install steps are at https://goop.so/docs/install.mdUsage
import { ActivityItemSeparator } from '@/components/ui/goop/activity-item';
import {
ActivityItem,
ActivityItemActor,
ActivityItemAside,
ActivityItemBody,
ActivityItemContent,
ActivityItemMedia,
ActivityItemName,
} from '@/components/ui/goop/activity-item';
import { Avatar } from '@/components/ui/goop/avatar';
function VisitHistory() {
return (
<ul>
<ActivityItem asChild>
<li>
<ActivityItemMedia />
<ActivityItemContent>The site visit moved to Thursday morning.</ActivityItemContent>
<ActivityItemAside>
<time dateTime="2026-11-26T09:15">Nov 26, 9:15 AM</time>
</ActivityItemAside>
</li>
</ActivityItem>
<ActivityItem asChild>
<li>
<ActivityItemMedia>
<Avatar variant="solid" size="2xs" name="Dagny Holm">
Dagny Holm
</Avatar>
</ActivityItemMedia>
<ActivityItemContent>
<ActivityItemActor>
<ActivityItemName>Dagny Holm</ActivityItemName>
</ActivityItemActor>{' '}
commented
</ActivityItemContent>
<ActivityItemAside>
<time dateTime="2026-11-26T10:40">Nov 26, 10:40 AM</time>
</ActivityItemAside>
<ActivityItemBody>
<p>Please bring the floor plans and the photos of the north wall.</p>
</ActivityItemBody>
</li>
</ActivityItem>
</ul>
);
}- Fits: record (its recipe).
- height, width, padding, gap, corner, background, text: add no class for these.
API reference
| Option | Type | What it does |
|---|---|---|
| asChild? | boolean = false | Render the line on the one child element instead of a div (a history list's li). |
| Part | What it is |
|---|---|
| ActivityItemMedia | The leading slot |
| ActivityItemContent | The line's sentence; put the actor, the action's words, an ActivityItemSeparator and the time |
| ActivityItemActor | Holds the actor's name link, first in ActivityItemContent, set in medium weight on one line |
| ActivityItemName | The name's words, inside the caller's link |
| ActivityItemAside | The trailing slot, after the ActivityItemContent |
| ActivityItemBody | A comment's or an update's own words, after the sentence (and its aside) |
| ActivityItemSeparator | The dot between the words and the time |
- data-slot values (to select a part by): activity-item, activity-item-body, activity-item-content, activity-item-dot, activity-item-end, activity-item-indicator, activity-item-media, activity-item-rail, activity-item-separator, activity-item-title, activity-item-title-text
Notes for AI
Give your coding agent this page as text instead of screenshots: the parts, the options, the states and the keys. An agent that reads the real part builds the real part, not a lookalike.