Now In Code
Get access

Rotary Dish Wheel Nutrition Explorer

Four screens: a meal grid with sticky search, a circular dish wheel you drag to switch dishes while the calcium value fades, a detail page with thumbnails and nutrition tags, and a photo-recognition result card. Shared HTML and React Native core.

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

Agent prompt

Add the Now In Code component "rotary-dish-wheel-nutrition-explorer" to this project.

The full source is attached at the end of this prompt. Put the files under components/rotary-dish-wheel-nutrition-explorer/, 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
15 Oct 2026
License
Unlimited commercial projects
Original design
@rakshaa_t 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 four-screen meal app flow in a light theme. The home screen scrolls with a search bar that pins to the top after a short distance. A nutrient focus screen shows a rotary wheel of dish images where dragging moves it by a slot, and the numeric values fade as the dish changes. A detail page for a dish swaps its hero image, title, tags and thumbnail strip, with a curved bottom card that turns like a wheel when you pick another dish, and its tabs cross-fade. A scan result card then slides up from the bottom. Screens hand off with a short cross-dissolve.

How it's built

A shared JavaScript core holds the state machine and a view function that composes each frame. The React Native component renders it with views, Image, react-native-svg for icons and curves, expo-linear-gradient-style fades through a masked view, and expo-blur for blurred layers. The wheel's resting slots are not a perfect circle, so positions between slots come from Catmull-Rom interpolation. Dragging uses PanResponder, and animation runs on a requestAnimationFrame loop. No third-party animation library is used.

Good for

  • A food, recipe or nutrition app that lets people browse dishes by a chosen nutrient
  • A dish detail page where swapping the item should feel physical
  • A wheel-style picker for a short list of image-led options

Dependencies

@react-native-masked-view/masked-viewexpo-blurreact-native-svgreact-native

Tags

3D RotationCardCarouselCrossfadeDragFly In / Fly OutGradientHealth and FitnessHome ScreenIconLight ModeListMinimalMorphingNavigation BarPickerProfile ScreenReading and ContentScreen TransitionScroll-DrivenSearch BarSpring PhysicsSwipe GestureTab BarTabsText Input

Related