Typing Indicator

<mcp-typing-indicator>

Animated indicator showing the AI assistant is processing or generating a response.

AIWeb Component

Overview

Animated indicator showing the AI assistant is processing or generating a response.

Preview

Preview
Loading components...

Import

javascript
// Import all components (recommended)
import '@mcpsystem/ui';

// Or import the class for TypeScript
import { McpTypingIndicator } from '@mcpsystem/ui';

Basic Usage

html
<mcp-typing-indicator></mcp-typing-indicator>

API Reference

Properties(3)

PropertyAttributeType
sizesize'sm' | 'md' | 'lg'
variantvariant'bubble' | 'minimal'
labellabelstring

CSS Parts(2)

Style internal elements using ::part() selector.

PartDescription
::part(container)The indicator container
::part(dot)Individual animated dots

CSS Custom Properties(4)

Customize appearance by setting these CSS variables.

PropertyDescription
--mcp-typing-dot-colorDot color
--mcp-typing-dot-sizeDot size
--mcp-typing-gapGap between dots
--mcp-typing-bgBackground color for bubble variant

Examples

Basic Usage

Preview
Loading components...
html
<mcp-typing-indicator></mcp-typing-indicator>

Minimal Variant

Preview
Loading components...
html
<mcp-typing-indicator variant="minimal" size="sm"></mcp-typing-indicator>

More Components