component-library
IntroductionInstallationPrompt InputAgent ActivityMessageTodo ListMessage ScrollerImage GenerationChat AlertChat WidgetWeather SkyAuroraLight RaysPrecipitationParticlesNetwork GraphASCII ArtProgressive BlurVapor TextText ScrambleScramble LinkMorph-in TextHandwritten QuoteHold Action ButtonMetallic LinkExpanding Arrow ButtonMotion Arrow ButtonTheme ToggleColor SelectorFloating NavExpandable Action BarMotion SearchSection RailFooterAgent ViewCylinder CarouselInfinite MasonryCardPixel RevealReveal ImageInline VideoProject ShowcaseHover AccordionFrame RuleConsent CardFollowing Avatar
component-library
Search components/

Get Started

IntroductionInstallation

AI Agents8

Prompt InputAgent ActivityMessageTodo ListMessage ScrollerImage GenerationChat AlertChat Widget

Backgrounds8

Weather SkyAuroraLight RaysPrecipitationParticlesNetwork GraphASCII ArtProgressive Blur

Text5

Vapor TextText ScrambleScramble LinkMorph-in TextHandwritten Quote

Buttons & Controls6

Hold Action ButtonMetallic LinkExpanding Arrow ButtonMotion Arrow ButtonTheme ToggleColor Selector

Navigation6

Floating NavExpandable Action BarMotion SearchSection RailFooterAgent View

Media & Cards9

Cylinder CarouselInfinite MasonryCardPixel RevealReveal ImageInline VideoProject ShowcaseHover AccordionFrame Rule

Feedback & Overlays2

Consent CardFollowing Avatar

“Design is not just what it looks like and feels like. Design is how it works”

“Design is not just what it looks like and feels like.
Design is how it works”

Steve Jobs
poulo

Menu

  • Home pageHome page
  • WorksWorks
  • About meAbout me
  • StackStack

Contact

  • EmailEmail
  • LinkedinLinkedin
  • GitHubGitHub

Designed and built by Poulo

poulo

AI AgentsAgent Activity

Agent Activity

One activity stream for reasoning, searches, tool calls and traces, led by a dotted thought orb whose motion follows what the agent is doing.

Loading preview…

Install

Steps for Next.js.

  1. 1

    Install the package

    One package carries every component and its effects, all original code.

    bun add @poulo2/ai-components
  2. 2

    Load the styles with Tailwind v4

    Add both lines to your global stylesheet so Tailwind generates the classes the components use. If your app already defines the shadcn/ui tokens, skip the theme import to keep your own palette.

    @import "@poulo2/ai-components/theme.css";
    @source "../node_modules/@poulo2/ai-components/dist";
  3. 3

    Or load the prebuilt stylesheet

    For apps without Tailwind. Import it once at the root; it includes Tailwind's base reset.

    import "@poulo2/ai-components/styles.css";

Props

NameTypeDefaultDescription
itemsAgentActivityItem[]—Chronological entries: step, text, search, tool or trace. Append or update as events stream. A search result's url becomes a link only if it is http(s) or relative; any other scheme, mailto included, renders as plain text.
status"working" | "complete""working"Run phase. Working runs stay expanded and animate the orb.
contentType"step" | "text" | "search" | "tool" | "trace" | "mixed"—Expected kind before the first item arrives.
orbSize20 | 32 | 642020 sits inline in the status row; 32 and 64 stand beside the stream like an avatar.
orbStateOrbState—Pins the orb animation. By default it follows the newest item.
showElapsedbooleantrueShows a running timer next to the label while working.
durationnumber—Seconds reported in the summary. Defaults to the time spent working.
activeLabelReactNode—Label while working. Derived from the item types by default.
summaryReactNode—Completed summary. Derived from the item types by default.
open / defaultOpenbooleanfalseControlled or initial expanded state after completion.
onOpenChange(open: boolean) => void—Called when the completed disclosure is toggled.
collapseOnCompletebooleantrueCollapses the stream when status becomes complete.
maxHeightnumber208Visible height before the stream starts gliding.