// Health app UI
AI Fitness Coach App UI Design in Expo
This AI fitness coach app UI pairs a personal coach with a daily health log. The onboarding fades floating feature cards into a dark backdrop behind a glowing sparkle, with a gradient Get started button.
- Screens
- 2
- Built with
- Expo SDK 58
- Fonts
- Inter
- License
- Free (MIT)
- Views
- 0

FitCoach AI Fitness app screens

Daily dashboard
A week picker, an evening walk card over a map, four metric cards, a calorie split bar and an ask the coach button.

Onboarding
Floating feature cards, an advice card, a glowing sparkle, a headline and Get started and Log in buttons.
Copy the FitCoach AI Fitness kit
Use the artifact as a design brief, the skill to generate the UI with an AI agent, or the code to run it right away.
Design artifact
The full design: tokens, screens and source
# FitCoach AI Fitness: design artifact
This AI fitness coach app UI pairs a personal coach with a daily health log. The onboarding fades floating feature cards into a dark backdrop behind a glowing sparkle, with a gradient Get started button.
- Type: Health mobile app UI
- Screens: 2
- Artboard: 390 × 844
- Target: Expo SDK 58, Expo Router, TypeScript, expo-image, expo-linear-gradient, react-native-svg
- Live page: https://developermill.com/app-designs/fitness-coach-app-ui-design
## Design direction
Near black with a lime to green neon gradient, a glowing sparkle mark, soft grey cards and coloured metric labels in Inter.
- Neon gradient sparkle and buttons
- Week picker with activity dots
- Walk card over a route map
- Recovery, streak, steps and calorie cards
## Foundations
### Colour
| Token | Hex |
| --- | --- |
| Night | `#121212` |
| Neon lime | `#E6FF2E` |
| Green | `#3CE36B` |
| Card | `#1E1E1E` |
| Amber | `#FF9F0A` |
| Red | `#FF453A` |
### Typography
- Typefaces: Inter
- Common sizes (px): 8, 10, 11, 12, 13, 14, 16, 18
### Shape and depth
- Common corner radii (px): 3, 5, 6, 8, 12, 16
- Shadows: `0 6px 18px rgba(0,0,0,0.5)`, `0 0 22px rgba(60,227,107,0.5)`
## Screens
### 1. Daily dashboard
A week picker, an evening walk card over a map, four metric cards, a calorie split bar and an ask the coach button.
Preview: https://developermill.com/app-designs/fitness-coach-app-ui-design/dashboard.webp
Copy on this screen:
- Today, 17 Sep 2023
- 3
- Evening dog walk
- 07:56
- 2h 36m
- 1.14mi
- Muscle recovery
- 72%
- ↑ 100%
- ↓ 43%
- Streak
- 4
- Lvl 3
- Steps
- 1,792
- 10,000
- Calories burned
- 1,874
- ↑ 19% on last week
- 1,808kcal
- Workout
- Active
- BMR
- 534
- 437
- 836
- Back to Today
### 2. Onboarding
Floating feature cards, an advice card, a glowing sparkle, a headline and Get started and Log in buttons.
Preview: https://developermill.com/app-designs/fitness-coach-app-ui-design/onboarding.webp
Copy on this screen:
- Weekly recap
- Health check
- Supplements
- General
- Advice
- Aim for
- 3 reps
- on your next set to reduce the risk of injury and strain for your PR set
- Co
- Unleash your potential with your personal fitness coach
- Coach is equipped with knowledge of supplements and workouts - tailoring routines to fuel your fitness growth.
- Get started
- Log in
## Full source
The original artboards as HTML. Image URLs point at the hosted demo assets.
### Daily dashboard (Dashboard)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FitCoach dashboard</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#A1A1A6}a:hover{color:#fff}
button{font-family:inherit}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; position: relative; overflow: hidden; background: #121212; font-family: Inter, system-ui, sans-serif; color: #fff; padding-top: 50px">
<div style="display: flex; align-items: center; justify-content: space-between; padding: 0 8px; height: 44px">
<button aria-label="Activity log" style="width: 44px; height: 44px; background: none; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#A1A1A6" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M4 6h10M4 12h7M4 18h6"/><circle cx="17" cy="15" r="4"/><path d="M17 13.5V15l1 1"/></svg>
</button>
<span style="font-size: 17px; font-weight: 600">Today, 17 Sep 2023</span>
<button aria-label="Inbox, 3 unread" style="width: 44px; height: 44px; background: none; border: 0; position: relative; display: flex; align-items: center; justify-content: center; cursor: pointer">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linejoin="round" aria-hidden="true"><path d="M3 13l3-8h12l3 8v6H3z"/><path d="M3 13h5l1 2h6l1-2h5"/></svg>
<span style="position: absolute; top: 6px; right: 6px; min-width: 15px; height: 15px; border-radius: 8px; background: #FF375F; border: 2px solid #121212; color: #fff; font-size: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center">3</span>
</button>
</div>
<div style="display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 8px 10px 0">
<sc-for list="{{days}}" as="d" hint-placeholder-count="7">
<button onClick="{{d.pick}}" aria-label="{{d.aria}}" style="background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; color: #fff">
<span style="color: #A1A1A6; font-size: 10px; font-weight: 500">{{d.label}}</span>
<span style="{{d.cell}}">
<span style="font-size: 16px; font-weight: 600; color: {{d.numColor}}">{{d.day}}</span>
<span style="display: flex; gap: 3px; height: 5px">
<sc-for list="{{d.dots}}" as="c" hint-placeholder-count="1"><span style="width: 5px; height: 5px; border-radius: 3px; background: {{c}}"></span></sc-for>
</span>
</span>
</button>
</sc-for>
</div>
<div style="margin: 18px 12px 0; height: 168px; border-radius: 16px; overflow: hidden; position: relative; background: #24313D">
<img src="https://developermill.com/app-designs/fitness-coach-app-ui-design/assets/ca4ffd7ce6.jpg" alt="Map of the evening walk route through west London" style="position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%">
<div style="position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: rgba(40,46,52,0.9)">
<img src="https://developermill.com/app-designs/fitness-coach-app-ui-design/assets/6c0f3b579a.jpg" alt="Evening dog walk photo" style="width: 44px; height: 52px; border-radius: 6px; border: 2px solid #FFD60A; box-sizing: border-box; object-fit: cover; flex-shrink: 0">
<div style="flex: 1; min-width: 0">
<div style="display: flex; justify-content: space-between; align-items: center">
<span style="color: #FFD60A; font-size: 13px; font-weight: 500">Evening dog walk</span>
<span style="font-size: 12px">07:56</span>
</div>
<div style="font-size: 18px; font-weight: 700; margin-top: 4px; display: flex; gap: 14px"><span>2h 36m</span><span>1.14mi</span></div>
</div>
</div>
</div>
<div style="display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px 12px 0">
<div style="background: #1E1E1E; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px">
<div style="display: flex; align-items: center; gap: 5px; color: #FF9F0A; font-size: 12px; font-weight: 500">
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#FF9F0A" stroke-width="2.4" stroke-linecap="round" aria-hidden="true"><path d="M20 12a8 8 0 1 1-2.3-5.7M20 4v4h-4"/></svg>Muscle recovery</div>
<span style="font-size: 18px; font-weight: 700">72%</span>
<div style="display: flex; gap: 12px; color: #A1A1A6; font-size: 11px"><span>↑ 100%</span><span>↓ 43%</span></div>
</div>
<div style="background: #1E1E1E; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px">
<div style="display: flex; align-items: center; gap: 5px; color: #3CE36B; font-size: 12px; font-weight: 500">
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#3CE36B" stroke-width="2.4" stroke-linejoin="round" aria-hidden="true"><path d="M13 2L4 14h7l-1 8 9-12h-7l1-8z"/></svg>Streak</div>
<span style="font-size: 18px; font-weight: 700">4</span>
<div style="display: flex; align-items: center; gap: 10px"><span style="flex: 1; height: 5px; border-radius: 3px; background: #3A3A3C; overflow: hidden"><span style="display: block; width: 60%; height: 5px; background: #3CE36B; border-radius: 3px"></span></span><span style="color: #A1A1A6; font-size: 11px">Lvl 3</span></div>
</div>
<div style="background: #1E1E1E; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px">
<div style="display: flex; align-items: center; gap: 5px; color: #FFD60A; font-size: 12px; font-weight: 500">
<svg width="13" height="13" viewBox="0 0 24 24" fill="#FFD60A" aria-hidden="true"><ellipse cx="8" cy="7" rx="3" ry="4.5"/><ellipse cx="16" cy="13" rx="3" ry="4.5"/></svg>Steps</div>
<span style="font-size: 18px; font-weight: 700">1,792</span>
<div style="display: flex; align-items: center; gap: 10px"><span style="flex: 1; height: 5px; border-radius: 3px; background: #3A3A3C; overflow: hidden"><span style="display: block; width: 18%; height: 5px; background: #FFD60A; border-radius: 3px"></span></span><span style="color: #A1A1A6; font-size: 11px">10,000</span></div>
</div>
<div style="background: #1E1E1E; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px">
<div style="display: flex; align-items: center; gap: 5px; color: #FF453A; font-size: 12px; font-weight: 500">
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#FF453A" stroke-width="2.2" stroke-linejoin="round" aria-hidden="true"><path d="M12 22c4 0 7-3 7-7 0-4-3-6-4-10-2 2-3 4-3 6-1-1-2-2-2-4-3 3-5 5-5 8 0 4 3 7 7 7z"/></svg>Calories burned</div>
<span style="font-size: 18px; font-weight: 700">1,874</span>
<span style="color: #A1A1A6; font-size: 11px">↑ 19% on last week</span>
</div>
</div>
<div style="margin: 10px 12px 0; background: #1E1E1E; border-radius: 12px; padding: 10px">
<div style="display: flex; align-items: center; gap: 5px; color: #FF453A; font-size: 12px; font-weight: 500">
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#FF453A" stroke-width="2.2" stroke-linejoin="round" aria-hidden="true"><path d="M12 22c4 0 7-3 7-7 0-4-3-6-4-10-2 2-3 4-3 6-1-1-2-2-2-4-3 3-5 5-5 8 0 4 3 7 7 7z"/></svg>Calories burned</div>
<div style="font-size: 18px; font-weight: 700; margin-top: 4px">1,808kcal</div>
<div style="display: flex; justify-content: space-between; color: #A1A1A6; font-size: 11px; margin-top: 12px"><span>Workout</span><span>Active</span><span>BMR</span></div>
<div style="display: flex; gap: 3px; margin-top: 6px">
<span style="flex: 534; height: 10px; border-radius: 5px; background: #FF453A"></span>
<span style="flex: 437; height: 10px; border-radius: 5px; background: #3A3A3C"></span>
<span style="flex: 836; height: 10px; border-radius: 5px; background: #FF9F0A"></span>
</div>
<div style="display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; margin-top: 8px"><span>534</span><span>437</span><span>836</span></div>
</div>
<sc-if value="{{showBack}}" hint-placeholder-val="{{ true }}">
<button onClick="{{backToToday}}" style="position: absolute; left: 50%; bottom: 104px; transform: translateX(-50%); height: 36px; padding: 0 16px; border-radius: 18px; background: #1C1C1E; border: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: 12px; font-weight: 500; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,0.5)">Back to Today</button>
</sc-if>
<button aria-label="Ask your coach" style="position: absolute; right: 14px; bottom: 96px; width: 52px; height: 52px; border-radius: 26px; border: 0; background: linear-gradient(180deg, #E6FF2E 0%, #3CE36B 100%); box-shadow: 0 0 22px rgba(60,227,107,0.5); display: flex; align-items: center; justify-content: center; cursor: pointer">
<svg width="22" height="22" viewBox="0 0 100 100" aria-hidden="true"><path d="M50 4C54 38 62 46 96 50C62 54 54 62 50 96C46 62 38 54 4 50C38 46 46 38 50 4Z" fill="#111"/></svg>
</button>
<nav aria-label="Main" style="position: absolute; left: 0; right: 0; bottom: 0; height: 84px; box-sizing: border-box; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,0.08); background: #121212; display: flex; justify-content: space-around; align-items: center">
<a href="#" aria-label="Home" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center"><svg width="22" height="22" viewBox="0 0 24 24" fill="#fff" aria-hidden="true"><path d="M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z"/></svg></a>
<a href="#" aria-label="Search" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center"><svg width="21" height="21" viewBox="0 0 24 24" fill="none" stroke="#6E6E73" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="M20 20l-4-4"/></svg></a>
<a href="#" aria-label="Add workout" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center"><svg width="22" height="22" viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="4" fill="#6E6E73"/><path d="M12 8v8M8 12h8" stroke="#121212" stroke-width="2.2" stroke-linecap="round"/></svg></a>
<a href="#" aria-label="Community" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center"><svg width="24" height="22" viewBox="0 0 26 22" fill="#6E6E73" aria-hidden="true"><circle cx="9" cy="6" r="4"/><circle cx="18" cy="7" r="3.2"/><path d="M1 20c0-4.5 3.6-7 8-7s8 2.5 8 7zM16 13.5c4.5-.5 9 1.5 9 6.5h-6"/></svg></a>
<a href="#" aria-label="Profile" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center"><img src="https://developermill.com/app-designs/fitness-coach-app-ui-design/assets/bd3443ca83.jpg" alt="" style="width: 26px; height: 26px; border-radius: 13px; object-fit: cover"></a>
</nav>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
constructor(props) { super(props); this.state = { selected: 14 }; }
renderVals() {
const P = '#BF5AF2', Y = '#FFD60A', TODAY = 17;
const week = [['MON',11,[P,Y]],['TUE',12,[Y]],['WED',13,[P,Y]],['THU',14,[P]],['FRI',15,[Y]],['SAT',16,[P,Y]],['SUN',17,[Y]]];
const sel = this.state.selected;
const base = 'width: 36px; height: 48px; border-radius: 8px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;';
const days = week.map(([label, day, dots]) => {
const isSel = day === sel;
const isToday = day === TODAY && !isSel;
return {
label, day,
aria: label + ' ' + day + (isSel ? ', selected' : ''),
dots: isSel ? dots.map(() => '#111') : dots,
numColor: isSel ? '#111' : '#fff',
cell: base + (isSel ? ' background: linear-gradient(180deg, #E6FF2E 0%, #3CE36B 100%);' : isToday ? ' border: 1.5px solid #3CE36B;' : ''),
pick: () => this.setState({ selected: day }),
};
});
return {
days,
showBack: sel !== TODAY,
backToToday: () => this.setState({ selected: TODAY }),
};
}
}
</script>
</body>
</html>
```
### Onboarding (Main)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FitCoach onboarding</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#A1A1A6}a:hover{color:#fff}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; position: relative; overflow: hidden; background: #121212; font-family: Inter, system-ui, sans-serif; color: #fff; display: flex; flex-direction: column">
<div aria-hidden="true" style="position: absolute; left: 0; top: 0; width: 390px; height: 340px; background: radial-gradient(120% 90% at 50% 0%, rgba(110,200,40,0.55) 0%, rgba(50,110,20,0.18) 45%, rgba(18,18,18,0) 80%)"></div>
<div style="position: relative; height: 360px; margin-top: 60px">
<div style="position: absolute; left: -70px; top: 0; width: 190px; height: 96px; border-radius: 16px; background: rgba(255,255,255,0.06); padding: 18px; box-sizing: border-box; display: flex; align-items: flex-end; opacity: 0.5">
<span style="color: #A1A1A6; font-size: 14px; font-weight: 500">Weekly recap</span>
</div>
<div style="position: absolute; left: 140px; top: 0; width: 190px; height: 96px; border-radius: 16px; background: rgba(255,255,255,0.07); padding: 18px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between">
<svg width="20" height="20" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3 4.5 6.7 4.5c2.1 0 3.5 1.1 4.3 2.4.8-1.3 2.2-2.4 4.3-2.4 3.7 0 5.8 3.8 4.3 7.2C19.5 16.4 12 21 12 21z" fill="#FF453A"/></svg>
<span style="color: #A1A1A6; font-size: 14px; font-weight: 500">Health check</span>
</div>
<div style="position: absolute; left: -60px; top: 110px; width: 190px; height: 96px; border-radius: 16px; background: rgba(255,255,255,0.05); padding: 18px; box-sizing: border-box; display: flex; align-items: flex-end; opacity: 0.4">
<span style="color: #A1A1A6; font-size: 14px; font-weight: 500">Supplements</span>
</div>
<div style="position: absolute; left: 140px; top: 110px; width: 190px; height: 96px; border-radius: 16px; background: rgba(255,255,255,0.05); padding: 18px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; opacity: 0.4">
<svg width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M13 2L4 14h7l-1 8 9-12h-7l1-8z" fill="none" stroke="#3CE36B" stroke-width="2" stroke-linejoin="round"/></svg>
<span style="color: #A1A1A6; font-size: 14px; font-weight: 500">General</span>
</div>
<div style="position: absolute; left: 66px; top: 222px; width: 240px; border-radius: 14px; background: #1E1E1E; border: 1px solid rgba(255,255,255,0.06); padding: 12px; box-sizing: border-box">
<div style="display: flex; align-items: center; gap: 6px; margin-bottom: 8px">
<svg width="12" height="12" viewBox="0 0 100 100" aria-hidden="true"><path d="M50 4C54 38 62 46 96 50C62 54 54 62 50 96C46 62 38 54 4 50C38 46 46 38 50 4Z" fill="none" stroke="#E6FF2E" stroke-width="8"/></svg>
<span style="color: #E6FF2E; font-size: 12px; font-weight: 600">Advice</span>
</div>
<p style="margin: 0; color: #A1A1A6; font-size: 12px; line-height: 17px">Aim for <strong style="color: #E6FF2E">3 reps</strong> on your next set to reduce the risk of injury and strain for your PR set</p>
</div>
<div style="position: absolute; left: 318px; top: 240px; width: 90px; height: 64px; border-radius: 12px; background: #1E1E1E; padding: 10px; box-sizing: border-box; color: #E6FF2E; font-size: 11px; font-weight: 600">Co</div>
<div aria-hidden="true" style="position: absolute; left: 0; top: 150px; width: 390px; height: 220px; background: linear-gradient(180deg, rgba(18,18,18,0) 0%, rgba(18,18,18,0.55) 55%, rgba(18,18,18,0.95) 100%)"></div>
<svg role="img" aria-label="FitCoach sparkle" width="118" height="118" viewBox="0 0 100 100" style="position: absolute; left: 136px; top: 88px; filter: drop-shadow(0 0 24px rgba(168,255,60,0.55))">
<defs><linearGradient id="spk" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#E6FF2E"/><stop offset="1" stop-color="#3CE36B"/></linearGradient></defs>
<path d="M50 2C55 37 63 45 98 50C63 55 55 63 50 98C45 63 37 55 2 50C37 45 45 37 50 2Z" fill="url(#spk)"/>
</svg>
</div>
<div style="position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 24px; text-align: center">
<h1 style="margin: 0; font-size: 25px; line-height: 32px; font-weight: 700; letter-spacing: -0.3px">Unleash your potential with your personal fitness coach</h1>
<p style="margin: 14px 0 0; color: #A1A1A6; font-size: 14px; line-height: 20px; max-width: 270px">Coach is equipped with knowledge of supplements and workouts - tailoring routines to fuel your fitness growth.</p>
<div aria-hidden="true" style="display: flex; gap: 6px; margin-top: 22px">
<span style="width: 6px; height: 6px; border-radius: 3px; background: #3A3A3C"></span>
<span style="width: 6px; height: 6px; border-radius: 3px; background: #D1D1D6"></span>
<span style="width: 6px; height: 6px; border-radius: 3px; background: #3A3A3C"></span>
</div>
</div>
<div style="position: relative; margin-top: auto; padding: 0 24px 34px; display: flex; flex-direction: column; gap: 10px">
<a href="Dashboard.dc.html" style="height: 54px; border-radius: 27px; background: linear-gradient(90deg, #E6FF2E 0%, #3CE36B 100%); display: flex; align-items: center; justify-content: center; color: #111; font-size: 16px; font-weight: 600; text-decoration: none">Get started</a>
<a href="Dashboard.dc.html" style="height: 44px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; text-decoration: none">Log in</a>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
return {};
}
}
</script>
</body>
</html>
```SKILL.md
Save as .claude/skills/fitness-coach-app-ui/SKILL.md
--- name: fitness-coach-app-ui description: Build the FitCoach AI Fitness mobile app UI in Expo React Native. Use when asked to create a fitness coach app UI or a new screen in this visual style. --- # FitCoach AI Fitness app UI Build this health app UI in an Expo Router project with TypeScript. Reference: https://developermill.com/app-designs/fitness-coach-app-ui-design ## Visual direction Near black with a lime to green neon gradient, a glowing sparkle mark, soft grey cards and coloured metric labels in Inter. Keep these signature details: - Neon gradient sparkle and buttons - Week picker with activity dots - Walk card over a route map - Recovery, streak, steps and calorie cards ## Set up ```bash npx expo install expo-image expo-linear-gradient react-native-svg @expo-google-fonts/inter expo-font ``` ## Tokens | Name | Hex | | --- | --- | | Night | `#121212` | | Neon lime | `#E6FF2E` | | Green | `#3CE36B` | | Card | `#1E1E1E` | | Amber | `#FF9F0A` | | Red | `#FF453A` | - Typefaces: Inter - Text sizes (px): 8, 10, 11, 12, 13, 14, 16, 18 - Corner radii (px): 3, 5, 6, 8, 12, 16 Define these once and reuse them. Do not add new colours. ## Screens 1. **Daily dashboard.** A week picker, an evening walk card over a map, four metric cards, a calorie split bar and an ask the coach button. 2. **Onboarding.** Floating feature cards, an advice card, a glowing sparkle, a headline and Get started and Log in buttons. ## Build rules - Draw each screen on a 390 × 844 artboard and scale it to the device width. - Load each custom font weight by family name with expo-font. Do not set fontWeight with custom fonts. - Draw icons, charts and illustrations with react-native-svg. - Use Pressable with an accessibilityLabel for controls, with at least a 44px target. - Navigate with router.navigate and keep sample data as constants at the top of the file. - Use expo-image with contentFit for photos. ## Done when - All routes are linked and reachable. - Colours, type and radii match the tokens above. - `npx tsc --noEmit` and `npx expo lint` pass. - The layout holds up on small and large phones.
Set up the project
npx create-expo-app@latest fitness-coach-app --template default cd fitness-coach-app rm -rf src npx expo install expo-image expo-linear-gradient react-native-svg @expo-google-fonts/inter expo-font
src/app/_layout.tsx
import {
Inter_400Regular,
Inter_500Medium,
Inter_600SemiBold,
Inter_700Bold,
Inter_800ExtraBold,
} from '@expo-google-fonts/inter';
import { useFonts } from 'expo-font';
import { Stack } from 'expo-router';
export default function RootLayout() {
const [fontsLoaded] = useFonts({
Inter_400Regular,
Inter_500Medium,
Inter_600SemiBold,
Inter_700Bold,
Inter_800ExtraBold,
});
if (!fontsLoaded) return null;
return <Stack screenOptions={{ headerShown: false }} />;
}src/app/index.tsx
import { LinearGradient } from 'expo-linear-gradient';
import { router } from 'expo-router';
import { Pressable, StyleSheet, Text, View } from 'react-native';
import Svg, {
Defs,
Path,
RadialGradient,
Rect,
Stop,
LinearGradient as SvgLinearGradient,
} from 'react-native-svg';
import { Screen } from '@/components/screen';
export default function MainScreen() {
return (
<Screen background="#121212" statusBar="light">
<View style={{ flex: 1 }}>
<View style={{ position: 'absolute', left: 0, top: 0, width: 390, height: 340 }}>
<Svg style={StyleSheet.absoluteFill} width="100%" height="100%">
<Defs>
<RadialGradient id="glow1" cx="50%" cy="0%" rx="120%" ry="90%" fx="50%" fy="0%">
<Stop offset="0%" stopColor="rgba(110,200,40,0.55)" />
<Stop offset="45%" stopColor="rgba(50,110,20,0.18)" />
<Stop offset="80%" stopColor="rgba(18,18,18,0)" />
</RadialGradient>
</Defs>
<Rect width="100%" height="100%" fill="url(#glow1)" />
</Svg>
</View>
<View style={{ height: 360, marginTop: 60 }}>
<View
style={{
position: 'absolute',
left: -70,
top: 0,
width: 190,
height: 96,
borderRadius: 16,
backgroundColor: 'rgba(255,255,255,0.06)',
padding: 18,
alignItems: 'flex-end',
opacity: 0.5,
flexDirection: 'row',
}}>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_500Medium',
fontSize: 14,
color: '#A1A1A6',
}}>
Weekly recap
</Text>
</View>
<View
style={{
position: 'absolute',
left: 140,
top: 0,
width: 190,
height: 96,
borderRadius: 16,
backgroundColor: 'rgba(255,255,255,0.07)',
padding: 18,
justifyContent: 'space-between',
}}>
<Svg width="20" height="20" viewBox="0 0 24 24">
<Path
d="M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3 4.5 6.7 4.5c2.1 0 3.5 1.1 4.3 2.4.8-1.3 2.2-2.4 4.3-2.4 3.7 0 5.8 3.8 4.3 7.2C19.5 16.4 12 21 12 21z"
fill="#FF453A"
/>
</Svg>
<Text style={{ fontFamily: 'Inter_500Medium', fontSize: 14, color: '#A1A1A6' }}>
Health check
</Text>
</View>
<View
style={{
position: 'absolute',
left: -60,
top: 110,
width: 190,
height: 96,
borderRadius: 16,
backgroundColor: 'rgba(255,255,255,0.05)',
padding: 18,
alignItems: 'flex-end',
opacity: 0.4,
flexDirection: 'row',
}}>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_500Medium',
fontSize: 14,
color: '#A1A1A6',
}}>
Supplements
</Text>
</View>
<View
style={{
position: 'absolute',
left: 140,
top: 110,
width: 190,
height: 96,
borderRadius: 16,
backgroundColor: 'rgba(255,255,255,0.05)',
padding: 18,
justifyContent: 'space-between',
opacity: 0.4,
}}>
<Svg width="18" height="18" viewBox="0 0 24 24">
<Path
d="M13 2L4 14h7l-1 8 9-12h-7l1-8z"
fill="none"
stroke="#3CE36B"
strokeWidth="2"
strokeLinejoin="round"
/>
</Svg>
<Text style={{ fontFamily: 'Inter_500Medium', fontSize: 14, color: '#A1A1A6' }}>
General
</Text>
</View>
<View
style={{
position: 'absolute',
left: 66,
top: 222,
width: 240,
borderRadius: 14,
backgroundColor: '#1E1E1E',
borderWidth: 1,
borderColor: 'rgba(255,255,255,0.06)',
padding: 12,
}}>
<View style={{ alignItems: 'center', gap: 6, marginBottom: 8, flexDirection: 'row' }}>
<Svg width="12" height="12" viewBox="0 0 100 100">
<Path
d="M50 4C54 38 62 46 96 50C62 54 54 62 50 96C46 62 38 54 4 50C38 46 46 38 50 4Z"
fill="none"
stroke="#E6FF2E"
strokeWidth="8"
/>
</Svg>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_600SemiBold',
fontSize: 12,
color: '#E6FF2E',
}}>
Advice
</Text>
</View>
<Text
style={{
margin: 0,
fontFamily: 'Inter_400Regular',
fontSize: 12,
color: '#A1A1A6',
lineHeight: 17,
}}>
{'Aim for '}
<Text style={{ fontFamily: 'Inter_700Bold', color: '#E6FF2E' }}>3 reps</Text>
{' on your next set to reduce the risk of injury and strain for your PR set'}
</Text>
</View>
<Text
style={{
position: 'absolute',
left: 318,
top: 240,
width: 90,
height: 64,
borderRadius: 12,
backgroundColor: '#1E1E1E',
padding: 10,
fontFamily: 'Inter_600SemiBold',
fontSize: 11,
color: '#E6FF2E',
}}>
Co
</Text>
<View style={{ position: 'absolute', left: 0, top: 150, width: 390, height: 220 }}>
<LinearGradient
colors={['rgba(18,18,18,0)', 'rgba(18,18,18,0.55)', 'rgba(18,18,18,0.95)']}
locations={[0, 0.55, 1]}
start={{ x: 0.5, y: 0 }}
end={{ x: 0.5, y: 1 }}
style={StyleSheet.absoluteFill}
/>
</View>
<View
style={{
position: 'absolute',
left: 105,
top: 57,
width: 180,
height: 180,
borderRadius: 90,
overflow: 'hidden',
}}>
<Svg style={StyleSheet.absoluteFill} width="100%" height="100%">
<Defs>
<RadialGradient id="glow2" cx="50%" cy="50%" rx="70%" ry="70%" fx="50%" fy="50%">
<Stop offset="0%" stopColor="rgba(168,255,60,0.55)" />
<Stop offset="62%" stopColor="rgba(168,255,60,0)" />
</RadialGradient>
</Defs>
<Rect width="100%" height="100%" fill="url(#glow2)" />
</Svg>
</View>
<Svg
width="118"
height="118"
viewBox="0 0 100 100"
accessibilityRole="image"
accessibilityLabel="FitCoach sparkle"
style={{
position: 'absolute',
left: 136,
top: 88,
filter: 'drop-shadow(0 0 24px rgba(168,255,60,0.55))',
}}>
<Defs>
<SvgLinearGradient id="spk" x1="0" y1="0" x2="1" y2="1">
<Stop offset="0" stopColor="#E6FF2E" />
<Stop offset="1" stopColor="#3CE36B" />
</SvgLinearGradient>
</Defs>
<Path
d="M50 2C55 37 63 45 98 50C63 55 55 63 50 98C45 63 37 55 2 50C37 45 45 37 50 2Z"
fill="url(#spk)"
/>
</Svg>
</View>
<View style={{ alignItems: 'center', paddingVertical: 0, paddingHorizontal: 24 }}>
<Text
style={{
margin: 0,
fontFamily: 'Inter_700Bold',
fontSize: 25,
color: '#fff',
letterSpacing: -0.3,
lineHeight: 32,
textAlign: 'center',
}}>
Unleash your potential with your personal fitness coach
</Text>
<Text
style={{
marginTop: 14,
marginBottom: 0,
marginHorizontal: 0,
maxWidth: 270,
fontFamily: 'Inter_400Regular',
fontSize: 14,
color: '#A1A1A6',
lineHeight: 20,
textAlign: 'center',
}}>
Coach is equipped with knowledge of supplements and workouts - tailoring routines to
fuel your fitness growth.
</Text>
<View style={{ gap: 6, marginTop: 22, flexDirection: 'row' }}>
<View style={{ width: 6, height: 6, borderRadius: 3, backgroundColor: '#3A3A3C' }} />
<View style={{ width: 6, height: 6, borderRadius: 3, backgroundColor: '#D1D1D6' }} />
<View style={{ width: 6, height: 6, borderRadius: 3, backgroundColor: '#3A3A3C' }} />
</View>
</View>
<View
style={{
marginTop: 'auto',
paddingTop: 0,
paddingBottom: 34,
paddingHorizontal: 24,
gap: 10,
}}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/dashboard')}
style={{
height: 54,
borderRadius: 27,
alignItems: 'center',
justifyContent: 'center',
overflow: 'hidden',
flexDirection: 'row',
}}>
<LinearGradient
colors={['#E6FF2E', '#3CE36B']}
locations={[0, 1]}
start={{ x: 0, y: 0.5 }}
end={{ x: 1, y: 0.5 }}
style={StyleSheet.absoluteFill}
/>
<Text
style={{
fontFamily: 'Inter_600SemiBold',
fontSize: 16,
color: '#111',
flexShrink: 1,
}}>
Get started
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/dashboard')}
style={{
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'Inter_500Medium',
fontSize: 15,
color: '#A1A1A6',
flexShrink: 1,
}}>
Log in
</Text>
</Pressable>
</View>
</View>
</Screen>
);
}src/app/dashboard.tsx
import { Image } from 'expo-image';
import { LinearGradient } from 'expo-linear-gradient';
import { useState } from 'react';
import { Pressable, StyleSheet, Text, View } from 'react-native';
import Svg, { Circle, Ellipse, Path, Rect } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
import { css, cssText } from '@/lib/css';
// Screen state, and the values the layout below reads from it.
function useScreen() {
const [state, setScreenState] = useState<Record<string, any>>({ selected: 14 });
const setState = (patch: Record<string, any>) =>
setScreenState((current) => ({ ...current, ...patch }));
const P = '#BF5AF2',
Y = '#FFD60A',
TODAY = 17;
const week = [
{ label: 'MON', day: 11, dots: [P, Y] },
{ label: 'TUE', day: 12, dots: [Y] },
{ label: 'WED', day: 13, dots: [P, Y] },
{ label: 'THU', day: 14, dots: [P] },
{ label: 'FRI', day: 15, dots: [Y] },
{ label: 'SAT', day: 16, dots: [P, Y] },
{ label: 'SUN', day: 17, dots: [Y] },
];
const sel = state.selected;
const base =
'width: 36px; height: 48px; border-radius: 8px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;';
const days = week.map(({ label, day, dots }) => {
const isSel = day === sel;
const isToday = day === TODAY && !isSel;
return {
label,
day,
aria: label + ' ' + day + (isSel ? ', selected' : ''),
dots: isSel ? dots.map(() => '#111') : dots,
numColor: isSel ? '#111' : '#fff',
cell:
base +
(isSel
? ' background: linear-gradient(180deg, #E6FF2E 0%, #3CE36B 100%);'
: isToday
? ' border: 1.5px solid #3CE36B;'
: ''),
pick: () => setState({ selected: day }),
};
});
return {
days,
showBack: sel !== TODAY,
backToToday: () => setState({ selected: TODAY }),
};
}
export default function DashboardScreen() {
const { days, showBack, backToToday } = useScreen();
return (
<Screen background="#121212" statusBar="light">
<View style={{ paddingTop: 50, flex: 1 }}>
<View
style={{
alignItems: 'center',
justifyContent: 'space-between',
paddingVertical: 0,
paddingHorizontal: 8,
height: 44,
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="button"
accessibilityLabel="Activity log"
style={{
width: 44,
height: 44,
borderWidth: 0,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#A1A1A6"
strokeWidth="2"
strokeLinecap="round">
<Path d="M4 6h10M4 12h7M4 18h6" />
<Circle cx="17" cy="15" r="4" />
<Path d="M17 13.5V15l1 1" />
</Svg>
</Pressable>
<Text
style={{ flexShrink: 1, fontFamily: 'Inter_600SemiBold', fontSize: 17, color: '#fff' }}>
Today, 17 Sep 2023
</Text>
<Pressable
accessibilityRole="button"
accessibilityLabel="Inbox, 3 unread"
style={{
width: 44,
height: 44,
borderWidth: 0,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#fff"
strokeWidth="2"
strokeLinejoin="round">
<Path d="M3 13l3-8h12l3 8v6H3z" />
<Path d="M3 13h5l1 2h6l1-2h5" />
</Svg>
<View
style={{
position: 'absolute',
top: 6,
right: 6,
minWidth: 15,
height: 19,
borderRadius: 8,
backgroundColor: '#FF375F',
borderWidth: 2,
borderColor: '#121212',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{ fontFamily: 'Inter_700Bold', fontSize: 8, color: '#fff', flexShrink: 1 }}>
3
</Text>
</View>
</Pressable>
</View>
<View
style={{
paddingTop: 8,
paddingBottom: 0,
paddingHorizontal: 10,
flexDirection: 'row',
flexWrap: 'wrap',
}}>
{days.map((d, index) => (
<Pressable
key={index}
accessibilityRole="button"
accessibilityLabel={d.aria}
onPress={d.pick}
style={{
borderWidth: 0,
padding: 0,
alignItems: 'center',
gap: 8,
flexGrow: 1,
flexBasis: '13.4%',
}}>
<Text style={{ fontFamily: 'Inter_500Medium', fontSize: 10, color: '#A1A1A6' }}>
{d.label}
</Text>
<View style={{ ...css(d.cell) }}>
<Text
style={[
{ fontFamily: 'Inter_400Regular', fontSize: 13.33, color: '#fff' },
cssText(d.cell),
]}>
<Text
style={{ fontFamily: 'Inter_600SemiBold', fontSize: 16, color: d.numColor }}>
{d.day}
</Text>
</Text>
<View style={{ gap: 3, height: 5, flexDirection: 'row' }}>
{d.dots.map((c, index) => (
<View
key={index}
style={{ width: 5, height: 5, borderRadius: 3, backgroundColor: c }}
/>
))}
</View>
</View>
</Pressable>
))}
</View>
<View
style={{
marginTop: 18,
marginBottom: 0,
marginHorizontal: 12,
height: 168,
borderRadius: 16,
overflow: 'hidden',
backgroundColor: '#24313D',
}}>
<Image
source={{ uri: asset('ca4ffd7ce6.jpg') }}
contentFit="cover"
contentPosition={{ left: '60%', top: '30%' }}
accessibilityLabel="Map of the evening walk route through west London"
style={{ position: 'absolute', left: 0, top: 0, width: '100%', height: '100%' }}
/>
<View
style={{
position: 'absolute',
left: 8,
right: 8,
bottom: 8,
alignItems: 'center',
gap: 10,
padding: 8,
borderRadius: 12,
backgroundColor: 'rgba(40,46,52,0.9)',
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('6c0f3b579a.jpg') }}
contentFit="cover"
accessibilityLabel="Evening dog walk photo"
style={{
width: 44,
height: 52,
borderRadius: 6,
borderWidth: 2,
borderColor: '#FFD60A',
flexShrink: 0,
}}
/>
<View style={{ flex: 1, minWidth: 0 }}>
<View
style={{
justifyContent: 'space-between',
alignItems: 'center',
height: 16,
flexDirection: 'row',
}}
/>
<View style={{ marginTop: 4, gap: 14, flexDirection: 'row' }}>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_700Bold',
fontSize: 18,
color: '#fff',
}}>
2h 36m
</Text>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_700Bold',
fontSize: 18,
color: '#fff',
}}>
1.14mi
</Text>
</View>
</View>
</View>
</View>
<View style={{ paddingTop: 10, paddingBottom: 0, paddingHorizontal: 12, gap: 10 }}>
<View style={{ flexDirection: 'row', gap: 10 }}>
<View
style={{
backgroundColor: '#1E1E1E',
borderRadius: 12,
padding: 10,
gap: 4,
flex: 1,
}}>
<View style={{ alignItems: 'center', gap: 5, flexDirection: 'row' }}>
<Svg
width="13"
height="13"
viewBox="0 0 24 24"
fill="none"
stroke="#FF9F0A"
strokeWidth="2.4"
strokeLinecap="round">
<Path d="M20 12a8 8 0 1 1-2.3-5.7M20 4v4h-4" />
</Svg>
<Text
style={{
fontFamily: 'Inter_500Medium',
fontSize: 12,
color: '#FF9F0A',
flexShrink: 1,
}}>
Muscle recovery
</Text>
</View>
<Text style={{ fontFamily: 'Inter_700Bold', fontSize: 18, color: '#fff' }}>72%</Text>
<View style={{ gap: 12, flexDirection: 'row' }}>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_400Regular',
fontSize: 11,
color: '#A1A1A6',
}}>
↑ 100%
</Text>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_400Regular',
fontSize: 11,
color: '#A1A1A6',
}}>
↓ 43%
</Text>
</View>
</View>
<View
style={{
backgroundColor: '#1E1E1E',
borderRadius: 12,
padding: 10,
gap: 4,
flex: 1,
}}>
<View style={{ alignItems: 'center', gap: 5, flexDirection: 'row' }}>
<Svg
width="13"
height="13"
viewBox="0 0 24 24"
fill="none"
stroke="#3CE36B"
strokeWidth="2.4"
strokeLinejoin="round">
<Path d="M13 2L4 14h7l-1 8 9-12h-7l1-8z" />
</Svg>
<Text
style={{
fontFamily: 'Inter_500Medium',
fontSize: 12,
color: '#3CE36B',
flexShrink: 1,
}}>
Streak
</Text>
</View>
<Text style={{ fontFamily: 'Inter_700Bold', fontSize: 18, color: '#fff' }}>4</Text>
<View style={{ alignItems: 'center', gap: 10, flexDirection: 'row' }}>
<View
style={{
flex: 1,
height: 5,
borderRadius: 3,
backgroundColor: '#3A3A3C',
overflow: 'hidden',
}}>
<View
style={{ width: '60%', height: 5, backgroundColor: '#3CE36B', borderRadius: 3 }}
/>
</View>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_400Regular',
fontSize: 11,
color: '#A1A1A6',
}}>
Lvl 3
</Text>
</View>
</View>
</View>
<View style={{ flexDirection: 'row', gap: 10 }}>
<View
style={{
backgroundColor: '#1E1E1E',
borderRadius: 12,
padding: 10,
gap: 4,
flex: 1,
}}>
<View style={{ alignItems: 'center', gap: 5, flexDirection: 'row' }}>
<Svg width="13" height="13" viewBox="0 0 24 24" fill="#FFD60A">
<Ellipse cx="8" cy="7" rx="3" ry="4.5" />
<Ellipse cx="16" cy="13" rx="3" ry="4.5" />
</Svg>
<Text
style={{
fontFamily: 'Inter_500Medium',
fontSize: 12,
color: '#FFD60A',
flexShrink: 1,
}}>
Steps
</Text>
</View>
<Text style={{ fontFamily: 'Inter_700Bold', fontSize: 18, color: '#fff' }}>
1,792
</Text>
<View style={{ alignItems: 'center', gap: 10, flexDirection: 'row' }}>
<View
style={{
flex: 1,
height: 5,
borderRadius: 3,
backgroundColor: '#3A3A3C',
overflow: 'hidden',
}}>
<View
style={{ width: '18%', height: 5, backgroundColor: '#FFD60A', borderRadius: 3 }}
/>
</View>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_400Regular',
fontSize: 11,
color: '#A1A1A6',
}}>
10,000
</Text>
</View>
</View>
<View
style={{
backgroundColor: '#1E1E1E',
borderRadius: 12,
padding: 10,
gap: 4,
flex: 1,
}}>
<View style={{ alignItems: 'center', gap: 5, flexDirection: 'row' }}>
<Svg
width="13"
height="13"
viewBox="0 0 24 24"
fill="none"
stroke="#FF453A"
strokeWidth="2.2"
strokeLinejoin="round">
<Path d="M12 22c4 0 7-3 7-7 0-4-3-6-4-10-2 2-3 4-3 6-1-1-2-2-2-4-3 3-5 5-5 8 0 4 3 7 7 7z" />
</Svg>
<Text
style={{
fontFamily: 'Inter_500Medium',
fontSize: 12,
color: '#FF453A',
flexShrink: 1,
}}>
Calories burned
</Text>
</View>
<Text style={{ fontFamily: 'Inter_700Bold', fontSize: 18, color: '#fff' }}>
1,874
</Text>
<Text style={{ fontFamily: 'Inter_400Regular', fontSize: 11, color: '#A1A1A6' }}>
↑ 19% on last week
</Text>
</View>
</View>
</View>
<View
style={{
marginTop: 10,
marginBottom: 0,
marginHorizontal: 12,
backgroundColor: '#1E1E1E',
borderRadius: 12,
padding: 10,
}}>
<View style={{ alignItems: 'center', gap: 5, flexDirection: 'row' }}>
<Svg
width="13"
height="13"
viewBox="0 0 24 24"
fill="none"
stroke="#FF453A"
strokeWidth="2.2"
strokeLinejoin="round">
<Path d="M12 22c4 0 7-3 7-7 0-4-3-6-4-10-2 2-3 4-3 6-1-1-2-2-2-4-3 3-5 5-5 8 0 4 3 7 7 7z" />
</Svg>
<Text
style={{
fontFamily: 'Inter_500Medium',
fontSize: 12,
color: '#FF453A',
flexShrink: 1,
}}>
Calories burned
</Text>
</View>
<Text style={{ marginTop: 4, fontFamily: 'Inter_700Bold', fontSize: 18, color: '#fff' }}>
1,808kcal
</Text>
<View style={{ justifyContent: 'space-between', marginTop: 12, flexDirection: 'row' }}>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_400Regular',
fontSize: 11,
color: '#A1A1A6',
}}>
Workout
</Text>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_400Regular',
fontSize: 11,
color: '#A1A1A6',
}}>
Active
</Text>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_400Regular',
fontSize: 11,
color: '#A1A1A6',
}}>
BMR
</Text>
</View>
<View style={{ gap: 3, marginTop: 6, flexDirection: 'row' }}>
<View style={{ flex: 534, height: 10, borderRadius: 5, backgroundColor: '#FF453A' }} />
<View style={{ flex: 437, height: 10, borderRadius: 5, backgroundColor: '#3A3A3C' }} />
<View style={{ flex: 836, height: 10, borderRadius: 5, backgroundColor: '#FF9F0A' }} />
</View>
<View style={{ justifyContent: 'space-between', marginTop: 8, flexDirection: 'row' }}>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_600SemiBold',
fontSize: 12,
color: '#fff',
}}>
534
</Text>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_600SemiBold',
fontSize: 12,
color: '#fff',
}}>
437
</Text>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_600SemiBold',
fontSize: 12,
color: '#fff',
}}>
836
</Text>
</View>
</View>
{showBack ? (
<Pressable
accessibilityRole="button"
onPress={backToToday}
style={{
position: 'absolute',
left: '50%',
bottom: 104,
transform: [{ translateX: '-50%' }],
height: 36,
paddingVertical: 0,
paddingHorizontal: 16,
borderRadius: 18,
backgroundColor: '#1C1C1E',
borderWidth: 1,
borderColor: 'rgba(255,255,255,0.1)',
boxShadow: '0 6px 18px rgba(0,0,0,0.5)',
alignItems: 'center',
justifyContent: 'center',
}}>
<Text
style={{
fontFamily: 'Inter_500Medium',
fontSize: 12,
color: '#fff',
textAlign: 'center',
}}>
Back to Today
</Text>
</Pressable>
) : null}
<Pressable
accessibilityRole="button"
accessibilityLabel="Ask your coach"
style={{
position: 'absolute',
right: 14,
bottom: 96,
width: 52,
height: 52,
borderRadius: 26,
borderWidth: 0,
boxShadow: '0 0 22px rgba(60,227,107,0.5)',
alignItems: 'center',
justifyContent: 'center',
overflow: 'hidden',
flexDirection: 'row',
}}>
<LinearGradient
colors={['#E6FF2E', '#3CE36B']}
locations={[0, 1]}
start={{ x: 0.5, y: 0 }}
end={{ x: 0.5, y: 1 }}
style={StyleSheet.absoluteFill}
/>
<Svg width="22" height="22" viewBox="0 0 100 100" style={{ position: 'relative' }}>
<Path
d="M50 4C54 38 62 46 96 50C62 54 54 62 50 96C46 62 38 54 4 50C38 46 46 38 50 4Z"
fill="#111"
/>
</Svg>
</Pressable>
<View
style={{
position: 'absolute',
left: 0,
right: 0,
bottom: 0,
height: 84,
paddingBottom: 28,
borderTopWidth: 1,
borderTopColor: 'rgba(255,255,255,0.08)',
backgroundColor: '#121212',
justifyContent: 'space-around',
alignItems: 'center',
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="link"
accessibilityLabel="Home"
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg width="22" height="22" viewBox="0 0 24 24" fill="#fff">
<Path d="M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="link"
accessibilityLabel="Search"
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="21"
height="21"
viewBox="0 0 24 24"
fill="none"
stroke="#6E6E73"
strokeWidth="2.2"
strokeLinecap="round">
<Circle cx="11" cy="11" r="7" />
<Path d="M20 20l-4-4" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="link"
accessibilityLabel="Add workout"
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg width="22" height="22" viewBox="0 0 24 24">
<Rect x="3" y="3" width="18" height="18" rx="4" fill="#6E6E73" />
<Path d="M12 8v8M8 12h8" stroke="#121212" strokeWidth="2.2" strokeLinecap="round" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="link"
accessibilityLabel="Community"
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg width="24" height="22" viewBox="0 0 26 22" fill="#6E6E73">
<Circle cx="9" cy="6" r="4" />
<Circle cx="18" cy="7" r="3.2" />
<Path d="M1 20c0-4.5 3.6-7 8-7s8 2.5 8 7zM16 13.5c4.5-.5 9 1.5 9 6.5h-6" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="link"
accessibilityLabel="Profile"
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('bd3443ca83.jpg') }}
contentFit="cover"
style={{ width: 26, height: 26, borderRadius: 13 }}
/>
</Pressable>
</View>
</View>
</Screen>
);
}src/components/screen.tsx
import { StatusBar } from 'expo-status-bar';
import type { ReactNode } from 'react';
import { ScrollView, useWindowDimensions, View } from 'react-native';
// Every screen is drawn on a 390 wide artboard, then scaled to the device width.
const ARTBOARD_WIDTH = 390;
type Props = {
background: string;
statusBar: 'light' | 'dark';
height?: number;
children: ReactNode;
};
export function Screen({ background, statusBar, height: artboardHeight = 844, children }: Props) {
const { width, height } = useWindowDimensions();
const scale = width / ARTBOARD_WIDTH;
return (
<ScrollView
bounces={false}
showsVerticalScrollIndicator={false}
style={{ flex: 1, backgroundColor: background }}
contentContainerStyle={{ height: Math.max(artboardHeight * scale, height) }}>
<StatusBar style={statusBar} />
<View
style={{
width: ARTBOARD_WIDTH,
height: artboardHeight,
overflow: 'hidden',
transformOrigin: 'left top',
transform: [{ scale }],
}}>
{children}
</View>
</ScrollView>
);
}src/lib/assets.ts
// Demo images are hosted by DeveloperMill. Point this at your own CDN, or swap to require().
const ASSET_BASE = 'https://developermill.com/app-designs/fitness-coach-app-ui-design/assets';
export const asset = (name: string) => `${ASSET_BASE}/${name}`;src/lib/css.ts
import type { TextStyle, ViewStyle } from 'react-native';
// A few styles change with state, so they are kept as short CSS strings from the design.
const FACES: Record<number, string> = {
400: 'Inter_400Regular',
500: 'Inter_500Medium',
600: 'Inter_600SemiBold',
700: 'Inter_700Bold',
800: 'Inter_800ExtraBold',
};
const px = (value: string) => (value.endsWith('%') ? (value as `${number}%`) : parseFloat(value));
function declarations(source: string) {
return source
.split(';')
.map((rule) => rule.split(':').map((part) => part.trim()))
.filter(([name, value]) => name && value);
}
export function css(source: string): ViewStyle {
const style: Record<string, unknown> = {};
for (const [name, ...rest] of declarations(source)) {
const value = rest.join(':');
if (name === 'background' || name === 'background-color') {
style.backgroundColor = value;
} else if (name === 'border') {
const [width, , ...color] = value.split(' ');
if (value === 'none' || value === '0') style.borderWidth = 0;
else {
style.borderWidth = parseFloat(width);
style.borderColor = color.join(' ');
}
} else if (name === 'display' && value === 'flex') {
style.flexDirection = style.flexDirection ?? 'row';
} else if (name === 'flex-direction') {
style.flexDirection = value;
} else if (name === 'align-items') {
style.alignItems = value;
} else if (name === 'justify-content') {
style.justifyContent = value;
} else if (name === 'box-shadow') {
style.boxShadow = value;
} else if (name === 'position') {
style.position = value === 'absolute' ? 'absolute' : 'relative';
} else if (name === 'opacity') {
style.opacity = parseFloat(value);
} else if (name === 'z-index') {
style.zIndex = parseInt(value, 10);
} else if (name === 'overflow') {
style.overflow = value === 'hidden' ? 'hidden' : 'visible';
} else if (name.startsWith('margin-')) {
const side = name.slice(7);
style[`margin${side[0].toUpperCase()}${side.slice(1)}`] = px(value);
} else if (['gap', 'width', 'height', 'left', 'top', 'right', 'bottom'].includes(name)) {
style[name] = px(value);
} else if (name === 'border-radius') {
style.borderRadius = px(value);
} else if (name === 'padding') {
const [top, right = top, bottom = top, left = right] = value.split(' ');
style.paddingTop = px(top);
style.paddingRight = px(right);
style.paddingBottom = px(bottom);
style.paddingLeft = px(left);
} else if (name === 'white-space' && value === 'nowrap') {
style.flexShrink = 0;
} else if (name === 'flex-shrink') {
style.flexShrink = parseFloat(value);
} else if (name === 'flex') {
const [grow, shrink, basis] = value.split(' ');
if (value === 'none') {
style.flexGrow = 0;
style.flexShrink = 0;
} else if (shrink === undefined) {
style.flex = parseFloat(grow);
} else {
style.flexGrow = parseFloat(grow);
style.flexShrink = parseFloat(shrink);
if (basis && basis !== 'auto') style.flexBasis = px(basis);
}
}
}
return style as ViewStyle;
}
export function cssText(source: string): TextStyle {
const style: Record<string, unknown> = {};
for (const [name, value] of declarations(source)) {
if (name === 'color') style.color = value;
if (name === 'font-size') style.fontSize = parseFloat(value);
if (name === 'letter-spacing') style.letterSpacing = parseFloat(value);
if (name === 'font-weight' && FACES[Number(value)]) style.fontFamily = FACES[Number(value)];
if (name === 'text-decoration' && value.startsWith('line-through')) {
style.textDecorationLine = 'line-through';
}
}
return style as TextStyle;
}About this design
The dashboard opens on a week strip with activity dots. Pick a day to see a walk on a map, muscle recovery, streak level, steps, calories and a calorie split bar, with a floating button to ask the coach and a Back to Today pill.
Near black with a lime to green neon gradient, a glowing sparkle mark, soft grey cards and coloured metric labels in Inter.
- Neon gradient sparkle and buttons
- Week picker with activity dots
- Walk card over a route map
- Recovery, streak, steps and calorie cards
Colour palette
Night
#121212
Neon lime
#E6FF2E
Green
#3CE36B
Card
#1E1E1E
Amber
#FF9F0A
Red
#FF453A
How to use this design
- 01
Pick what to copy
Copy the FitCoach AI Fitness artifact, skill or code from this page.
- 02
Run it or generate it
Paste the code into a new Expo app and start it, or give the skill to your AI coding agent.
- 03
Make it yours
Replace the demo images and sample content, then connect your own data.
Frequently asked questions
Does the week picker work?
Yes. Tap a day to select it. When a day other than today is selected, a Back to Today button appears and resets the selection.
Where would the AI coach go?
The round sparkle button is the entry point. Open a chat screen from it and send messages to your AI backend.
Can it read Apple Health or Google Fit?
The UI uses sample numbers. Connect a health library to fill steps, calories and recovery with real data.
Is the FitCoach AI Fitness design free to use?
Yes. The design, skill and Expo code are free and MIT licensed, including for commercial apps. Replace the demo images and sample content with your own before you ship.
What is the difference between the artifact, skill and code?
The artifact is the full design: tokens, screens and source. The skill is a SKILL.md that teaches an AI coding agent to build the UI. The code is the finished Expo app you can paste in and run.
Which Expo version does the code use?
It targets Expo SDK 58 with Expo Router and TypeScript. It uses packages installed through npx expo install, with no custom native code.


