Glow Prompt Box
Interactive AI input component with animated states, multiple layouts, and swappable color themes. The primary interface for all Glow AI interactions across Rosewood products.
Interactive Playground
Ruby Berry theme
While our core platform is built on the stability and seriousness of Rosewood Blue, the introduction of Glow marks a new era of proactive partnership. We've chosen Ruby Berry to represent this intelligence — a warm, vibrant, and high-energy tone that contrasts with our subdued product environment. This shift signifies that Glow isn't just another tool in the dashboard; she is a premium, transformative force designed to bring "the magic" to your daily workflow.
States Reference
The prompt box has four distinct states, each with specific visual and behavioral rules.
Light gray border. Sparkle pulses. Arrow icon in ghost gray.
Ruby accent border. Arrow turns CTA color. Auto-expands up to 320px.
Rainbow gradient border rotates (2s). Ruby stop square. Text streams in.
Rainbow border. "I'm listening..." ghost text. Waveform + Ruby Stop in toolbar.
Scaling & Auto-Expand
The prompt box auto-expands from its minimum height to a hard stop at 320px, then triggers internal scroll.
Color Themes
Swap themes via data-theme attribute. Each theme has its own accent color and rainbow gradient spectrum.
Ruby Copilot in Action
Three layout modes showing how Glow integrates into the Rosewood product. Toggle between views to see the collapsed bubble, expanded sidebar, and full-page chat.
Your business intelligence agent
Begin building with unmatched power, and go from concept to conversion faster than ever.
Design Hierarchy
| Layout | Left Zone | Right Zone | AI Entry Point |
|---|---|---|---|
| Collapsed | Full product UI | — | FAB bubble (bottom-right) |
| Expanded | Compressed product UI | 330px Ruby sidebar | Sidebar prompt box |
| Full Page | — | — | Centered prompt + suggestion cards |
AI Color & Spec Guidelines
The Ruby Pivot: A Study in Contrast
Ruby Berry was chosen to ensure Glow remains instantly recognizable within the existing Rosewood interface.
High-Visibility Anchoring
Warmth & Human-Centricity
Active Feedback
Animation Specs
| Animation | Duration | Easing | Trigger |
|---|---|---|---|
| State change (all) | 200ms | ease-out | Any state transition |
| Idle sparkle pulse | 3s | ease-in-out | Idle state active |
| Textarea expansion | 200ms | ease-out | Text input exceeds line |
| Rainbow border spin | 2s / rotation | linear | Generating / Listening state |
| Text stream fade-in | 200ms / word | ease-out | Each word appears |
| Waveform bars | 600ms | cubic-bezier(0.34, 1.56, 0.64, 1) | Listening state |
Keyboard Shortcuts
| Key | Action | State |
|---|---|---|
Enter | Submit prompt | typing |
Shift + Enter | New line | typing |
Escape | Clear input, return to idle | typing / generating |
Component API (Proposed)
Production <glow-prompt-box> Web Component attributes and events.
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
state | idle | typing | generating | listening | idle | Current interaction state |
layout | full | sidebar | overlay | full | Layout mode |
theme | ruby | purple | ruby | Color theme |
placeholder | string | "Ask Glow a question..." | Placeholder text |
value | string | "" | Current input value |
disabled | boolean | false | Disable all interaction |
Events
| Event | Detail | Description |
|---|---|---|
glow-prompt-submit | { value: string } | User submits prompt |
glow-prompt-input | { value: string } | Text changes |
glow-prompt-stop | {} | User stops generation |
glow-prompt-voice-start | {} | Voice input begins |
glow-prompt-voice-end | { transcript: string } | Voice input ends |