A fitness and health tracker for iOS and Android phones and tablets: activity rings, readiness, sleep, a live heart line, water and food, timed workouts with history, and trends, each metric in its own color.
Native iOS
Native Android
8 màn hình
$199
Xem thêm bên dưới ↓
Tích hợp sẵn
Bạn nhận được
Sáng và tốiDùng màu theo giao diện của bạn
điện thoại và máy tính bảngCác màn hình mục này được thiết kế cho
Package…
Dung lượng mã…
Tiết kiệm pin30 fps, nghỉ khi đứng yên
Tạm dừng khi bị ẩnNgoài màn hình hoặc tab khác
Giảm chuyển độngÊm dịu cho người có yêu cầu
Được kiểm tra ở mỗi thay đổi
Kiểm tra kiểuTypeScript strict
Lint và định dạngESLint · Prettier
Test và buildẢnh chụp sáng và tối
Kiểm tra bảo mậtKhông có cảnh báo mức cao hoặc nghiêm trọng
Tuổi của packageMọi phiên bản công khai từ 7 ngày trở lên
CPU khi nghỉDưới nửa nhân khi đứng yên, ≤ 30 fps
Mã nguồn
App này có gì không ổn? Gửi góp ý ›
fitness-cadenceReact Native
README.mdreadmeHow to run it, change it and ship it.
app.config.tsconfigThe app's name, ids and platform settings.
appappThe screens, one file per route (Expo Router).
(tabs)(tabs)The screens, one file per route (Expo Router).
_layout.tsxscreenThe tabs: Today, Workouts, Progress and Profile.
profile.tsxscreenProfile: who it is, the five daily goals (the rings, food and water on Today follow them), units for loads and distances, and reminders.
progress.tsxscreenProgress: a Week or Month switch over the weekly goal, one trend chart with a metric switcher (Today's activity card opens it on Move), time in heart zones, personal records and the streak.
today.tsxscreenToday: the date and greeting, then the day's cards: activity rings, readiness, sleep and live heart rate side by side, water, food, the coach, what's up next and the timeline.
workouts.tsxscreenWorkouts in three views: today's Plan, the Library with kind filters, and the History of finished sessions (kind filters and the week's totals).
detaildetailThe screens, one file per route (Expo Router).
[metric].tsxscreenThe sheet behind a Today card: readiness and what it's read from, last night's sleep by stage, or the live heart line (drag to read a beat) with today's time in each zone.
sessionsessionThe screens, one file per route (Expo Router).
[id].tsxscreenA past session as a sheet (phones; tablets show it beside the history).
workoutworkoutThe screens, one file per route (Expo Router).
[id].tsxscreenA workout on its own screen (phones, and links from Today): a back button over the workout's page.
_layout.tsxscreenThe root: loads the heading font, holds today's state and stacks the screens.
coach.tsxscreenThe Coach sheet: every note still standing today, each with its action and "Not now".
index.tsxscreenThe first route: goes straight to Today.
log.tsxscreenThe log sheet behind the +: Workout, Meal or Water, the form, and Save.
componentscomponentsThe parts the screens are built from.
artartThe drawings, as code: no image files.
calm.tsxartMobility and recovery drawings: a mat with a stretching arc, a slow spiral for a twist, a foam roller with its ridges and a moon over a long exhale, picked by the workout's kind and variant.
cardio.tsxartCardio drawings: a running track with a runner's trail, a hill with its climbing path and a bike wheel, picked by the workout's variant.
mark.tsxartThe Cadence mark: a ring left open at the top, where one heartbeat tick crosses the gap.
shapes.tsxartThe shared pieces every workout drawing is built from, so they look of one hand: the tile's ground with its pool of light, the floor line and a rounded bar.
strength.tsxartStrength drawings: a dumbbell at rest, a kettlebell and a loaded barbell seen end-on, picked by the workout's variant.
activity-card.tsxpartToday's three activity rings, each in its metric's color: Move (kcal) outside, Exercise (min) in the middle, Steps inside, and beside them the three numbers against their goals in the same colors.
bar-chart.tsxpartA metric as bars in its color, one per day (or week), against a dashed goal line when it has one.
button.tsxpartThe main action: a brand-colored button with a label, at least one touch target tall.
card.tsxpartA card on the ground: one hairline edge, the brand's corner radius, no shadow.
chips.tsxpartA row of choice chips (one chosen at a time): filters, the log's kind picker, the Progress metric switcher.
coach-card.tsxpartThe coach's first standing note, with its action and "Not now", which sets it aside and slides the next one in.
field.tsxpartA text field with one designed focus state on every platform: the border takes the brand color (same width, so nothing shifts).
food-card.tsxpartFood: calories eaten against the goal, then protein, carbs and fat as three bars in their own colors with grams against their goals, and a button that opens the log on Meal.
glass.tsxpartA frosted glass panel: real blur on iOS and the web; on Android, where blur is still experimental, a translucent tint (the same look, unblurred), so design it to look right as plain tint.
heading.tsxpartText in the brand's heading font: a screen's large title or a section title.
heart-line.tsxpartThe live heart line in the heart color: the last thirty seconds of beats drawn up to a head dot at the right edge, with a soft fill under it.
heart-overlay.tsxpartThe heart line's shared math (worklets that place a beat on the line) and the full line's overlay: the scale on the right and the tooltip, riding the head dot or at the finger with how long ago that beat was.
icon.tsxpartThe app's line icons, drawn on one 24-point grid with round ends so they read as one set.
line-chart.tsxpartResting heart rate as a line in the heart color with a dot on each day, drawn in from left to right when the data changes (static under Motion calm and Reduce motion).
log-forms.tsxpartThe log sheet's three forms.
meter.tsxpartA thin bar on a faint track of its own color that grows to a share (readiness parts, macros, heart zones).
nav-rail.tsxpartThe tablet's navigation: a rail down the left side (the iPad sidebar and Android navigation-rail pattern) with the mark on top, the + under it and the four tabs.
nav-tab.tsxpartThe pieces both navigation bars share: the four tabs with their icons, one tab button (its icon springs up a little when chosen) and the raised + that opens the log sheet.
pill.tsxpartA small tinted button in a metric's color (+250 ml, Log meal, Start): the color laid thin as its ground, the color itself as its words.
pressable-scale.tsxpartA Pressable that shrinks a little under the finger and springs back.
progress-cards.tsxpartThe smaller Progress cards.
readiness-card.tsxpartReadiness, 0-100, in its teal: the score, what it means for today, and the three things it is read from, each as a short bar against the person's normal.
ring.tsxpartOne progress ring: a faint track in the ring's own color and the arc, which sweeps from empty on first show and glides to each new value.
rolling-text.tsxpartText that rolls when its value changes, like a counter: up when the number grows, down when it shrinks (the score, the stats).
screen.tsxpartEvery screen's frame: the ground color and the safe-area insets, so nothing sits under the notch, the status bar or the home indicator.
segments.tsxpartA segmented control (Plan / Library / History, Week / Month, the log's Workout / Meal / Water): a neutral track with the chosen segment raised on it, as on iOS.
session-row.tsxpartOne finished session in the history: its time, name and kind, and on the right its minutes and calories.
session-summary.tsxpartA finished session: when it was, its length, burn and average heart in their metric colors, the time in each heart zone and "Do it again", which opens the workout.
sheet-header.tsxpartThe top of every sheet: an icon in its color, the title and a close button (back to where the sheet opened from, or Today when it was opened by link).
sleep-stages.tsxpartLast night's stages as one bar, each part as wide as its share of the night: deep, core and REM in shades of the sleep color, awake faint.
stepper.tsxpartA number with a minus and a plus: the daily goals, the log's length and glasses.
streak-dots.tsxpartThe last four weeks as dots, a week a row: filled in the exercise color when the day met the goal, an empty ring when it didn't.
tab-bar.tsxpartThe phone's navigation: a floating glass bar with two tabs each side of a raised + (log a workout or meal).
timeline-card.tsxpartToday in time order: walks, workouts, meals and glasses of water, each with its time, an icon in its metric's color on a thin line down the left, and a short note.
today-header.tsxpartThe top of Today: the date, the greeting and the avatar that opens the profile.
trend-card.tsxpartOne chart with a metric switcher: Move, Exercise, Steps, Sleep or Resting heart, drawn in that metric's color (bars, or a line for resting heart).
up-next.tsxpartThe next two planned workouts not yet done, each with its picture, time and a Start button that opens it.
vital-tiles.tsxpartThe two small tiles that sit side by side on Today.
water-card.tsxpartWater: today's glasses against the goal as a row of cells that fill in the water color, a +250 ml quick add and an undo for the last glass.
workout-art.tsxpartA workout's picture: its photo when data/workouts.ts has one, else its drawing.
workout-detail.tsxpartA workout's page: its picture (it breathes while the timer runs), name, line and facts, the timer and its steps.
workout-row.tsxpartOne workout in a list: its picture, name, length and level, and on the right its start time (the plan) or calories.
workout-timer.tsxpartThe workout's timer card: a ring in the exercise color that fills through the current step with the time it has left, the step's name and number, the controls (start or pause, next step, start over) and, while it runs, the live heart rate with its zone lit on a four-part bar.
zone-bars.tsxpartTime in each heart-rate zone as four bars in the heart color, deeper for harder zones, each against the longest, with its minutes.
constantsconstantsColors, sizes, motion and the brand defaults.
color.tsthemeSmall color math for the shades that follow the brand colors.
format.tsthemeNumbers, times and units as the screens show them (US English): 9,480 steps, 7:30 AM, 12:05 left, 16 kg or 35 lb.
motion.tsthemeMotion settings shared by every animation.
theme.tsthemeThe app's colors, the brand defaults and the sizes every screen shares.
hookshooksState and theme hooks.
use-brand.tshookThe brand settings on iOS and Android: the values in constants/theme.ts.
use-brand.web.tshookThe brand settings on the web: the values in constants/theme.ts, which uiloft's preview can override with ?params=<json> on load and postMessage({ type: "uiloft:params", values }) from the parent page.
use-clear-entrances.tshookNothing to do on a phone: native entrances play once.
use-clear-entrances.web.tshookOn the web, Reanimated leaves a finished entrance's CSS animation on its element, and the browser plays it again when a Phone/Tablet switch moves the layout; this clears it once it has played.
use-coach.tshookThe coach's notes still standing today (not set aside) and what each note's button does: open a workout, add a glass of water, or open the log on Meal.
use-day.tsxhookToday's state, shared by every screen: the timeline of what happened (walks, workouts, meals, glasses of water), which planned workouts are done, the goals, units, reminders, the coach notes set aside, and the totals that follow.
use-heart-feed.tshookThe live heart-rate feed: one new beats-per-minute sample a second while Today is on screen.
use-layout.tshookPhone or tablet layout, from the window's width (not the device), so an iPad in Split View or a small Android tablet gets the layout that fits.
use-scheme.tshookDark or light, from the phone's appearance setting (app.config.ts sets userInterfaceStyle "automatic").
use-scheme.web.tshookDark or light on the web: uiloft's preview picks one with ?theme=light or ?theme=dark; without it the browser's setting decides.
use-theme.tshookThe palette of the phone's theme, the metric colors and the styles that depend on the brand, rebuilt only when one of them changes.
use-workout-timer.tshookA workout's timer: counts the seconds while it runs, knows which step it is on and how long that step has left, skips to the next step, starts over, and tells today's state once the last step ends (the workout's minutes and calories count toward the goals).
datadataEvery word and product the app shows.
copy.tscontentEvery word the screens show, so a buyer changes them in one file.
day.tscontentToday's pretend numbers before anything is logged, the starting goals, last night's sleep, the readiness score and the heart-rate samples the live line plays.
history.tscontentThe past: each metric per day for the Progress chart, the sessions in the workout history, personal records, time in heart zones this week and which of the last 28 days met the exercise goal.
meals.tscontentQuick picks for logging a meal: a tap fills the name, calories and macros (grams).
workouts.tscontentThe workouts: today's plan and the library, each drawn in code until it has a photo.
pluginspluginsBuild settings Expo has no option for.
night-window.tsconfigAndroid's window color (behind the screens) for a phone in dark mode.
README.md
How to run it, change it and ship it.
Đang tải…
Phù hợp cho
Gyms, coaches and fitness brands that want their own tracker app on iPhone, iPad and Android.
Cách hoạt động
Today shows the rings, readiness, sleep, live heart rate, water, food, a coach tip and the day's timeline; start a workout and its steps time themselves; the + logs a workout, meal or water.
Cách dùng
Run it in Expo Go, change the words in data/copy.ts, workouts in data/workouts.ts and colors in constants/theme.ts, then build with EAS for the stores.