Refraction Sweep AI Travel Assistant
A white and grey travel assistant leaves color to its photos. A refracting band sweeps up the screen at launch, pushing content aside with rainbow edges as the flight card rides in. Tapping it opens a detail page, then a mini card with AI text.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "refraction-sweep-ai-travel-assistant" to this project. The full source is attached at the end of this prompt. Put the files under components/refraction-sweep-ai-travel-assistant/, 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
- 28 Oct 2026
- License
- Unlimited commercial projects
- Original design
- @ianneo_ai 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 travel assistant app that opens with a horizontal refraction band travelling up the screen. Content near the band splits into red and blue edges, blurs and is pushed away from the band centre while a white highlight passes, and a soft rainbow glow drifts behind the home screen. The flow then runs through nine screens: a flight card that morphs into a detail page, a chat with word-by-word glowing AI text and a typing keyboard, a thinking state with a growing grid and a pearl orb, a recommendation card with a sheen, a photo grid that loads in, a full-screen photo page, a map with a route, and a return to home with a new card.
How it's built
The effects are SkSL fragment shaders compiled as Skia runtime effects and drawn on a Skia canvas: one for the glow and one for the lens-style refraction. A JavaScript core holds the timeline and all draw code, and a thin adapter per platform feeds it frames from a requestAnimationFrame loop. Skia is the only runtime dependency, so shared-element growth between screens, dot patterns and gradients are all drawn on canvas rather than laid out as native views.
Good for
- A first-launch or hero moment where a light band sweeps across existing content
- AI assistant flows that stream text word by word with a glow
- Travel and trip-planning apps that move from a card to a detail page and a map
Dependencies
@shopify/react-native-skiareactreact-native