Installation
Overview
A sophisticated loading indicator for AI operations that displays animated progress with scrolling status messages. Perfect for showing detailed feedback during AI processing tasks like web searching, analyzing results, or enhancing UI/UX.Features
- Animated circular progress indicator with colorful rotating rings
- Auto-scrolling status messages that cycle through different tasks
- Multiple task sequences (searching, analyzing, enhancing)
- Numbered code-like line display
- Gradient overlay for smooth text fade effect
- Fully responsive and themeable
- Dark mode support
Props
This component doesn’t expose props - it’s a complete demo implementation.Component Structure
State Management
Task Sequences
The component cycles through three task sequences:Usage Example
Loading Animation
The component includes a multi-ring circular loading animation:- 6 concentric circles with different colors
- Counter-rotating animation (alternating clockwise/counter-clockwise)
- Progress-based masking
- Smooth 8-second rotation cycles
Customization
Add Custom Task Sequences
Adjust Scroll Speed
Change the interval in theuseEffect hook:
Customize Colors
The loading rings use these colors:#FF2E7E(Pink)#00E5FF(Cyan)#4ADE80(Green)#FFA726(Orange)#FFEB3B(Yellow)#FF4081(Pink)
circle elements.
Animation Details
Ring Rotation
Scroll Behavior
- Shows 3 lines at a time in an 84px window
- Auto-scrolls every 2 seconds
- Smooth scroll transitions
- Cycles to next sequence when reaching the end
Dependencies
- React hooks (useState, useEffect, useRef)
- No external animation libraries required (uses CSS animations)
Related Components
- AI Text Loading - Simple text-based loading indicator
- AI Prompt - Input component to pair with loading state