Hold-to-Speak Aurora Voice Search
Holding the mic raises an aurora background that changes color with state while the transcript sharpens word by word. On release a loading glow types its status, then result cards rise with a ripple and fold into a stack. One SkSL/GLSL shader.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "hold-to-speak-aurora-voice-search" to this project. The full source is attached at the end of this prompt. Put the files under components/hold-to-speak-aurora-voice-search/, install the listed dependencies with `npx expo install`, and render it on a route I can open. Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply. === Source files are attached here for paid plans ===
Details
- Platforms
- iOS, Android
- Requires
- Expo SDK 54+
- Access
- Pro
- Updated
- 16 Oct 2026
- License
- Unlimited commercial projects
- Original design
- @handhelddesign on X
Are you the designer? Ask us to change or remove this.
Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs
What it does
A voice search screen for a film and series browser. The idle screen is a dark card stack with a blue, green and orange aurora drifting behind it, and a Hold to speak hint. Holding the large mic button shifts the colours towards cyan, violet and peach, and the transcript appears word by word coming into focus. On release the screen goes dark, a glowing outline traces the black field and a loading word fades in letter by letter. The bottom aurora and buttons return, and the result cards rise from the bottom fanned out, while a white ripple sweeps the screen. Swiping switches cards by folding the front one back over its top edge, and the poster behind cross-fades. Search and Filter glass buttons flank the mic.
How it's built
The aurora is a single-pass analytic shader: three Gaussian colour blends across the screen, a sine warp, a vertical smoothstep rise, a highlight and a rounded-rectangle distance field for the outline glow. The same function body compiles as GLSL for the web preview and as SkSL for a Skia RuntimeEffect in React Native. It avoids hash noise so both renderers agree. A shared core holds a state machine and a per-frame function, and the clock is a requestAnimationFrame loop. Text blur and glass use expo-blur and gradients, and icons are react-native-svg.
Good for
- A voice search or assistant entry screen with a hold-to-talk button
- Media or shopping apps that show results as a card stack
- Backgrounds that react to a state such as listening or idle without a video
Dependencies
@shopify/react-native-skiaexpo-blurexpo-linear-gradientreact-native-svgreact-native