Now In Code
Get access

Trip Planner Q&A to Map Flow

Auto-playing: a typed road-trip prompt leads to question cards, a panning map sheet for the start city, a day counter and route tiles. A generated guide then scrolls through day tabs, a photo sheet and a full-screen route map. Plain React Native views.

Inspired by a design by @theinternetdsgn on XRebuilt from scratch by Now In Code

Agent prompt

Add the Now In Code component "trip-planner-qa-to-map-flow" to this project.

The full source is attached at the end of this prompt. Put the files under components/trip-planner-qa-to-map-flow/, 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 ===
Pro piece. The prompt includes the full source.Get access

Details

Platforms
iOS, Android
Requires
Expo SDK 54+
Access
Pro
Updated
13 Sep 2026
License
Unlimited commercial projects
Original design
@theinternetdsgn on X

Are you the designer? Ask us to change or remove this.

CLI and MCP server Coming soon

Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs

What it does

A light-themed assistant screen that walks through planning a road trip over a loop of about forty-five seconds. A home view with photo tiles gives way to a typed prompt and a thinking pill, then to a questionnaire list. A map sheet lets the viewer pick a starting city as the map pans and chips highlight. Sheets then ask how many days and what kind of route, with multi-select rows. A guide follows with a scrolling day carousel from day one to eight, a full-screen photo opened in two stages and a full-screen map overlay. A bottom bar keeps a plus button, a mic pill and a keyboard button visible.

How it's built

One pure function takes the elapsed time in milliseconds and returns every opacity, offset, typed-character count, sheet position and map center for that instant, and the component reruns it from a requestAnimationFrame loop. Rendering uses plain React Native views, Text and Image, plus the built-in Animated module. The map is a bundled base image panned with a Mercator-style projection helper, not a map SDK. Photos and icons are bundled image assets.

Good for

  • A prototype of a conversational planner that collects answers before producing a result
  • A guided questionnaire built from sheets and multi-select rows
  • A demo reel of a full flow when no backend exists yet

Dependencies

react-native

Tags

AI AssistantButtonCardCrossfadeDragGradientKeyboardLight ModeLoading AnimationMapMinimalModal DialogParallaxSearch BarState TransitionText InputTravel and TransportVoice Assistant

Related