Your demo works for me btw, it said Javascript
--
You received this message because you are subscribed to the Google Groups "Chrome Built-in AI Early Preview Program Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-ai-dev-previe...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ai-dev-preview-discuss/CAK2avF8%3DfJMKEkZdzQwecoQJhrENENiJimL4%2B%3DjgZ%2BfU0ByLFA%40mail.gmail.com.
A production-ready React component library that provides plug-and-play AI components using Chrome's built-in AI capabilities. Think of it like Material-UI, but specifically designed for AI interactions.
š¦ Package:Ā @yallaling/ai-ui-components
š NPM:Ā https://www.npmjs.com/package/@yallaling/ai-ui-components
š Documentation:Ā https://yallaling.github.io/ai-ui-components/
š§ GitHub:Ā https://github.com/yallaling/ai-ui-components
AISummarizerĀ ā Text summarization with multiple formats (TL;DR, key points, headlines)
AITranslatorĀ ā Multi-language translation with 10+ supported languages
AIRewriterĀ ā Content improvement with tone and style control
AILanguageDetectorĀ ā Automatic language detection with confidence scoring
AIWriterĀ ā AI-assisted content creation
AIChatĀ ā Complete chat interface for AI conversations
AIPromptĀ ā Smart prompt input with validation
TypeScript FirstĀ ā Full type safety and IntelliSense support
Tree ShakeableĀ ā Import only what you need
Storybook IntegrationĀ ā Interactive component playground
Modern BuildĀ ā ESM/CJS support with Rollup
Testing ReadyĀ ā Jest + React Testing Library setup
CI/CD ReadyĀ ā GitHub Actions workflow included
Responsive DesignĀ ā Works on all screen sizes
AccessibilityĀ ā WCAG compliant with ARIA labels
Copy & DownloadĀ ā One-click copy to clipboard and file downloads
Resizable ComponentsĀ ā Drag to resize for optimal layout
Streaming SupportĀ ā Real-time AI responses
bashnpm install @yallaling/ai-ui-components
tsximport { AISummarizer, AITranslator, Toaster } from '@yallaling/ai-ui-components'; function App() { return ( <div> <AISummarizer type=\"key-points\" format=\"markdown\" allowCopy={true} allowDownload={true} placeholder=\"Enter text to summarize...\" /> <AITranslator sourceLanguage=\"en\" targetLanguage=\"es\" streaming={true} showControls={true} /> </div> ); }
Chrome 138+ RequiredĀ ā This library uses Chrome's experimental AI APIs, so users need:
Chrome 138 or later
Enable AI flags atĀ chrome://flags/
Currently Chrome-exclusive (other browsers not supported)
Rapid PrototypingĀ ā Get AI features running in minutes
Learning Chrome AIĀ ā Real examples with proper TypeScript types
Production AppsĀ ā Battle-tested components with error handling
Content ManagementĀ ā Summarization and rewriting tools
International AppsĀ ā Built-in translation capabilities
Educational PlatformsĀ ā Language detection and AI assistance
Documentation SitesĀ ā Auto-summarization of content
Creative ToolsĀ ā AI-powered writing assistance
š¦ NPM Package:Ā https://www.npmjs.com/package/@yallaling/ai-ui-components
š Live Documentation:Ā https://yallaling.github.io/ai-ui-components/
š§ GitHub Repository:Ā https://github.com/yallaling/ai-ui-components
š® Interactive Playground:Ā RunĀ npm i @yallaling/ai-ui-components && npm run storybook
I'd love to hear your thoughts! Whether you're building AI applications, exploring Chrome's AI capabilities, or just curious about the technology:
GitHub Issues:Ā Report bugs or request features
Email:Ā yallal...@gmail.com
Try it out and let me know what you build with it!
Best regards,
Yallaling Goudar