Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-reply-status.json --yes

Reply status

Pro

The line an AI reply shows while it thinks and after it, for React and Tailwind CSS. Part of Goop Pro.

When to use

  • The line an AI reply shows while it thinks and after it.

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 Reply status 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.

Terminal
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-reply-status.json --yes
PROMPT
Add the Goop Reply status to this project. The install steps are at https://goop.so/docs/install.md

Usage

TSX
import { formatElapsed } from '@/components/ui/goop/reply-status';

import { ChatMessage } from '@/components/ui/goop/chat-message';
import { ReplyStatus, ReplyTyping } from '@/components/ui/goop/reply-status';

function Reply({ turn, text, seconds }: { turn: 'thinking' | 'writing'; text: string; seconds: number }) {
  return (
    <ChatMessage author="Assistant" time="09:46" streaming={turn === 'writing'}>
      {turn === 'thinking' ? (
        <ReplyStatus elapsed={seconds} steps={['Reading the event notes', 'Counting which events moved']} />
      ) : (
        text || <ReplyTyping />
      )}
    </ChatMessage>
  );
}
  • Fits: chat (its recipe).
  • height, width, padding, gap, background, text, motion: add no class for these.

API reference

Options
OptionTypeWhat it does
state?'thinking' | 'done' = 'thinking'Thinking now (the sparkle turning) or done thinking (the sparkle still).
label?stringThe words in place of "Thinking" (thinking) or "Thought for" / "Thought" (done).
elapsed?numberThe seconds the reply has taken so far, shown after the words; give it again as it grows.
steps?readonly string[]What the reply is doing or did, one line each, shown and hidden by the line's button.
stepsLabel?string = 'Steps'The steps list's name for a screen reader.
open?booleanThe steps are shown (with onOpenChange); left out, the line holds its own state from defaultOpen.
defaultOpen?boolean = falseThe steps are shown on the first paint.
onOpenChange?(open: boolean) => voidCalled with the new open state when the line's button is pressed.
  • State: open (open / defaultOpen / onOpenChange)
Parts
PartWhat it is
ReplyTypingThree small dots where a reply's words will appear; label?: string = 'Writing a reply' — What a screen reader hears, once
formatElapsedA time in whole seconds, as the line shows it
  • data-slot values (to select a part by): reply-status, reply-status-indicator, reply-status-label, reply-status-line, reply-status-live, reply-status-mark, reply-status-panel, reply-status-step, reply-status-steps, reply-status-text, reply-status-time, reply-status-trigger, reply-typing, reply-typing-dots, reply-typing-live, reply-typing-sweep

Keyboard

KeyWhat it does
TabOnto the line of a status that has steps (a status with none takes no stop)
Enter SpaceOn the line: show the steps under it, or hide them again

Accessibility

  • The native element answers the keyboard.
  • hover, active, focus-visible: the browser's own (:hover, :active, :focus-visible): write nothing

Its states are drawn from attributes and props, so assistive technology and your agent read the same thing:

StateDrawn by
expandedthe attribute aria-expanded
openthe attribute aria-expanded

Motion

  • The part sets its own motion: add no transition or animation of your own.

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.

goop.so/themes/meadow/components/reply-status.md · the page as Markdown
Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-reply-status.json --yes

Where would you like to start?

Free · now

The Goop plugin

A design system for your AI coding agent, so screen ten matches screen one.

/plugin marketplace add goop-so/skillsthen /plugin install goop@goopCodex, Cursor, ChatGPT, the Claude app and more: Connect Goop
FreePro

The components

Every part live, with its props, its keys and what an agent sees. Whole page and app templates, working with sample data.