Stepped Sheet with Wheel and Slider
A bottom card walks through a destination, a days wheel that scales and greys by distance and snaps with inertia, and a three-stop budget slider whose label follows the knob. Height changes per step, new content slides in 23pt, and a segmented bar fills.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "stepped-sheet-with-wheel-and-slider" to this project. The full source is attached at the end of this prompt. Put the files under components/stepped-sheet-with-wheel-and-slider/, 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
- 15 Oct 2026
- License
- Unlimited commercial projects
- Original design
- @ThominoDesign 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-planning card that sits over a blurred row of destination photos, with a soft light blue gradient that drifts slowly behind the form. The card walks through steps: a destination, the number of days, then a budget. The days step has a vertical number wheel, where the centered number is large and the neighbors shrink and fade, and it can be dragged or tapped. The budget step has a slider with three stops that snaps on release and highlights the nearest label. Next and back arrows move between steps and a progress bar shows position. The final step gives only press feedback on Next. Arrow keys also work in the web preview.
How it's built
A shared state machine and frame function in a core module drive both web and native versions. The React Native component draws with react-native-svg and uses PanResponder for the wheel and slider, with a requestAnimationFrame loop for transitions. The wheel is computed from distance to the center: font size, opacity and vertical offset all follow it. The drifting background is a set of radial gradient blobs made in code, and the photos are blurred ahead of time. Outfit loads through expo-google-fonts.
Good for
- Multi-step planners for trips, bookings or events
- A numeric picker where a wheel is clearer than a text field
- A budget or preference step using a small snapping slider
Dependencies
@expo-google-fonts/outfitreact-native-svgreact-native