Skip to content
Back to skills

Status

ASecurity

Status banner with optional sub-steps — typically used to show tool / agent progress inside a streaming response (similar to "Searching the web…" / "Reading file…" patterns). Reads `theme.status` from `ChatContext` (or falls back to default).

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
data-aireactnode

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add reaviz/skills --skill status --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Status?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Status
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/reaviz-status/badge)](https://www.skillsdirectory.com/skills/reaviz-status)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# MessageStatus

Status banner with optional sub-steps — typically used to show tool / agent progress inside a streaming response (similar to "Searching the web…" / "Reading file…" patterns). Reads `theme.status` from `ChatContext` (or falls back to default).

## Imports

```tsx
import { MessageStatus, MessageStatusItem, StatusIcon } from 'reachat';
import type { MessageStatusState, MessageStatusStep } from 'reachat';
```

## Types

```ts
type MessageStatusState = 'loading' | 'complete' | 'error';

interface MessageStatusStep {
  id: string;
  text: string;
  status?: MessageStatusState;  // default 'loading'
}
```

## MessageStatus Props

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `text` | `string` | — | Main status text (required) |
| `status` | `MessageStatusState` | `'loading'` | Drives the icon and text color |
| `steps` | `MessageStatusStep[]` | — | Optional ordered sub-steps |
| `icon` | `ReactNode` | derived | Custom icon — overrides the default `StatusIcon` |
| `className` | `string` | — | Class for the container |
| `children` | `ReactNode` | — | Override the entire body (Radix `Slot`) |

Animations: enter / exit fade + 10px slide via Framer Motion.

## Default usage

```tsx
<MessageStatus
  status="loading"
  text="Searching the web"
  steps={[
    { id: '1', text: 'Querying index', status: 'complete' },
    { id: '2', text: 'Reading top results', status: 'loading' },
    { id: '3', text: 'Drafting summary' }
  ]}
/>
```

When the run completes:

```tsx
<MessageStatus
  status="complete"
  text="Found 12 results"
  steps={steps.map(s => ({ ...s, status: 'complete' }))}
/>
```

## MessageStatusItem

Renders one row of `steps` — used internally by `MessageStatus`. Exposed for custom layouts.

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `step` | `MessageStatusStep` | — | The step to render |

## StatusIcon

Status-aware icon. Renders different SVGs for `loading` (spinner), `complete` (check), `error` (cross).

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `state` | `MessageStatusState` | — | Which icon to render |
| `className` | `string` | — | Outer class (e.g. for size) |
| `colorClassName` | `string` | — | Color classes (typically `theme.status.icon[state]`) |

## Theme keys

```
theme.status.{base, header}
theme.status.icon.{base, loading, complete, error}
theme.status.text.{base, loading, complete, error}
theme.status.steps.base
theme.status.steps.step.{base, icon, text, loading, complete, error}
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.