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 AgentsMessage

Message

Conversation rows in the same language as the composer: assistant turns led by a dotted thought orb, user turns in the accent colour with an optional liquid-metal ring.

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
from"user" | "assistant"—Who sent it. Sets the side, surface and avatar.
childrenReactNode—The message body. Leave empty while streaming to show the typing dots.
status"streaming" | "complete""complete"Assistant only. Streaming animates the orb; complete rests it.
orbStateOrbState"composing"Assistant only. The orb animation while streaming.
metalbooleanfalseUser only. Adds a liquid-metal ring that bends under the cursor. Each ring is a live canvas, so keep it to the newest message.
nameReactNode—Shown above the bubble.
timeReactNode—Shown below the bubble.
actionsReactNode—Controls placed after the time, such as copy or retry.
avatarReactNode—Replaces the default avatar. Pass null to remove it.
animateInbooleanfalsePlays the pop-up entrance once when the row mounts.