// Education app UI
Kids Learning App UI Design in Expo
This kids learning app UI is built for young readers and their parents. A cheerful onboarding screen leads to a dashboard with a weekly streak, four colourful subject cards, a lesson in progress and earned badges.
- Screens
- 3
- Built with
- Expo SDK 58
- Fonts
- Fredoka, Nunito
- License
- Free (MIT)
- Views
- 1

Lumikid Kids Learning app screens

Onboarding
A bold headline, a daydreaming child photo with doodles, a pager and a Let's Get Started button.

Learning dashboard
A greeting, a five day streak card, four subject tiles, a lesson in progress and a row of badges.

Reading lesson
Lesson progress, a story card with highlighted words over a kitten photo, and a three answer quiz.
Copy the Lumikid Kids Learning 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
# Lumikid Kids Learning: design artifact
This kids learning app UI is built for young readers and their parents. A cheerful onboarding screen leads to a dashboard with a weekly streak, four colourful subject cards, a lesson in progress and earned badges.
- Type: Education mobile app UI
- Screens: 3
- 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/kids-learning-app-ui-design
## Design direction
Warm cream and soft pastels with a deep indigo ink, rounded Fredoka headlines and hand-drawn doodles around real photography.
- Doodle onboarding with a photo cut-out
- Weekly streak tracker with a star reward
- Colour-coded subject cards with SVG icons
- Reading quiz with highlighted words and answer cards
## Foundations
### Colour
| Token | Hex |
| --- | --- |
| Indigo ink | `#23204F` |
| Violet | `#6C4CF1` |
| Lavender | `#B9AEF7` |
| Mint | `#8FDDB0` |
| Coral | `#FFB3AE` |
| Sunshine | `#FFD66B` |
### Typography
- Typefaces: Fredoka, Nunito
- Common sizes (px): 10, 11, 12, 13, 14, 15, 16, 18
### Shape and depth
- Common corner radii (px): 3, 4, 11, 13, 16, 18
- Shadows: `0 4px 14px rgba(35,32,79,0.06)`, `0 2px 8px rgba(35,32,79,0.1)`, `0 8px 24px rgba(35,32,79,0.12)`, `0 8px 18px rgba(108,76,241,0.3)`
## Screens
### 1. Onboarding
A bold headline, a daydreaming child photo with doodles, a pager and a Let's Get Started button.
Preview: https://developermill.com/app-designs/kids-learning-app-ui-design/welcome.webp
Copy on this screen:
- Skip
- Big
- Dreams
- Start Here
- A fun and personalized learning app that helps kids build skills, confidence and a brighter future.
- Curious
- Minds
- Brighter
- Futures
- Let's Get Started
- Already have an account?
- Sign in
### 2. Learning dashboard
A greeting, a five day streak card, four subject tiles, a lesson in progress and a row of badges.
Preview: https://developermill.com/app-designs/kids-learning-app-ui-design/dashboard.webp
Copy on this screen:
- Ready to learn something new?
- You're on a 5 day streak!
- Mon
- Tue
- Wed
- Thu
- Fri
- Sat
- Sun
- Reading
- Build your super reading skills
- Math
- Solve, play and grow
- Science
- Explore the amazing world
- Creativity
- Imagine, create and express
- Continue Learning
- See all
- Animals Around Us
- Badges
- First Lesson
- 5 Day Streak
- Math Star
- Curious Mind
- Home
- Explore
- Rewards
- Profile
### 3. Reading lesson
Lesson progress, a story card with highlighted words over a kitten photo, and a three answer quiz.
Preview: https://developermill.com/app-designs/kids-learning-app-ui-design/lesson.webp
Copy on this screen:
- Reading
- Let's Read!
- The
- cat
- sits on the
- mat
- .
- It is a sunny day.
- What is the cat sitting on?
- A bed
- A mat
- A table
- Next
## Full source
The original artboards as HTML. Image URLs point at the hosted demo assets.
### Onboarding (Main)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Lumikid – 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=Fredoka:wght@500;600;700&family=Nunito:wght@500;600;700;800&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#2B2560}a:hover{color:#6C4CF1}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; position: relative; overflow: hidden; background: #FFFBF6; font-family: 'Nunito', sans-serif; color: #23204F">
<div style="position: absolute; left: 70px; top: 470px; width: 380px; height: 300px; border-radius: 48% 52% 40% 60% / 55% 45% 55% 45%; background: #FBE1E8"></div>
<div style="position: absolute; left: -60px; top: 560px; width: 220px; height: 160px; border-radius: 50%; background: #FDEDF1"></div>
<div style="position: absolute; top: 54px; right: 24px">
<button type="button" style="border: 0; background: none; font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 700; color: #5E5A7A; padding: 12px 8px; cursor: pointer">Skip</button>
</div>
<div style="position: absolute; left: 32px; top: 120px; right: 28px">
<h1 style="margin: 0; font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 46px; line-height: 1.04; letter-spacing: -0.5px; color: {{ink}}">Big<br>Dreams<br>Start Here</h1>
<svg aria-hidden="true" width="34" height="34" viewBox="0 0 34 34" style="position: absolute; left: 222px; top: 30px"><path d="M6 20 L18 8 M10 28 L28 22 M22 30 L30 30" stroke="#F5B731" stroke-width="3.5" stroke-linecap="round" fill="none"></path></svg>
<p style="margin: 18px 0 0; font-size: 16px; line-height: 1.45; font-weight: 600; color: #4A4668; max-width: 300px">A fun and personalized learning app that helps kids build skills, confidence and a brighter future.</p>
</div>
<svg aria-hidden="true" width="44" height="34" viewBox="0 0 44 34" style="position: absolute; left: 92px; top: 400px; transform: rotate(-14deg)"><path d="M4 30 L4 10 L14 20 L22 4 L30 20 L40 10 L40 30 Z" stroke="#E6A93A" stroke-width="2.5" stroke-linejoin="round" fill="none"></path></svg>
<svg aria-hidden="true" width="26" height="26" viewBox="0 0 24 24" style="position: absolute; left: 34px; top: 610px"><path d="M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 21l1.6-7L2 9.2l7.1-.6z" fill="#F5C232"></path></svg>
<div style="position: absolute; right: 26px; top: 450px; transform: rotate(-8deg); font-family: 'Fredoka', sans-serif; font-size: 15px; line-height: 1.25; color: #2B2560; text-align: center">Curious<br>Minds<br>Brighter<br>Futures</div>
<svg aria-hidden="true" width="18" height="16" viewBox="0 0 24 22" style="position: absolute; right: 52px; top: 540px"><path d="M12 20 C4 14 2 10 2 7 a5 5 0 0 1 10-1 a5 5 0 0 1 10 1 c0 3-2 7-10 13z" stroke="#2B2560" stroke-width="2" fill="none"></path></svg>
<img src="https://developermill.com/app-designs/kids-learning-app-ui-design/assets/7bf2924c18.jpg" alt="Smiling girl resting her chin on her hands, daydreaming" style="position: absolute; left: 30px; top: 400px; width: 280px; height: 350px; object-fit: cover; object-position: center top; mix-blend-mode: multiply">
<div style="position: absolute; left: 0; right: 0; top: 694px; display: flex; justify-content: center; gap: 8px">
<span style="width: 22px; height: 8px; border-radius: 4px; background: #2B2560"></span>
<span style="width: 8px; height: 8px; border-radius: 4px; background: #D6D3E2"></span>
<span style="width: 8px; height: 8px; border-radius: 4px; background: #D6D3E2"></span>
<span style="width: 8px; height: 8px; border-radius: 4px; background: #D6D3E2"></span>
</div>
<div style="position: absolute; left: 24px; right: 24px; top: 722px; display: flex; flex-direction: column; align-items: center; gap: 16px">
<button type="button" style="width: 100%; height: 56px; border: 0; border-radius: 28px; background: {{ink}}; color: #FFFFFF; font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer">Let's Get Started
<svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"></path></svg>
</button>
<p style="margin: 0; font-size: 14px; font-weight: 600; color: #4A4668">Already have an account? <a href="#" style="font-weight: 800; text-decoration: underline">Sign in</a></p>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"ink":{"editor":"color","default":"#23204F"},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
return { ink: this.props.ink ?? '#23204F' };
}
}
</script>
</body>
</html>
```
### Learning dashboard (Dashboard)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Lumikid – 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=Fredoka:wght@500;600;700&family=Nunito:wght@500;600;700;800&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#5B3FE0}a:hover{color:#23204F}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; position: relative; overflow: hidden; background: #FFFFFF; font-family: 'Nunito', sans-serif; color: #23204F">
<div style="padding: 52px 20px 0; display: flex; flex-direction: column; gap: 14px">
<div style="display: flex; align-items: center; gap: 12px">
<img src="https://developermill.com/app-designs/kids-learning-app-ui-design/assets/dc1a850748.jpg" alt="Amara's avatar" style="width: 48px; height: 48px; border-radius: 24px; object-fit: cover">
<div style="flex: 1">
<div style="font-family: 'Fredoka', sans-serif; font-size: 22px; font-weight: 600; line-height: 1.1">Hi, {{name}}!</div>
<div style="font-size: 13px; font-weight: 600; color: #5E5A7A">Ready to learn something new?</div>
</div>
<button type="button" aria-label="Notifications" style="width: 44px; height: 44px; border: 0; background: none; display: flex; align-items: center; justify-content: center; cursor: pointer">
<svg aria-hidden="true" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#23204F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.7 21a2 2 0 0 1-3.4 0"></path></svg>
</button>
</div>
<div style="background: #F2F0FD; border-radius: 18px; padding: 14px 16px; position: relative">
<div style="font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 6px">You're on a 5 day streak!
<svg aria-hidden="true" width="14" height="16" viewBox="0 0 24 28"><path d="M12 1c1 6 8 8 8 16a8 8 0 0 1-16 0c0-4 2-6 3-8 1 3 2 4 3 4-1-5 0-9 2-12z" fill="#FF7A2F"></path></svg>
</div>
<div style="display: flex; gap: 10px; margin-top: 10px; padding-right: 44px">
<div style="display: flex; flex-direction: column; align-items: center; gap: 4px; width: 26px"><span style="width: 22px; height: 22px; border-radius: 11px; background: #6C4CF1; display: flex; align-items: center; justify-content: center"><svg aria-hidden="true" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#FFF" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5L20 7"></path></svg></span><span style="font-size: 10px; font-weight: 700; color: #5E5A7A">Mon</span></div>
<div style="display: flex; flex-direction: column; align-items: center; gap: 4px; width: 26px"><span style="width: 22px; height: 22px; border-radius: 11px; background: #6C4CF1; display: flex; align-items: center; justify-content: center"><svg aria-hidden="true" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#FFF" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5L20 7"></path></svg></span><span style="font-size: 10px; font-weight: 700; color: #5E5A7A">Tue</span></div>
<div style="display: flex; flex-direction: column; align-items: center; gap: 4px; width: 26px"><span style="width: 22px; height: 22px; border-radius: 11px; background: #6C4CF1; display: flex; align-items: center; justify-content: center"><svg aria-hidden="true" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#FFF" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5L20 7"></path></svg></span><span style="font-size: 10px; font-weight: 700; color: #5E5A7A">Wed</span></div>
<div style="display: flex; flex-direction: column; align-items: center; gap: 4px; width: 26px"><span style="width: 22px; height: 22px; border-radius: 11px; background: #6C4CF1; display: flex; align-items: center; justify-content: center"><svg aria-hidden="true" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#FFF" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5L20 7"></path></svg></span><span style="font-size: 10px; font-weight: 700; color: #5E5A7A">Thu</span></div>
<div style="display: flex; flex-direction: column; align-items: center; gap: 4px; width: 26px"><span style="width: 22px; height: 22px; border-radius: 11px; background: #DCD6FA"></span><span style="font-size: 10px; font-weight: 700; color: #5E5A7A">Fri</span></div>
<div style="display: flex; flex-direction: column; align-items: center; gap: 4px; width: 26px"><span style="width: 22px; height: 22px; border-radius: 11px; background: #DCD6FA"></span><span style="font-size: 10px; font-weight: 700; color: #5E5A7A">Sat</span></div>
<div style="display: flex; flex-direction: column; align-items: center; gap: 4px; width: 26px"><span style="width: 22px; height: 22px; border-radius: 11px; background: #DCD6FA"></span><span style="font-size: 10px; font-weight: 700; color: #5E5A7A">Sun</span></div>
</div>
<svg aria-hidden="true" width="40" height="40" viewBox="0 0 24 24" style="position: absolute; right: 14px; top: 28px"><path d="M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 21l1.6-7L2 9.2l7.1-.6z" fill="#FFC531" stroke="#F0A81C" stroke-width="1" stroke-linejoin="round"></path></svg>
</div>
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px">
<a href="#" style="text-decoration: none; color: #23204F; background: #B9AEF7; border-radius: 18px; padding: 14px; height: 112px; box-sizing: border-box; position: relative; display: flex; flex-direction: column; justify-content: flex-end">
<svg aria-hidden="true" width="36" height="30" viewBox="0 0 36 30" style="position: absolute; left: 14px; top: 12px"><path d="M18 6 C13 2 6 2 2 4 V27 C6 25 13 25 18 28 C23 25 30 25 34 27 V4 C30 2 23 2 18 6Z" fill="#FFFFFF" stroke="#4B36B8" stroke-width="2" stroke-linejoin="round"></path><path d="M18 6 V28" stroke="#4B36B8" stroke-width="2"></path></svg>
<span style="font-family: 'Fredoka', sans-serif; font-size: 16px; font-weight: 600">Reading</span>
<span style="font-size: 11px; font-weight: 700; line-height: 1.25; max-width: 100px">Build your super reading skills</span>
<span style="position: absolute; right: 12px; bottom: 14px; width: 26px; height: 26px; border-radius: 13px; background: #FFFFFF; display: flex; align-items: center; justify-content: center"><svg aria-hidden="true" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#23204F" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"></path></svg></span>
</a>
<a href="#" style="text-decoration: none; color: #23204F; background: #8FDDB0; border-radius: 18px; padding: 14px; height: 112px; box-sizing: border-box; position: relative; display: flex; flex-direction: column; justify-content: flex-end">
<svg aria-hidden="true" width="34" height="34" viewBox="0 0 34 34" style="position: absolute; left: 14px; top: 10px"><path d="M9 3v12M3 9h12" stroke="#1E7A4C" stroke-width="4" stroke-linecap="round"></path><path d="M20 9h11" stroke="#1E7A4C" stroke-width="4" stroke-linecap="round"></path><path d="M5 21l8 8M13 21l-8 8" stroke="#1E7A4C" stroke-width="4" stroke-linecap="round"></path><path d="M20 23h11M20 28h11" stroke="#1E7A4C" stroke-width="4" stroke-linecap="round"></path></svg>
<span style="font-family: 'Fredoka', sans-serif; font-size: 16px; font-weight: 600">Math</span>
<span style="font-size: 11px; font-weight: 700; line-height: 1.25; max-width: 100px">Solve, play and grow</span>
<span style="position: absolute; right: 12px; bottom: 14px; width: 26px; height: 26px; border-radius: 13px; background: #FFFFFF; display: flex; align-items: center; justify-content: center"><svg aria-hidden="true" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#23204F" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"></path></svg></span>
</a>
<a href="#" style="text-decoration: none; color: #23204F; background: #FFB3AE; border-radius: 18px; padding: 14px; height: 112px; box-sizing: border-box; position: relative; display: flex; flex-direction: column; justify-content: flex-end">
<svg aria-hidden="true" width="30" height="34" viewBox="0 0 30 34" style="position: absolute; left: 14px; top: 10px"><path d="M11 3h8M12 3v10L4 28a3 3 0 0 0 3 4h16a3 3 0 0 0 3-4L18 13V3" fill="#FFFFFF" stroke="#B5352B" stroke-width="2" stroke-linejoin="round"></path><path d="M7 24h16l2 4a2 2 0 0 1-2 3H7a2 2 0 0 1-2-3z" fill="#F0605A"></path></svg>
<span style="font-family: 'Fredoka', sans-serif; font-size: 16px; font-weight: 600">Science</span>
<span style="font-size: 11px; font-weight: 700; line-height: 1.25; max-width: 100px">Explore the amazing world</span>
<span style="position: absolute; right: 12px; bottom: 14px; width: 26px; height: 26px; border-radius: 13px; background: #FFFFFF; display: flex; align-items: center; justify-content: center"><svg aria-hidden="true" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#23204F" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"></path></svg></span>
</a>
<a href="#" style="text-decoration: none; color: #23204F; background: #FFD66B; border-radius: 18px; padding: 14px; height: 112px; box-sizing: border-box; position: relative; display: flex; flex-direction: column; justify-content: flex-end">
<svg aria-hidden="true" width="34" height="32" viewBox="0 0 34 32" style="position: absolute; left: 14px; top: 10px"><path d="M17 2C8 2 2 8 2 16s6 14 13 14c3 0 3-3 2-5s0-4 3-4h5c5 0 7-3 7-7C32 7 26 2 17 2z" fill="#B87A3A"></path><circle cx="10" cy="14" r="2.6" fill="#F0605A"></circle><circle cx="15" cy="8" r="2.6" fill="#4B9BF0"></circle><circle cx="22" cy="9" r="2.6" fill="#7BD389"></circle><circle cx="11" cy="21" r="2.6" fill="#FFFFFF"></circle></svg>
<span style="font-family: 'Fredoka', sans-serif; font-size: 16px; font-weight: 600">Creativity</span>
<span style="font-size: 11px; font-weight: 700; line-height: 1.25; max-width: 100px">Imagine, create and express</span>
<span style="position: absolute; right: 12px; bottom: 14px; width: 26px; height: 26px; border-radius: 13px; background: #FFFFFF; display: flex; align-items: center; justify-content: center"><svg aria-hidden="true" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#23204F" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"></path></svg></span>
</a>
</div>
<div style="display: flex; align-items: center; justify-content: space-between; margin-top: 4px">
<h2 style="margin: 0; font-family: 'Fredoka', sans-serif; font-size: 18px; font-weight: 600">Continue Learning</h2>
<a href="#" style="font-size: 13px; font-weight: 700; text-decoration: none; color: #5E5A7A">See all</a>
</div>
<a href="#" style="text-decoration: none; color: #23204F; display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid #ECEAF3; border-radius: 16px; box-shadow: 0 4px 14px rgba(35,32,79,0.06)">
<img src="https://developermill.com/app-designs/kids-learning-app-ui-design/assets/2cce9c55db.jpg" alt="Lion cub in the grass" style="width: 74px; height: 56px; border-radius: 12px; object-fit: cover">
<div style="flex: 1; display: flex; flex-direction: column; gap: 8px">
<span style="font-size: 14px; font-weight: 800">Animals Around Us</span>
<div style="display: flex; align-items: center; gap: 8px">
<span style="flex: 1; height: 6px; border-radius: 3px; background: #E7E4F2; overflow: hidden; display: block"><span style="display: block; width: {{progressPct}}; height: 6px; background: #3DBE8B; border-radius: 3px"></span></span>
<span style="font-size: 11px; font-weight: 800; color: #23204F">{{progressPct}}</span>
</div>
</div>
<svg aria-hidden="true" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#23204F" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"></path></svg>
</a>
<div style="display: flex; align-items: center; justify-content: space-between; margin-top: 2px">
<h2 style="margin: 0; font-family: 'Fredoka', sans-serif; font-size: 18px; font-weight: 600">Badges</h2>
<a href="#" style="font-size: 13px; font-weight: 700; text-decoration: none; color: #5E5A7A">See all</a>
</div>
<div style="display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px">
<div style="display: flex; flex-direction: column; align-items: center; gap: 5px"><span style="width: 52px; height: 52px; border-radius: 16px; background: #FFF4D6; display: flex; align-items: center; justify-content: center"><svg aria-hidden="true" width="30" height="30" viewBox="0 0 24 24"><path d="M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 21l1.6-7L2 9.2l7.1-.6z" fill="#FFC531" stroke="#F0A81C" stroke-width="1" stroke-linejoin="round"></path></svg></span><span style="font-size: 10px; font-weight: 700; text-align: center">First Lesson</span></div>
<div style="display: flex; flex-direction: column; align-items: center; gap: 5px"><span style="width: 52px; height: 52px; border-radius: 16px; background: #FFE6DA; display: flex; align-items: center; justify-content: center"><svg aria-hidden="true" width="26" height="30" viewBox="0 0 24 28"><path d="M12 1c1 6 8 8 8 16a8 8 0 0 1-16 0c0-4 2-6 3-8 1 3 2 4 3 4-1-5 0-9 2-12z" fill="#FF7A2F"></path><path d="M12 14c1 3 4 4 4 8a4 4 0 0 1-8 0c0-2 1-3 2-4 0 1 1 2 2 2 0-2-1-4 0-6z" fill="#FFC531"></path></svg></span><span style="font-size: 10px; font-weight: 700; text-align: center">5 Day Streak</span></div>
<div style="display: flex; flex-direction: column; align-items: center; gap: 5px"><span style="width: 52px; height: 52px; border-radius: 16px; background: #E6E4FB; display: flex; align-items: center; justify-content: center"><svg aria-hidden="true" width="28" height="32" viewBox="0 0 28 32"><path d="M8 2h5l3 8H11z" fill="#4B9BF0"></path><path d="M20 2h-5l-3 8h5z" fill="#6C4CF1"></path><circle cx="14" cy="20" r="9" fill="#FFC531" stroke="#F0A81C" stroke-width="1.5"></circle><path d="M14 15l1.5 3.2 3.4.3-2.6 2.2.8 3.3-3.1-1.8-3.1 1.8.8-3.3-2.6-2.2 3.4-.3z" fill="#FFFFFF"></path></svg></span><span style="font-size: 10px; font-weight: 700; text-align: center">Math Star</span></div>
<div style="display: flex; flex-direction: column; align-items: center; gap: 5px"><span style="width: 52px; height: 52px; border-radius: 16px; background: #EEEAFE; display: flex; align-items: center; justify-content: center"><svg aria-hidden="true" width="24" height="32" viewBox="0 0 24 32"><path d="M12 2a9 9 0 0 0-5 16.5V22h10v-3.5A9 9 0 0 0 12 2z" fill="#FFD23F" stroke="#F0A81C" stroke-width="1.2"></path><rect x="7" y="23" width="10" height="3" rx="1" fill="#8C88A8"></rect><rect x="8.5" y="27" width="7" height="3" rx="1.5" fill="#8C88A8"></rect></svg></span><span style="font-size: 10px; font-weight: 700; text-align: center">Curious Mind</span></div>
</div>
</div>
<nav aria-label="Main" style="position: absolute; left: 0; right: 0; bottom: 0; height: 82px; box-sizing: border-box; padding: 8px 12px 22px; background: #FFFFFF; border-top: 1px solid #EFEDF5; display: flex; justify-content: space-around">
<a href="#" aria-current="page" style="text-decoration: none; color: #6C4CF1; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 64px; padding-top: 4px"><svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24"><path d="M3 11l9-8 9 8v9a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z" fill="#6C4CF1"></path></svg><span style="font-size: 11px; font-weight: 800">Home</span></a>
<a href="#" style="text-decoration: none; color: #5E5A7A; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 64px; padding-top: 4px"><svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#5E5A7A" stroke-width="2" stroke-linecap="round"><circle cx="11" cy="11" r="7"></circle><path d="M21 21l-4.5-4.5"></path></svg><span style="font-size: 11px; font-weight: 700">Explore</span></a>
<a href="#" style="text-decoration: none; color: #5E5A7A; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 64px; padding-top: 4px"><svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#5E5A7A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M7 4h10v6a5 5 0 0 1-10 0z"></path><path d="M7 6H4a3 3 0 0 0 3 4M17 6h3a3 3 0 0 1-3 4M12 15v4M8 21h8"></path></svg><span style="font-size: 11px; font-weight: 700">Rewards</span></a>
<a href="#" style="text-decoration: none; color: #5E5A7A; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 64px; padding-top: 4px"><svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#5E5A7A" stroke-width="2" stroke-linecap="round"><circle cx="12" cy="8" r="4"></circle><path d="M4 21c1-4 4-6 8-6s7 2 8 6"></path></svg><span style="font-size: 11px; font-weight: 700">Profile</span></a>
</nav>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"name":{"editor":"text","default":"Amara"},"progress":{"editor":"number","default":60},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
const p = this.props.progress ?? 60;
return { name: this.props.name ?? 'Amara', progressPct: p + '%' };
}
}
</script>
</body>
</html>
```
### Reading lesson (Lesson)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Lumikid – Lesson</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=Fredoka:wght@500;600;700&family=Nunito:wght@500;600;700;800&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#5B3FE0}a:hover{color:#23204F}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; position: relative; overflow: hidden; background: #DDF1FF; font-family: 'Nunito', sans-serif; color: #23204F">
<img src="https://developermill.com/app-designs/kids-learning-app-ui-design/assets/0c93a5ff6e.jpg" alt="Orange kitten sitting on a purple mat in a sunny park" style="position: absolute; left: -40px; top: 150px; width: 470px; height: 380px; object-fit: cover; object-position: 50% 60%">
<div style="position: absolute; left: 0; right: 0; top: 0; height: 130px; background: linear-gradient(#DDF1FF 70%, rgba(221,241,255,0))"></div>
<div style="position: absolute; left: 20px; right: 20px; top: 50px; display: flex; align-items: center">
<button type="button" aria-label="Back" style="width: 44px; height: 44px; border-radius: 22px; border: 0; background: #FFFFFF; box-shadow: 0 2px 8px rgba(35,32,79,0.1); display: flex; align-items: center; justify-content: center; cursor: pointer">
<svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#23204F" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M15 5l-7 7 7 7"></path></svg>
</button>
<div style="flex: 1; text-align: center; font-family: 'Fredoka', sans-serif; font-size: 17px; font-weight: 600; margin-right: 44px">Reading</div>
</div>
<div style="position: absolute; left: 76px; right: 24px; top: 104px; display: flex; align-items: center; gap: 6px">
<span style="flex: 1; height: 6px; border-radius: 3px; background: #6C4CF1"></span>
<span style="flex: 1; height: 6px; border-radius: 3px; background: #6C4CF1"></span>
<span style="flex: 1; height: 6px; border-radius: 3px; background: #6C4CF1"></span>
<span style="flex: 1; height: 6px; border-radius: 3px; background: #FFFFFF"></span>
<span style="flex: 1; height: 6px; border-radius: 3px; background: #FFFFFF"></span>
<span style="font-size: 12px; font-weight: 800; margin-left: 6px">{{step}}/5</span>
</div>
<div style="position: absolute; left: 24px; right: 24px; top: 140px; background: #FFFFFF; border-radius: 22px; padding: 18px 20px 20px; box-shadow: 0 8px 24px rgba(35,32,79,0.12)">
<div style="display: flex; align-items: center; justify-content: space-between">
<h1 style="margin: 0; font-family: 'Fredoka', sans-serif; font-size: 24px; font-weight: 700">Let's Read!</h1>
<button type="button" aria-label="Read aloud" style="width: 44px; height: 44px; border-radius: 14px; border: 0; background: #EEEAFE; display: flex; align-items: center; justify-content: center; cursor: pointer">
<svg aria-hidden="true" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#6C4CF1" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 5L6 9H2v6h4l5 4z" fill="#6C4CF1"></path><path d="M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14"></path></svg>
</button>
</div>
<p style="margin: 12px 0 0; font-size: 20px; line-height: 1.6; font-weight: 700">The <mark style="background: #C8F0D8; color: #23204F; border-radius: 6px; padding: 0 4px">cat</mark> sits on the <mark style="background: #FFE7A3; color: #23204F; border-radius: 6px; padding: 0 4px">mat</mark>.<br>It is a sunny day.</p>
<svg aria-hidden="true" width="26" height="16" viewBox="0 0 26 16" style="position: absolute; left: 70px; bottom: -14px"><path d="M0 0 H26 L6 16 Z" fill="#FFFFFF"></path></svg>
</div>
<div style="position: absolute; left: 0; right: 0; top: 500px; bottom: 0; background: #FFFFFF; border-radius: 28px 28px 0 0; padding: 24px 20px 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 18px">
<h2 style="margin: 0; text-align: center; font-size: 16px; font-weight: 800">What is the cat sitting on?</h2>
<div role="radiogroup" aria-label="Answer choices" style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px">
<label style="height: 76px; border-radius: 16px; border: 1.5px solid #E4E1EE; background: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; cursor: pointer; position: relative"><input type="radio" name="answer" style="position: absolute; opacity: 0; width: 1px; height: 1px">A bed</label>
<label style="height: 76px; border-radius: 16px; border: 2px solid #3DBE8B; background: #E3F7EC; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: #17603F; cursor: pointer; position: relative"><input type="radio" name="answer" checked style="position: absolute; opacity: 0; width: 1px; height: 1px">A mat
<span style="position: absolute; right: 10px; bottom: -10px; width: 24px; height: 24px; border-radius: 12px; background: #2FA877; border: 2px solid #FFFFFF; display: flex; align-items: center; justify-content: center"><svg aria-hidden="true" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#FFF" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5L20 7"></path></svg></span>
</label>
<label style="height: 76px; border-radius: 16px; border: 1.5px solid #E4E1EE; background: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; cursor: pointer; position: relative"><input type="radio" name="answer" style="position: absolute; opacity: 0; width: 1px; height: 1px">A table</label>
</div>
<button type="button" style="margin-top: 28px; width: 100%; height: 56px; border: 0; border-radius: 28px; background: {{accent}}; color: #FFFFFF; font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; box-shadow: 0 8px 18px rgba(108,76,241,0.3)">Next
<svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"></path></svg>
</button>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"accent":{"editor":"color","default":"#6C4CF1"},"step":{"editor":"number","default":3},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
return { accent: this.props.accent ?? '#6C4CF1', step: this.props.step ?? 3 };
}
}
</script>
</body>
</html>
```SKILL.md
Save as .claude/skills/kids-learning-app-ui/SKILL.md
--- name: kids-learning-app-ui description: Build the Lumikid Kids Learning mobile app UI in Expo React Native. Use when asked to create a kids learning app UI or a new screen in this visual style. --- # Lumikid Kids Learning app UI Build this education app UI in an Expo Router project with TypeScript. Reference: https://developermill.com/app-designs/kids-learning-app-ui-design ## Visual direction Warm cream and soft pastels with a deep indigo ink, rounded Fredoka headlines and hand-drawn doodles around real photography. Keep these signature details: - Doodle onboarding with a photo cut-out - Weekly streak tracker with a star reward - Colour-coded subject cards with SVG icons - Reading quiz with highlighted words and answer cards ## Set up ```bash npx expo install expo-image expo-linear-gradient react-native-svg @expo-google-fonts/fredoka @expo-google-fonts/nunito expo-font ``` ## Tokens | Name | Hex | | --- | --- | | Indigo ink | `#23204F` | | Violet | `#6C4CF1` | | Lavender | `#B9AEF7` | | Mint | `#8FDDB0` | | Coral | `#FFB3AE` | | Sunshine | `#FFD66B` | - Typefaces: Fredoka, Nunito - Text sizes (px): 10, 11, 12, 13, 14, 15, 16, 18 - Corner radii (px): 3, 4, 11, 13, 16, 18 Define these once and reuse them. Do not add new colours. ## Screens 1. **Onboarding.** A bold headline, a daydreaming child photo with doodles, a pager and a Let's Get Started button. 2. **Learning dashboard.** A greeting, a five day streak card, four subject tiles, a lesson in progress and a row of badges. 3. **Reading lesson.** Lesson progress, a story card with highlighted words over a kitten photo, and a three answer quiz. ## 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 kids-learning-app --template default cd kids-learning-app rm -rf src npx expo install expo-image expo-linear-gradient react-native-svg @expo-google-fonts/fredoka @expo-google-fonts/nunito expo-font
src/app/_layout.tsx
import {
Fredoka_400Regular,
Fredoka_600SemiBold,
Fredoka_700Bold,
} from '@expo-google-fonts/fredoka';
import { Nunito_600SemiBold, Nunito_700Bold, Nunito_800ExtraBold } from '@expo-google-fonts/nunito';
import { useFonts } from 'expo-font';
import { Stack } from 'expo-router';
export default function RootLayout() {
const [fontsLoaded] = useFonts({
Fredoka_400Regular,
Fredoka_600SemiBold,
Fredoka_700Bold,
Nunito_600SemiBold,
Nunito_700Bold,
Nunito_800ExtraBold,
});
if (!fontsLoaded) return null;
return <Stack screenOptions={{ headerShown: false }} />;
}src/app/index.tsx
import { Image } from 'expo-image';
import { Pressable, Text, View } from 'react-native';
import Svg, { Path } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
const ink = '#23204F';
export default function MainScreen() {
return (
<Screen background="#FFFBF6" statusBar="dark">
<View style={{ flex: 1 }}>
<View
style={{
position: 'absolute',
left: 70,
top: 470,
width: 380,
height: 300,
borderTopLeftRadius: '48%',
borderTopRightRadius: '52%',
borderBottomRightRadius: '40%',
borderBottomLeftRadius: '60%',
backgroundColor: '#FBE1E8',
}}
/>
<View
style={{
position: 'absolute',
left: -60,
top: 560,
width: 220,
height: 160,
borderRadius: '50%',
backgroundColor: '#FDEDF1',
}}
/>
<View style={{ position: 'absolute', top: 54, right: 24 }}>
<Pressable
accessibilityRole="button"
style={{
borderWidth: 0,
paddingVertical: 12,
paddingHorizontal: 8,
alignSelf: 'flex-start',
alignItems: 'center',
justifyContent: 'center',
}}>
<Text
style={{
fontFamily: 'Nunito_700Bold',
fontSize: 15,
color: '#5E5A7A',
textAlign: 'center',
}}>
Skip
</Text>
</Pressable>
</View>
<View style={{ position: 'absolute', left: 32, top: 120, right: 28 }}>
<Text
style={{
margin: 0,
fontFamily: 'Fredoka_700Bold',
fontSize: 46,
color: ink,
letterSpacing: -0.5,
lineHeight: 47.84,
}}>
Big{'\n'}Dreams{'\n'}Start Here
</Text>
<Svg
width="34"
height="34"
viewBox="0 0 34 34"
style={{ position: 'absolute', left: 222, top: 30, zIndex: 1 }}>
<Path
d="M6 20 L18 8 M10 28 L28 22 M22 30 L30 30"
stroke="#F5B731"
strokeWidth="3.5"
strokeLinecap="round"
fill="none"
/>
</Svg>
<Text
style={{
marginTop: 18,
marginBottom: 0,
marginHorizontal: 0,
maxWidth: 300,
fontFamily: 'Nunito_600SemiBold',
fontSize: 16,
color: '#4A4668',
lineHeight: 23.2,
}}>
A fun and personalized learning app that helps kids build skills, confidence and a
brighter future.
</Text>
</View>
<Svg
width="44"
height="34"
viewBox="0 0 44 34"
style={{ position: 'absolute', left: 92, top: 400, transform: [{ rotate: '-14deg' }] }}>
<Path
d="M4 30 L4 10 L14 20 L22 4 L30 20 L40 10 L40 30 Z"
stroke="#E6A93A"
strokeWidth="2.5"
strokeLinejoin="round"
fill="none"
/>
</Svg>
<Svg
width="26"
height="26"
viewBox="0 0 24 24"
style={{ position: 'absolute', left: 34, top: 610 }}>
<Path
d="M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 21l1.6-7L2 9.2l7.1-.6z"
fill="#F5C232"
/>
</Svg>
<Text
style={{
position: 'absolute',
right: 26,
top: 450,
transform: [{ rotate: '-8deg' }],
fontFamily: 'Fredoka_400Regular',
fontSize: 15,
color: '#2B2560',
lineHeight: 18.75,
textAlign: 'center',
}}>
Curious{'\n'}Minds{'\n'}Brighter{'\n'}Futures
</Text>
<Svg
width="18"
height="16"
viewBox="0 0 24 22"
style={{ position: 'absolute', right: 52, top: 540 }}>
<Path
d="M12 20 C4 14 2 10 2 7 a5 5 0 0 1 10-1 a5 5 0 0 1 10 1 c0 3-2 7-10 13z"
stroke="#2B2560"
strokeWidth="2"
fill="none"
/>
</Svg>
<Image
source={{ uri: asset('7bf2924c18.jpg') }}
contentFit="cover"
contentPosition="top center"
accessibilityLabel="Smiling girl resting her chin on her hands, daydreaming"
style={{
position: 'absolute',
left: 30,
top: 400,
width: 280,
height: 350,
mixBlendMode: 'multiply',
}}
/>
<View
style={{
position: 'absolute',
left: 0,
right: 0,
top: 694,
justifyContent: 'center',
gap: 8,
flexDirection: 'row',
}}>
<View style={{ width: 22, height: 8, borderRadius: 4, backgroundColor: '#2B2560' }} />
<View style={{ width: 8, height: 8, borderRadius: 4, backgroundColor: '#D6D3E2' }} />
<View style={{ width: 8, height: 8, borderRadius: 4, backgroundColor: '#D6D3E2' }} />
<View style={{ width: 8, height: 8, borderRadius: 4, backgroundColor: '#D6D3E2' }} />
</View>
<View
style={{
position: 'absolute',
left: 24,
right: 24,
top: 722,
alignItems: 'center',
gap: 16,
}}>
<Pressable
accessibilityRole="button"
style={{
width: '100%',
height: 56,
borderWidth: 0,
borderRadius: 28,
backgroundColor: ink,
alignItems: 'center',
justifyContent: 'center',
gap: 10,
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'Nunito_800ExtraBold',
fontSize: 16,
color: '#FFFFFF',
flexShrink: 1,
}}>
{"Let's Get Started"}
</Text>
<Svg
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2.5"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M5 12h14M13 6l6 6-6 6" />
</Svg>
</Pressable>
<Text
style={{ margin: 0, fontFamily: 'Nunito_600SemiBold', fontSize: 14, color: '#4A4668' }}>
{'Already have an account? '}
<Text style={{ fontFamily: 'Nunito_800ExtraBold', textDecorationLine: 'underline' }}>
Sign in
</Text>
</Text>
</View>
</View>
</Screen>
);
}src/app/dashboard.tsx
import { Image } from 'expo-image';
import { Pressable, Text, View } from 'react-native';
import Svg, { Circle, Path, Rect } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
const name = 'Amara';
const progressPct = '60%';
export default function DashboardScreen() {
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ flex: 1 }}>
<View style={{ paddingTop: 52, paddingBottom: 0, paddingHorizontal: 20, gap: 14 }}>
<View style={{ alignItems: 'center', gap: 12, flexDirection: 'row' }}>
<Image
source={{ uri: asset('dc1a850748.jpg') }}
contentFit="cover"
accessibilityLabel="Amara's avatar"
style={{ width: 48, height: 48, borderRadius: 24 }}
/>
<View style={{ flex: 1 }}>
<Text
style={{
fontFamily: 'Fredoka_600SemiBold',
fontSize: 22,
color: '#23204F',
lineHeight: 24.2,
}}>
{'Hi, '}
{name}!
</Text>
<Text style={{ fontFamily: 'Nunito_600SemiBold', fontSize: 13, color: '#5E5A7A' }}>
Ready to learn something new?
</Text>
</View>
<Pressable
accessibilityRole="button"
accessibilityLabel="Notifications"
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="#23204F"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9" />
<Path d="M13.7 21a2 2 0 0 1-3.4 0" />
</Svg>
</Pressable>
</View>
<View
style={{
backgroundColor: '#F2F0FD',
borderRadius: 18,
paddingVertical: 14,
paddingHorizontal: 16,
}}>
<View style={{ alignItems: 'center', gap: 6, flexDirection: 'row' }}>
<Text
style={{
fontFamily: 'Nunito_800ExtraBold',
fontSize: 14,
color: '#23204F',
flexShrink: 1,
}}>
{"You're on a 5 day streak!"}
</Text>
<Svg width="14" height="16" viewBox="0 0 24 28">
<Path
d="M12 1c1 6 8 8 8 16a8 8 0 0 1-16 0c0-4 2-6 3-8 1 3 2 4 3 4-1-5 0-9 2-12z"
fill="#FF7A2F"
/>
</Svg>
</View>
<View style={{ gap: 10, marginTop: 10, paddingRight: 44, flexDirection: 'row' }}>
<View style={{ alignItems: 'center', gap: 4, width: 26 }}>
<View
style={{
width: 22,
height: 22,
borderRadius: 11,
backgroundColor: '#6C4CF1',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="#FFF"
strokeWidth="3.5"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M5 12l5 5L20 7" />
</Svg>
</View>
<Text style={{ fontFamily: 'Nunito_700Bold', fontSize: 10, color: '#5E5A7A' }}>
Mon
</Text>
</View>
<View style={{ alignItems: 'center', gap: 4, width: 26 }}>
<View
style={{
width: 22,
height: 22,
borderRadius: 11,
backgroundColor: '#6C4CF1',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="#FFF"
strokeWidth="3.5"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M5 12l5 5L20 7" />
</Svg>
</View>
<Text style={{ fontFamily: 'Nunito_700Bold', fontSize: 10, color: '#5E5A7A' }}>
Tue
</Text>
</View>
<View style={{ alignItems: 'center', gap: 4, width: 26 }}>
<View
style={{
width: 22,
height: 22,
borderRadius: 11,
backgroundColor: '#6C4CF1',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="#FFF"
strokeWidth="3.5"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M5 12l5 5L20 7" />
</Svg>
</View>
<Text style={{ fontFamily: 'Nunito_700Bold', fontSize: 10, color: '#5E5A7A' }}>
Wed
</Text>
</View>
<View style={{ alignItems: 'center', gap: 4, width: 26 }}>
<View
style={{
width: 22,
height: 22,
borderRadius: 11,
backgroundColor: '#6C4CF1',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="#FFF"
strokeWidth="3.5"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M5 12l5 5L20 7" />
</Svg>
</View>
<Text style={{ fontFamily: 'Nunito_700Bold', fontSize: 10, color: '#5E5A7A' }}>
Thu
</Text>
</View>
<View style={{ alignItems: 'center', gap: 4, width: 26 }}>
<View
style={{ width: 22, height: 22, borderRadius: 11, backgroundColor: '#DCD6FA' }}
/>
<Text style={{ fontFamily: 'Nunito_700Bold', fontSize: 10, color: '#5E5A7A' }}>
Fri
</Text>
</View>
<View style={{ alignItems: 'center', gap: 4, width: 26 }}>
<View
style={{ width: 22, height: 22, borderRadius: 11, backgroundColor: '#DCD6FA' }}
/>
<Text style={{ fontFamily: 'Nunito_700Bold', fontSize: 10, color: '#5E5A7A' }}>
Sat
</Text>
</View>
<View style={{ alignItems: 'center', gap: 4, width: 26 }}>
<View
style={{ width: 22, height: 22, borderRadius: 11, backgroundColor: '#DCD6FA' }}
/>
<Text style={{ fontFamily: 'Nunito_700Bold', fontSize: 10, color: '#5E5A7A' }}>
Sun
</Text>
</View>
</View>
<Svg
width="40"
height="40"
viewBox="0 0 24 24"
style={{ position: 'absolute', right: 14, top: 28 }}>
<Path
d="M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 21l1.6-7L2 9.2l7.1-.6z"
fill="#FFC531"
stroke="#F0A81C"
strokeWidth="1"
strokeLinejoin="round"
/>
</Svg>
</View>
<View style={{ gap: 12 }}>
<View style={{ flexDirection: 'row', gap: 12 }}>
<Pressable
accessibilityRole="link"
style={{
backgroundColor: '#B9AEF7',
borderRadius: 18,
padding: 14,
height: 112,
justifyContent: 'flex-end',
flex: 1,
}}>
<Svg
width="36"
height="30"
viewBox="0 0 36 30"
style={{ position: 'absolute', left: 14, top: 12, zIndex: 1 }}>
<Path
d="M18 6 C13 2 6 2 2 4 V27 C6 25 13 25 18 28 C23 25 30 25 34 27 V4 C30 2 23 2 18 6Z"
fill="#FFFFFF"
stroke="#4B36B8"
strokeWidth="2"
strokeLinejoin="round"
/>
<Path d="M18 6 V28" stroke="#4B36B8" strokeWidth="2" />
</Svg>
<Text style={{ fontFamily: 'Fredoka_600SemiBold', fontSize: 16, color: '#23204F' }}>
Reading
</Text>
<Text
style={{
maxWidth: 100,
fontFamily: 'Nunito_700Bold',
fontSize: 11,
color: '#23204F',
lineHeight: 13.75,
}}>
Build your super reading skills
</Text>
<View
style={{
position: 'absolute',
right: 12,
bottom: 14,
width: 26,
height: 26,
borderRadius: 13,
backgroundColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="#23204F"
strokeWidth="2.6"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M5 12h14M13 6l6 6-6 6" />
</Svg>
</View>
</Pressable>
<Pressable
accessibilityRole="link"
style={{
backgroundColor: '#8FDDB0',
borderRadius: 18,
padding: 14,
height: 112,
justifyContent: 'flex-end',
flex: 1,
}}>
<Svg
width="34"
height="34"
viewBox="0 0 34 34"
style={{ position: 'absolute', left: 14, top: 10, zIndex: 1 }}>
<Path d="M9 3v12M3 9h12" stroke="#1E7A4C" strokeWidth="4" strokeLinecap="round" />
<Path d="M20 9h11" stroke="#1E7A4C" strokeWidth="4" strokeLinecap="round" />
<Path
d="M5 21l8 8M13 21l-8 8"
stroke="#1E7A4C"
strokeWidth="4"
strokeLinecap="round"
/>
<Path
d="M20 23h11M20 28h11"
stroke="#1E7A4C"
strokeWidth="4"
strokeLinecap="round"
/>
</Svg>
<Text style={{ fontFamily: 'Fredoka_600SemiBold', fontSize: 16, color: '#23204F' }}>
Math
</Text>
<Text
style={{
maxWidth: 100,
fontFamily: 'Nunito_700Bold',
fontSize: 11,
color: '#23204F',
lineHeight: 13.75,
}}>
Solve, play and grow
</Text>
<View
style={{
position: 'absolute',
right: 12,
bottom: 14,
width: 26,
height: 26,
borderRadius: 13,
backgroundColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="#23204F"
strokeWidth="2.6"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M5 12h14M13 6l6 6-6 6" />
</Svg>
</View>
</Pressable>
</View>
<View style={{ flexDirection: 'row', gap: 12 }}>
<Pressable
accessibilityRole="link"
style={{
backgroundColor: '#FFB3AE',
borderRadius: 18,
padding: 14,
height: 112,
justifyContent: 'flex-end',
flex: 1,
}}>
<Svg
width="30"
height="34"
viewBox="0 0 30 34"
style={{ position: 'absolute', left: 14, top: 10, zIndex: 1 }}>
<Path
d="M11 3h8M12 3v10L4 28a3 3 0 0 0 3 4h16a3 3 0 0 0 3-4L18 13V3"
fill="#FFFFFF"
stroke="#B5352B"
strokeWidth="2"
strokeLinejoin="round"
/>
<Path d="M7 24h16l2 4a2 2 0 0 1-2 3H7a2 2 0 0 1-2-3z" fill="#F0605A" />
</Svg>
<Text style={{ fontFamily: 'Fredoka_600SemiBold', fontSize: 16, color: '#23204F' }}>
Science
</Text>
<Text
style={{
maxWidth: 100,
fontFamily: 'Nunito_700Bold',
fontSize: 11,
color: '#23204F',
lineHeight: 13.75,
}}>
Explore the amazing world
</Text>
<View
style={{
position: 'absolute',
right: 12,
bottom: 14,
width: 26,
height: 26,
borderRadius: 13,
backgroundColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="#23204F"
strokeWidth="2.6"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M5 12h14M13 6l6 6-6 6" />
</Svg>
</View>
</Pressable>
<Pressable
accessibilityRole="link"
style={{
backgroundColor: '#FFD66B',
borderRadius: 18,
padding: 14,
height: 112,
justifyContent: 'flex-end',
flex: 1,
}}>
<Svg
width="34"
height="32"
viewBox="0 0 34 32"
style={{ position: 'absolute', left: 14, top: 10, zIndex: 1 }}>
<Path
d="M17 2C8 2 2 8 2 16s6 14 13 14c3 0 3-3 2-5s0-4 3-4h5c5 0 7-3 7-7C32 7 26 2 17 2z"
fill="#B87A3A"
/>
<Circle cx="10" cy="14" r="2.6" fill="#F0605A" />
<Circle cx="15" cy="8" r="2.6" fill="#4B9BF0" />
<Circle cx="22" cy="9" r="2.6" fill="#7BD389" />
<Circle cx="11" cy="21" r="2.6" fill="#FFFFFF" />
</Svg>
<Text style={{ fontFamily: 'Fredoka_600SemiBold', fontSize: 16, color: '#23204F' }}>
Creativity
</Text>
<Text
style={{
maxWidth: 100,
fontFamily: 'Nunito_700Bold',
fontSize: 11,
color: '#23204F',
lineHeight: 13.75,
}}>
Imagine, create and express
</Text>
<View
style={{
position: 'absolute',
right: 12,
bottom: 14,
width: 26,
height: 26,
borderRadius: 13,
backgroundColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="#23204F"
strokeWidth="2.6"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M5 12h14M13 6l6 6-6 6" />
</Svg>
</View>
</Pressable>
</View>
</View>
<View
style={{
alignItems: 'center',
justifyContent: 'space-between',
marginTop: 4,
flexDirection: 'row',
}}>
<Text
style={{
margin: 0,
flexShrink: 1,
fontFamily: 'Fredoka_600SemiBold',
fontSize: 18,
color: '#23204F',
}}>
Continue Learning
</Text>
<Pressable accessibilityRole="link" style={{ flexShrink: 1 }}>
<Text style={{ fontFamily: 'Nunito_700Bold', fontSize: 13, color: '#5E5A7A' }}>
See all
</Text>
</Pressable>
</View>
<Pressable
accessibilityRole="link"
style={{
alignItems: 'center',
gap: 14,
padding: 10,
borderWidth: 1,
borderColor: '#ECEAF3',
borderRadius: 16,
boxShadow: '0 4px 14px rgba(35,32,79,0.06)',
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('2cce9c55db.jpg') }}
contentFit="cover"
accessibilityLabel="Lion cub in the grass"
style={{ width: 74, height: 56, borderRadius: 12 }}
/>
<View style={{ flex: 1, gap: 8 }}>
<Text style={{ fontFamily: 'Nunito_800ExtraBold', fontSize: 14, color: '#23204F' }}>
Animals Around Us
</Text>
<View style={{ alignItems: 'center', gap: 8, flexDirection: 'row' }}>
<View
style={{
flex: 1,
height: 6,
borderRadius: 3,
backgroundColor: '#E7E4F2',
overflow: 'hidden',
}}>
<View
style={{
width: progressPct,
height: 6,
backgroundColor: '#3DBE8B',
borderRadius: 3,
}}
/>
</View>
<Text
style={{
flexShrink: 1,
fontFamily: 'Nunito_800ExtraBold',
fontSize: 11,
color: '#23204F',
}}>
{progressPct}
</Text>
</View>
</View>
<Svg
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="#23204F"
strokeWidth="2.4"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M5 12h14M13 6l6 6-6 6" />
</Svg>
</Pressable>
<View
style={{
alignItems: 'center',
justifyContent: 'space-between',
marginTop: 2,
flexDirection: 'row',
}}>
<Text
style={{
margin: 0,
flexShrink: 1,
fontFamily: 'Fredoka_600SemiBold',
fontSize: 18,
color: '#23204F',
}}>
Badges
</Text>
<Pressable accessibilityRole="link" style={{ flexShrink: 1 }}>
<Text style={{ fontFamily: 'Nunito_700Bold', fontSize: 13, color: '#5E5A7A' }}>
See all
</Text>
</Pressable>
</View>
<View style={{ flexDirection: 'row', gap: 10 }}>
<View style={{ alignItems: 'center', gap: 5, flex: 1 }}>
<View
style={{
width: 52,
height: 52,
borderRadius: 16,
backgroundColor: '#FFF4D6',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg width="30" height="30" viewBox="0 0 24 24">
<Path
d="M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 21l1.6-7L2 9.2l7.1-.6z"
fill="#FFC531"
stroke="#F0A81C"
strokeWidth="1"
strokeLinejoin="round"
/>
</Svg>
</View>
<Text
style={{
fontFamily: 'Nunito_700Bold',
fontSize: 10,
color: '#23204F',
textAlign: 'center',
}}>
First Lesson
</Text>
</View>
<View style={{ alignItems: 'center', gap: 5, flex: 1 }}>
<View
style={{
width: 52,
height: 52,
borderRadius: 16,
backgroundColor: '#FFE6DA',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg width="26" height="30" viewBox="0 0 24 28">
<Path
d="M12 1c1 6 8 8 8 16a8 8 0 0 1-16 0c0-4 2-6 3-8 1 3 2 4 3 4-1-5 0-9 2-12z"
fill="#FF7A2F"
/>
<Path
d="M12 14c1 3 4 4 4 8a4 4 0 0 1-8 0c0-2 1-3 2-4 0 1 1 2 2 2 0-2-1-4 0-6z"
fill="#FFC531"
/>
</Svg>
</View>
<Text
style={{
fontFamily: 'Nunito_700Bold',
fontSize: 10,
color: '#23204F',
textAlign: 'center',
}}>
5 Day Streak
</Text>
</View>
<View style={{ alignItems: 'center', gap: 5, flex: 1 }}>
<View
style={{
width: 52,
height: 52,
borderRadius: 16,
backgroundColor: '#E6E4FB',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg width="28" height="32" viewBox="0 0 28 32">
<Path d="M8 2h5l3 8H11z" fill="#4B9BF0" />
<Path d="M20 2h-5l-3 8h5z" fill="#6C4CF1" />
<Circle cx="14" cy="20" r="9" fill="#FFC531" stroke="#F0A81C" strokeWidth="1.5" />
<Path
d="M14 15l1.5 3.2 3.4.3-2.6 2.2.8 3.3-3.1-1.8-3.1 1.8.8-3.3-2.6-2.2 3.4-.3z"
fill="#FFFFFF"
/>
</Svg>
</View>
<Text
style={{
fontFamily: 'Nunito_700Bold',
fontSize: 10,
color: '#23204F',
textAlign: 'center',
}}>
Math Star
</Text>
</View>
<View style={{ alignItems: 'center', gap: 5, flex: 1 }}>
<View
style={{
width: 52,
height: 52,
borderRadius: 16,
backgroundColor: '#EEEAFE',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg width="24" height="32" viewBox="0 0 24 32">
<Path
d="M12 2a9 9 0 0 0-5 16.5V22h10v-3.5A9 9 0 0 0 12 2z"
fill="#FFD23F"
stroke="#F0A81C"
strokeWidth="1.2"
/>
<Rect x="7" y="23" width="10" height="3" rx="1" fill="#8C88A8" />
<Rect x="8.5" y="27" width="7" height="3" rx="1.5" fill="#8C88A8" />
</Svg>
</View>
<Text
style={{
fontFamily: 'Nunito_700Bold',
fontSize: 10,
color: '#23204F',
textAlign: 'center',
}}>
Curious Mind
</Text>
</View>
</View>
</View>
<View
style={{
position: 'absolute',
left: 0,
right: 0,
bottom: 0,
height: 82,
paddingTop: 8,
paddingBottom: 22,
paddingHorizontal: 12,
backgroundColor: '#FFFFFF',
borderTopWidth: 1,
borderTopColor: '#EFEDF5',
justifyContent: 'space-around',
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 3, width: 64, paddingTop: 4 }}>
<Svg width="24" height="24" viewBox="0 0 24 24">
<Path d="M3 11l9-8 9 8v9a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z" fill="#6C4CF1" />
</Svg>
<Text style={{ fontFamily: 'Nunito_800ExtraBold', fontSize: 11, color: '#6C4CF1' }}>
Home
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 3, width: 64, paddingTop: 4 }}>
<Svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="#5E5A7A"
strokeWidth="2"
strokeLinecap="round">
<Circle cx="11" cy="11" r="7" />
<Path d="M21 21l-4.5-4.5" />
</Svg>
<Text style={{ fontFamily: 'Nunito_700Bold', fontSize: 11, color: '#5E5A7A' }}>
Explore
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 3, width: 64, paddingTop: 4 }}>
<Svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="#5E5A7A"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M7 4h10v6a5 5 0 0 1-10 0z" />
<Path d="M7 6H4a3 3 0 0 0 3 4M17 6h3a3 3 0 0 1-3 4M12 15v4M8 21h8" />
</Svg>
<Text style={{ fontFamily: 'Nunito_700Bold', fontSize: 11, color: '#5E5A7A' }}>
Rewards
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 3, width: 64, paddingTop: 4 }}>
<Svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="#5E5A7A"
strokeWidth="2"
strokeLinecap="round">
<Circle cx="12" cy="8" r="4" />
<Path d="M4 21c1-4 4-6 8-6s7 2 8 6" />
</Svg>
<Text style={{ fontFamily: 'Nunito_700Bold', fontSize: 11, color: '#5E5A7A' }}>
Profile
</Text>
</Pressable>
</View>
</View>
</Screen>
);
}src/app/lesson.tsx
import { Image } from 'expo-image';
import { LinearGradient } from 'expo-linear-gradient';
import { Pressable, StyleSheet, Text, TextInput, View } from 'react-native';
import Svg, { Path } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
const accent = '#6C4CF1';
const step = 3;
export default function LessonScreen() {
return (
<Screen background="#DDF1FF" statusBar="dark">
<View style={{ flex: 1 }}>
<Image
source={{ uri: asset('0c93a5ff6e.jpg') }}
contentFit="cover"
contentPosition={{ left: '50%', top: '60%' }}
accessibilityLabel="Orange kitten sitting on a purple mat in a sunny park"
style={{ position: 'absolute', left: -40, top: 150, width: 470, height: 380 }}
/>
<View style={{ position: 'absolute', left: 0, right: 0, top: 0, height: 130 }}>
<LinearGradient
colors={['#DDF1FF', 'rgba(221,241,255,0)']}
locations={[0.7, 1]}
start={{ x: 0.5, y: 0 }}
end={{ x: 0.5, y: 1 }}
style={StyleSheet.absoluteFill}
/>
</View>
<View
style={{
position: 'absolute',
left: 20,
right: 20,
top: 50,
alignItems: 'center',
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="button"
accessibilityLabel="Back"
style={{
width: 44,
height: 44,
borderRadius: 22,
borderWidth: 0,
backgroundColor: '#FFFFFF',
boxShadow: '0 2px 8px rgba(35,32,79,0.1)',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="#23204F"
strokeWidth="2.6"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M15 5l-7 7 7 7" />
</Svg>
</Pressable>
<Text
style={{
flex: 1,
marginRight: 44,
fontFamily: 'Fredoka_600SemiBold',
fontSize: 17,
color: '#23204F',
textAlign: 'center',
flexShrink: 1,
}}>
Reading
</Text>
</View>
<View
style={{
position: 'absolute',
left: 76,
right: 24,
top: 104,
alignItems: 'center',
gap: 6,
flexDirection: 'row',
}}>
<View style={{ flex: 1, height: 6, borderRadius: 3, backgroundColor: '#6C4CF1' }} />
<View style={{ flex: 1, height: 6, borderRadius: 3, backgroundColor: '#6C4CF1' }} />
<View style={{ flex: 1, height: 6, borderRadius: 3, backgroundColor: '#6C4CF1' }} />
<View style={{ flex: 1, height: 6, borderRadius: 3, backgroundColor: '#FFFFFF' }} />
<View style={{ flex: 1, height: 6, borderRadius: 3, backgroundColor: '#FFFFFF' }} />
<Text
style={{
marginLeft: 6,
flexShrink: 1,
fontFamily: 'Nunito_800ExtraBold',
fontSize: 12,
color: '#23204F',
}}>
{step}/5
</Text>
</View>
<View
style={{
position: 'absolute',
left: 24,
right: 24,
top: 140,
backgroundColor: '#FFFFFF',
borderRadius: 22,
paddingTop: 18,
paddingBottom: 20,
paddingHorizontal: 20,
boxShadow: '0 8px 24px rgba(35,32,79,0.12)',
}}>
<View
style={{ alignItems: 'center', justifyContent: 'space-between', flexDirection: 'row' }}>
<Text
style={{
margin: 0,
flexShrink: 1,
fontFamily: 'Fredoka_700Bold',
fontSize: 24,
color: '#23204F',
}}>
{"Let's Read!"}
</Text>
<Pressable
accessibilityRole="button"
accessibilityLabel="Read aloud"
style={{
width: 44,
height: 44,
borderRadius: 14,
borderWidth: 0,
backgroundColor: '#EEEAFE',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="#6C4CF1"
strokeWidth="2.2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M11 5L6 9H2v6h4l5 4z" fill="#6C4CF1" />
<Path d="M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14" />
</Svg>
</Pressable>
</View>
<Text
style={{
marginTop: 12,
marginBottom: 0,
marginHorizontal: 0,
fontFamily: 'Nunito_700Bold',
fontSize: 20,
color: '#23204F',
lineHeight: 32,
}}>
{'The '}
<Text style={{ backgroundColor: '#C8F0D8' }}>cat</Text>
{' sits on the '}
<Text style={{ backgroundColor: '#FFE7A3' }}>mat</Text>.{'\n'}It is a sunny day.
</Text>
<Svg
width="26"
height="16"
viewBox="0 0 26 16"
style={{ position: 'absolute', left: 70, bottom: -14 }}>
<Path d="M0 0 H26 L6 16 Z" fill="#FFFFFF" />
</Svg>
</View>
<View
style={{
position: 'absolute',
left: 0,
right: 0,
top: 500,
bottom: 0,
backgroundColor: '#FFFFFF',
borderTopLeftRadius: 28,
borderTopRightRadius: 28,
borderBottomRightRadius: 0,
borderBottomLeftRadius: 0,
paddingTop: 24,
paddingBottom: 0,
paddingHorizontal: 20,
gap: 18,
}}>
<Text
style={{
margin: 0,
fontFamily: 'Nunito_800ExtraBold',
fontSize: 16,
color: '#23204F',
textAlign: 'center',
}}>
What is the cat sitting on?
</Text>
<View style={{ flexDirection: 'row', gap: 10 }}>
<View
style={{
height: 79,
borderRadius: 16,
borderWidth: 1.5,
borderColor: '#E4E1EE',
backgroundColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
flex: 1,
flexDirection: 'row',
}}>
<TextInput
style={{
position: 'absolute',
opacity: 0,
width: 1,
height: 1,
fontFamily: 'Nunito_700Bold',
fontSize: 15,
color: '#23204F',
}}
/>
<Text
style={{
fontFamily: 'Nunito_700Bold',
fontSize: 15,
color: '#23204F',
flexShrink: 1,
}}>
A bed
</Text>
</View>
<View
style={{
height: 80,
borderRadius: 16,
borderWidth: 2,
borderColor: '#3DBE8B',
backgroundColor: '#E3F7EC',
alignItems: 'center',
justifyContent: 'center',
flex: 1,
flexDirection: 'row',
}}>
<TextInput
style={{
position: 'absolute',
opacity: 0,
width: 1,
height: 1,
fontFamily: 'Nunito_800ExtraBold',
fontSize: 15,
color: '#17603F',
}}
/>
<Text
style={{
fontFamily: 'Nunito_800ExtraBold',
fontSize: 15,
color: '#17603F',
flexShrink: 1,
}}>
A mat
</Text>
<View
style={{
position: 'absolute',
right: 10,
bottom: -10,
width: 28,
height: 28,
borderRadius: 12,
backgroundColor: '#2FA877',
borderWidth: 2,
borderColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="#FFF"
strokeWidth="3.5"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M5 12l5 5L20 7" />
</Svg>
</View>
</View>
<View
style={{
height: 79,
borderRadius: 16,
borderWidth: 1.5,
borderColor: '#E4E1EE',
backgroundColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
flex: 1,
flexDirection: 'row',
}}>
<TextInput
style={{
position: 'absolute',
opacity: 0,
width: 1,
height: 1,
fontFamily: 'Nunito_700Bold',
fontSize: 15,
color: '#23204F',
}}
/>
<Text
style={{
fontFamily: 'Nunito_700Bold',
fontSize: 15,
color: '#23204F',
flexShrink: 1,
}}>
A table
</Text>
</View>
</View>
<Pressable
accessibilityRole="button"
style={{
marginTop: 28,
width: '100%',
height: 56,
borderWidth: 0,
borderRadius: 28,
backgroundColor: accent,
alignItems: 'center',
justifyContent: 'center',
gap: 10,
boxShadow: '0 8px 18px rgba(108,76,241,0.3)',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'Nunito_800ExtraBold',
fontSize: 16,
color: '#FFFFFF',
flexShrink: 1,
}}>
Next
</Text>
<Svg
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2.5"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M5 12h14M13 6l6 6-6 6" />
</Svg>
</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/kids-learning-app-ui-design/assets';
export const asset = (name: string) => `${ASSET_BASE}/${name}`;About this design
The lesson screen keeps one task in focus: a short sentence with highlighted words, a read-aloud button and three large answer cards. Big targets and rounded type make it a good base for any early learning, phonics or homework app.
Warm cream and soft pastels with a deep indigo ink, rounded Fredoka headlines and hand-drawn doodles around real photography.
- Doodle onboarding with a photo cut-out
- Weekly streak tracker with a star reward
- Colour-coded subject cards with SVG icons
- Reading quiz with highlighted words and answer cards
Colour palette
Indigo ink
#23204F
Violet
#6C4CF1
Lavender
#B9AEF7
Mint
#8FDDB0
Coral
#FFB3AE
Sunshine
#FFD66B
How to use this design
- 01
Pick what to copy
Copy the Lumikid Kids Learning 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
Are the subject icons images?
No. The book, maths, science and paint icons and the badges are drawn with react-native-svg, so they stay sharp and can be recoloured.
Can I add more subjects?
Yes. The subject cards share one layout. Add a card with a new colour and icon and the two column grid wraps it.
Is the quiz interactive?
The answer cards show the selected and correct state as designed. Add a piece of state to let children pick an answer and move to the next question.
Is the Lumikid Kids Learning 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.



