๐ฏ 7 Components โข ๐ฆ 10 Examples โข ๐ Complete Docs โข โ Published on npm
Stop rebuilding the same AI UI components for every project. Get production-ready components that work with ANY framework:
|
โ๏ธ React & Next.js Ready - Native adapters with hooks & SSR |
โก Token Streaming - Real-time visualization with rate tracking โ
4 Visual Variants - default, minimal, gradient, glassmorphic |
| 7 Components | 10 Examples | 292 Tests | 91.34% Coverage | 0 Errors |
|---|---|---|---|---|
| Fully documented | Copy-paste ready | 100% passing | Exceeds 80% target | SonarQube clean |
๐ฏ 2-Minute Quick Start Guide - Get running in 30 seconds!
npm install ai-progress-controls ai-progress-controls-reactimport { StreamProgress } from 'ai-progress-controls-react';
function App() {
return <StreamProgress maxTokens={2000} />;
}That's it! Props sync automatically, no refs needed. |
Works in Vue, Angular, Svelte, or plain JavaScript: import { StreamProgress } from 'ai-progress-controls';
const progress = new StreamProgress({ maxTokens: 2000 });
document.body.appendChild(progress);That's it! Import, create, append - works in any framework. ๐ฏ Quick Start โข ๐ฆ Installation Guide โข ๐ฎ Examples |
New to AI Progress Controls?
๐ฏ Quick Start (2 min) โข ๐ฆ Complete Installation โข ๐ป npm Usage Examples
Framework Guides:
โ๏ธ React Adapter โข โฒ Next.js Adapter โข ๐ Vue 3 Guide โข
Code Examples:
โ๏ธ React Examples โข โฒ Next.js Examples โข ๐ฎ Vanilla JS Examples
Reference:
๐ API Docs โข ๐จ Theming โข ๐ญ Visual Variants
npm install ai-progress-controls-reactFeatures:
|
npm install ai-progress-controls-nextFeatures:
|
npm install ai-progress-controlsFeatures:
|
git clone https://github.com/Maneesh-Relanto/ai-progress-controls.git
cd ai-progress-controls
npm install
npm run dev๐ Open http://localhost:5173
| ๐ Homepage | ๐ Examples Gallery |
|---|---|
| Interactive demos of all 7 components | 10 copy-paste examples |
๐ก Pro Tip: Open index.html directly in your browser to see all components in action!
|
Real-time token streaming visualization โ Rate tracking (tokens/sec) |
Multi-stage model loading โ Download progress |
Single LLM parameter control โ Temperature, top-p, etc. |
|
Multi-parameter configuration โ Grouped controls |
Queue position tracking โ Live position updates |
Exponential backoff retry โ 4 retry strategies |
|
Batch processing progress โ Multiple items |
||
| ๐ Getting Started | ๐ฎ 28+ Examples | ๐ API Reference | ๐จ Theming Guide |
|---|---|---|---|
| Quick setup guide | 4-6 per component | 1,100+ lines each | CSS variables |
|
Developers building AI apps face repetitive UI challenges:
|
Specialized UI components built FOR AI workflows:
|
Frontend & Fullstack developers building AI-powered applications
|
|
|
|
|
โ
Lifecycle Methods - start, update, complete, cancel, reset |
๐ฌ Test Framework: Vitest with jsdom โข โก Fast: ~7.2s for 292 tests โข ๐ฏ Comprehensive: Every public API + visual variants tested
| Priority | Task | Status |
|---|---|---|
| ๐ด High | npm package publishing | Ready |
| ๐ก Medium | Documentation website (GitHub Pages) | Planned |
| ๐ก Medium | E2E tests | Planned |
| ๐ข Low | Additional components (6+ identified) | Roadmap |
import { StreamProgress } from 'ai-progress-controls';
const progress = new StreamProgress();
containerRef.current.appendChild(progress); |
import { StreamProgress } from 'ai-progress-controls'; const progress = new StreamProgress();
container.value.appendChild(progress); |
import { StreamProgress } from 'ai-progress-controls';
const progress = new StreamProgress();
this.container.nativeElement.appendChild(progress); |
import { StreamProgress } from 'ai-progress-controls';
const progress = new StreamProgress();
container.appendChild(progress); |
import { StreamProgress } from 'ai-progress-controls';
const progress = new StreamProgress();
container?.appendChild(progress); |
import { StreamProgress } from 'ai-progress-controls';
const progress = new StreamProgress();
document.body.appendChild(progress); |
Also works with: Preact โข Lit โข Astro โข Qwik โข Ember โข And any other JavaScript framework!
|
โ
Web Components (native browser standard) โ
Token counting & rate tracking |
โ
WCAG AA compliant (4.5:1 contrast) โ
CSS custom properties |
|
Core Architecture โ
Web Components |
Components โ
StreamProgress |
Visual Variants & Animations ๐จ โ
4 Visual Variants (default, minimal, gradient, glassmorphic) |
Documentation & Examples ๐ โ
10 Examples - Interactive demos |
- ๐ WorkflowProgress - Multi-step AI pipeline visualization
- ๐ ConfidenceThreshold - Adjustable confidence sliders with previews
- ๐ฏ ModelComparison - Side-by-side model performance comparison
- ๐ MetricsDisplay - Real-time metrics dashboard for AI operations
- ๐ค FileUploadProgress - Drag-drop file uploads for AI processing
- ๐ต TranscriptionProgress - Real-time audio transcription visualization
We maintain enterprise-grade quality standards with multiple layers of automated validation:
| Validation | Tool | Status | Metric |
|---|---|---|---|
| ๐งช Unit Tests | Vitest | โ | 292 tests passing |
| ๐ Coverage | Vitest | โ | 91.34% (target: 80%) |
| ๐ Type Safety | TypeScript | โ | Strict mode, 0 errors |
| โจ Code Quality | SonarQube | โ | 0 critical issues |
| ๐จ Formatting | Prettier | โ | Auto-formatted |
| โก Performance | Lighthouse | โ | 95+ scores |
| โฟ Accessibility | Axe + Lighthouse | โ | WCAG 2.1 AA |
| ๐ Security | npm audit | โ | 0 vulnerabilities |
---## ๐ Documentation
| Resource | Description | Link |
|---|---|---|
| ๐ Getting Started | Setup guide for all frameworks | View |
| ๐ API Reference | Complete API docs (7 components) | View |
| ๐ฎ Examples | 10 interactive examples | View |
| ๐จ Visual Variants | Customization & animations | View |
| ๐๏ธ Theming Guide | CSS variables & brand themes | View |
| โฟ Accessibility | WCAG compliance details | View |
Contributions welcome! This is an open-source project aimed at improving DX for AI application developers.
Report Issues โข Suggest Features โข Submit PRs
MIT License - See LICENSE file for details
Copyright ยฉ 2026 Maneesh Thakur