Dot-Matrix Footprint Balance Card
A pastel glass card shows two dot-matrix footprints, a refractive glass knob on a dashed crosshair, a large 51 / 49 figure, cadence and a stride slider. Rows light up on entry; tapping a foot shifts the center, and the slider changes stride.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "dot-matrix-footprint-balance-card" to this project. The full source is attached at the end of this prompt. Put the files under components/dot-matrix-footprint-balance-card/, 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, Web
- Requires
- Expo SDK 54+
- Access
- Pro
- Updated
- 16 Nov 2026
- License
- Unlimited commercial projects
- Original design
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 frosted glass card showing running balance. Two footprints are drawn as grids of small filled dots and hollow rings, crossed by dashed horizontal and vertical axes. Four round glass buttons sit on the toes and heels, with petal-like refraction inside and a rainbow fringe on one. Under the footprints a large left and right percentage fades in, followed by cadence and stride readouts and a yellow slider. Tapping a foot shifts the balance and updates the percentages, dragging the stride slider moves its handle, and the card animates in on entry. An optional slow breathing motion can be turned on.
How it's built
A shared JavaScript core builds an SVG display list, and the React Native component renders it with react-native-svg using gradients, masks, clip paths and patterns for the glass, grain and glow. The dot positions are measured geometry stored as data, not an image. Touch is handled with PanResponder, and entry and balance changes run on a requestAnimationFrame loop. The card is also offered inside a full-screen wrapper with a soft colored backdrop.
Good for
- A fitness or running summary with left and right balance
- A dot-grid style display for body, map or heat data
- A frosted summary card that sits over a colorful background
Dependencies
react-native-svgreact-native