Now In Code
Get access

Macro Rings and Gauge Analytics

Home has date progress rings, a tick half-circle gauge with a wave traced along it and three macro cards that pop in. Insights fades in cards and concentric macro rings that spin then settle; tapping Fat slides in a detail page with seven bars growing in turn.

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

Agent prompt

Add the Now In Code component "macro-rings-and-gauge-analytics" to this project.

The full source is attached at the end of this prompt. Put the files under components/macro-rings-and-gauge-analytics/, 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
28 Oct 2026
License
Unlimited commercial projects
Original design
@TapuUi84336 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 three-screen nutrition tracker. The home screen draws a wave line along a week strip, pops the current-day dot, hops each date in turn, and bounces a column of nutrient cards one after another before the page scrolls up with a pinned header. Tapping the second tab cross-fades to an Insights screen, where skeleton cards fade in one by one and text tokens rise into place, and a three-color ring counter-rotates and slows to rest. Tapping the Fat card lays a detail page over it: seven bars grow from the baseline in staggered order, and the Edit button shrinks slightly while pressed. Going back returns to the home screen in its final state.

How it's built

A shared core provides layout constants, the event timeline and a frame function, a separate module holds the icon paths and another holds measured text widths, and the React Native component renders it all with react-native-svg on a requestAnimationFrame loop. The ring and gauge are SVG arcs, the page transitions are opacity and translate changes, and linear gradients fill the cards. The Inter family comes from expo-google-fonts.

Good for

  • A calorie, macro or habit tracker with a home, insights and detail flow
  • Analytics screens where rings and bar groups animate in on first view
  • Any list of cards that should hop in one after another

Dependencies

@expo-google-fonts/interreact-native-svgreact-native

Tags

Data and AnalyticsAvatarCardChartCrossfadeDragExpand and CollapseFintech and WalletGlowGradientHealth and FitnessHome ScreenIconLight ModeListMinimalMorphingNotificationNumber RollNumeric DisplayParallaxPath DrawingPickerPress FeedbackProductivity and HabitsProfile ScreenProgress BarRotationScreen TransitionScroll-DrivenShimmerStaggered EntranceState TransitionTab BarText Animation

Related