Glass Bubble Buddy
A living blob mascot inside a glossy glass sphere with a tiny expression system (lids, catchlights, brows, blush, mouth) and a springy body. Idle it wanders and notices your cursor, listening it leans in and nods, thinking it ponders with orbiting sparkles, speaking it talks and jiggles — and it gets drowsy when ignored.
Try it: Watch Auto, move your cursor near it, hover for a shy smile, click for a boing.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/glass-bubble-buddy.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/glass-bubble-buddy. You can also copy the source into components/ui/glass-bubble-buddy.tsx (view on GitHub).
Usage
import { GlassBubbleBuddy } from '@/components/ui/glass-bubble-buddy'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
state | 'idle' | 'listening' | 'thinking' | 'speaking' | 'idle' | Each state has its own expression and body language. |
size | number | 220 | Sphere diameter in px. |
hue | number | 212 | Body / glass tint hue. |
level | number | — | External 0–1 voice level (speaking mouth, listening input); simulated speech envelope when omitted. |
mood | 'auto' | 'happy' | 'sleepy' | 'auto' | Baseline temperament; auto gets drowsy when ignored. |
sleepAfter | number | 20 | Idle seconds without interaction before drowsy eyes and yawns (0 disables). |
interactive | boolean | true | Watch and react to the pointer. |
onClick | () => void | — | Renders the orb as a button (e.g. push-to-talk). Clicks always boing. |
label | string | 'Assistant' | Accessible name prefix. |
Dependencies
motion
Related Voice Agent components
- Mesh Pill Orb
A lava-lamp gradient mesh swirls inside a softly wobbling blob with two pill eyes. Idle it drifts and blinks, listening it widens and leans in, thinking it narrows and glances around under spinning…
- Radial Sonar Wave
Circular sonar / polar waveform around a center mic glyph; pulse rings on peaks.
- Star Morph Buddy
A floating indigo blob with a warm glowing core. Hover or focus and it springs into a soft five-point star — core flares, eyes tilt, cheeks blush, sparkles pop at the tips and the greeting…
- Ribbon Helix Wave
Premium dual ribbon helix / sine ribbons reacting to amplitude — best-in-class voice visualizer.
- Call Control Bar
Mute / hold / end / keypad with glowing active states and hold pulse.
- Particle Halo Orb
Core ball + orbiting particle halo that densifies with energy; demo slider or auto level.