Skip to main content
Version: 1.0.3

AIThinkingIndicator

The AIThinkingIndicator communicates that an AI assistant is generating a response. It supports eight animation styles, four surface variants, and three sizes.

Thinking...

Installation

ignix add component ai-thinking-indicator

Usage

Import the component:

import { AIThinkingIndicator } from '@mindfiredigital/ignix-ui';

Basic Example

function BasicThinkingIndicator() {
return <AIThinkingIndicator label="Thinking..." />;
}

Variants

<AIThinkingIndicator variant="glass" />

<AIThinkingIndicator variant="dark" />

<AIThinkingIndicator variant="minimal" />

Props

PropTypeDefaultDescription
type'dots' | 'pulse' | 'wave' | 'skeleton' | 'sparkle' | 'bloom' | 'ring' | 'bars''dots'Animation style
variant'default' | 'dark' | 'glass' | 'minimal''default'Surface style
size'sm' | 'md' | 'lg''md'Size of the indicator
labelstringundefinedText shown next to the animation
soundbooleanfalseWhether to play a sound when the indicator mounts
soundUrlstringundefinedAudio source played when sound is true