RibbonPRO
A twisting 3D ribbon of fine parallel strands that widens and swells with the voice, for when the agent is speaking.
Code
3 files · 122 lines of TypeScriptPRO
Ribbon is part of Pro
Get its source, the one-paste agent prompt and all 113 components, for a one-time $99.
Motion notes
- The ribbon is drawn as parallel strands: where it faces you they spread apart, where it twists edge-on they converge into one bright line, so the twist reads as depth without any fill.
- Width and wave height both follow the voice. Quiet is a slim, gently rolling line; loud is a broad ribbon with a deeper wave. It pinches to a point at both ends like an envelope.
- The two edge strands are brighter than the inner ones so the silhouette survives at 24px, and a soft light runs end to end along it.
- Without a level it simulates speech: phrases with short pauses, syllables inside them. Pass a live level to drive it from real audio.
Usage
Example
<StatusPill icon={<RibbonWave level={outputLevel} />} label="Speaking" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| size | number | 32 | Size in px. |
| lines | number | 7 | Parallel strands across the ribbon, edges included. Use fewer at small sizes. |
| level | number | — | Live output level, 0–1. Leave unset to simulate a speaking voice. |
| className | string | — | Classes for the canvas. |