// Food app UI
Bakery App UI Design in Expo
This bakery app UI is built for ordering fresh bread, pastries and cakes. The home screen has a personal greeting, a bold headline, five photo categories, a popular this week row with quick add buttons and a 20% off first order banner.
- Screens
- 3
- Built with
- Expo SDK 58
- Fonts
- Inter
- License
- Free (MIT)
- Views
- 0

Knead Bakery app screens

Home
A greeting, a two-tone headline, five photo categories, popular pastries with add buttons and a discount banner.

Product detail
A curved croissant photo, three gallery thumbnails, price, rating, a quantity stepper, ingredients, nutrition and Add to Cart.

Onboarding
A full screen bread photo with a dark fade, a large headline, a short line and a round start button.
Copy the Knead Bakery 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
# Knead Bakery: design artifact
This bakery app UI is built for ordering fresh bread, pastries and cakes. The home screen has a personal greeting, a bold headline, five photo categories, a popular this week row with quick add buttons and a 20% off first order banner.
- Type: Food 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/bakery-app-ui-design
## Design direction
Cream pages with warm caramel and chocolate brown, heavy Inter headlines and close-up food photography with rounded corners.
- Photo category row and popular items grid
- Quick add buttons on every product
- Product page with gallery and quantity stepper
- Ingredients and nutrition rows
## Foundations
### Colour
| Token | Hex |
| --- | --- |
| Cream | `#FBF6F1` |
| Chocolate | `#4A2616` |
| Caramel | `#C98A4B` |
| Toffee | `#B5743A` |
| Honey | `#E8B27A` |
| Espresso | `#2B1A12` |
### Typography
- Typefaces: Inter
- Common sizes (px): 11, 12, 13, 14, 15, 17, 18, 20
### Shape and depth
- Common corner radii (px): 3, 12, 14, 16, 18, 20
- Shadows: `0 8px 24px rgba(74,38,22,0.10)`
## Screens
### 1. Home
A greeting, a two-tone headline, five photo categories, popular pastries with add buttons and a discount banner.
Preview: https://developermill.com/app-designs/bakery-app-ui-design/home.webp
Copy on this screen:
- Good morning
- Ayesha Rahman
- Freshly baked happiness
- delivered to your door.
- All
- Bread
- Pastry
- Cake
- Cookies
- Popular this week
- See all
- Chocolate
- Croissant
- $3.50
- Blueberry
- Muffin
- $2.80
- Sourdough
- $4.20
- Special for you
- Get 20% off
- on your first order
- Home
### 2. Product detail
A curved croissant photo, three gallery thumbnails, price, rating, a quantity stepper, ingredients, nutrition and Add to Cart.
Preview: https://developermill.com/app-designs/bakery-app-ui-design/product.webp
Copy on this screen:
- Chocolate Croissant
- $3.50
- Flaky, buttery layers filled with rich chocolate and topped with crunchy hazelnuts.
- 4.8
- (320 reviews)
- −
- 1
- +
- Ingredients
- Butter, wheat flour, dark chocolate, hazelnuts, sugar, eggs, milk
- Nutrition Info
- 290 kcal · 12g fat · 34g carbs · 6g protein
- Add to Cart
### 3. Onboarding
A full screen bread photo with a dark fade, a large headline, a short line and a round start button.
Preview: https://developermill.com/app-designs/bakery-app-ui-design/onboarding.webp
Copy on this screen:
- Knead.
- Skip
- Good Bakes
- Brighter
- Artisan breads, pastries and sweet treats made with real ingredients for everyday joy.
## Full source
The original artboards as HTML. Image URLs point at the hosted demo assets.
### Home (Main)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Knead – Home</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;800&display=swap" rel="stylesheet">
<style>
body{margin:0}
button{font-family:inherit;cursor:pointer}
a{color:#4A2616}a:hover{color:#2B1A12}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: {{bg}}; font-family: Inter, system-ui, sans-serif; color: #2B1A12; position: relative; overflow: hidden; padding: 56px 20px 0">
<header style="display: flex; align-items: center; gap: 12px">
<img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/ec88ac2213.jpg" alt="Ayesha Rahman" style="width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0">
<div style="display: flex; flex-direction: column; gap: 2px; flex: 1">
<span style="font-size: 12px; color: #75655A">Good morning</span>
<span style="font-size: 15px; font-weight: 700">Ayesha Rahman</span>
</div>
<button aria-label="Notifications" style="width: 44px; height: 44px; border: 0; background: transparent; position: relative; display: flex; align-items: center; justify-content: center; padding: 0">
<svg width="22" height="22" viewBox="0 0 24 24" fill="#C98A4B" aria-hidden="true"><path d="M12 2a6 6 0 0 0-6 6v3.6L4.3 15A1 1 0 0 0 5.2 16.5h13.6a1 1 0 0 0 .9-1.5L18 11.6V8a6 6 0 0 0-6-6Zm-2.5 16a2.5 2.5 0 0 0 5 0Z"/></svg>
<span style="position: absolute; top: 10px; right: 11px; width: 7px; height: 7px; border-radius: 50%; background: #D9493A; border: 1.5px solid {{bg}}"></span>
</button>
<button aria-label="Search" style="width: 44px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; padding: 0">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#2B1A12" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg>
</button>
</header>
<h1 style="margin: 22px 0 0; font-size: 31px; line-height: 1.12; font-weight: 800; letter-spacing: -0.8px; position: relative">Freshly baked happiness <span style="color: {{accent}}">delivered to your door.</span>
<svg style="position: absolute; left: 214px; top: 2px" width="26" height="22" viewBox="0 0 26 22" fill="none" stroke="{{accent}}" stroke-width="2.4" stroke-linecap="round" aria-hidden="true"><path d="M3 8 22 3M5 14l17-3M8 20l12-2"/></svg>
</h1>
<nav aria-label="Categories" style="display: flex; justify-content: space-between; margin-top: 22px">
<a href="#" style="display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: #2B1A12; font-size: 11px; font-weight: 500">
<span style="width: 56px; height: 56px; border-radius: 16px; background: #F3E7DB; display: flex; align-items: center; justify-content: center; overflow: hidden"><img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/70f43c5470.jpg" alt="" style="width: 56px; height: 56px; object-fit: cover"></span>All</a>
<a href="#" style="display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: #2B1A12; font-size: 11px; font-weight: 500">
<span style="width: 56px; height: 56px; border-radius: 16px; background: #F3E7DB; display: flex; align-items: center; justify-content: center; overflow: hidden"><img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/f390b1b48d.jpg" alt="" style="width: 56px; height: 56px; object-fit: cover"></span>Bread</a>
<a href="#" style="display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: #2B1A12; font-size: 11px; font-weight: 500">
<span style="width: 56px; height: 56px; border-radius: 16px; background: #F3E7DB; display: flex; align-items: center; justify-content: center; overflow: hidden"><img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/3ee922952c.jpg" alt="" style="width: 56px; height: 56px; object-fit: cover"></span>Pastry</a>
<a href="#" style="display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: #2B1A12; font-size: 11px; font-weight: 500">
<span style="width: 56px; height: 56px; border-radius: 16px; background: #F3E7DB; display: flex; align-items: center; justify-content: center; overflow: hidden"><img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/c13b17bba8.jpg" alt="" style="width: 56px; height: 56px; object-fit: cover"></span>Cake</a>
<a href="#" style="display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: #2B1A12; font-size: 11px; font-weight: 500">
<span style="width: 56px; height: 56px; border-radius: 16px; background: #F3E7DB; display: flex; align-items: center; justify-content: center; overflow: hidden"><img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/cbbd158a99.jpg" alt="" style="width: 56px; height: 56px; object-fit: cover"></span>Cookies</a>
</nav>
<div style="display: flex; align-items: center; justify-content: space-between; margin-top: 24px">
<h2 style="margin: 0; font-size: 17px; font-weight: 700">Popular this week</h2>
<a href="#" style="font-size: 12px; text-decoration: none; display: flex; align-items: center; gap: 4px">See all <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></a>
</div>
<div style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px">
<div style="display: flex; flex-direction: column; gap: 6px">
<img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/285bb6b1e9.jpg" alt="Chocolate croissant" style="width: 100%; height: 96px; border-radius: 14px; object-fit: cover; display: block">
<span style="font-size: 12px; font-weight: 600; line-height: 1.25">Chocolate<br>Croissant</span>
<div style="display: flex; align-items: center; justify-content: space-between"><span style="font-size: 12px; font-weight: 600">$3.50</span><button aria-label="Add Chocolate Croissant" style="width: 26px; height: 26px; border-radius: 50%; border: 0; background: {{accent}}; color: #2B1A12; display: flex; align-items: center; justify-content: center; padding: 0"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.6" stroke-linecap="round" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button></div>
</div>
<div style="display: flex; flex-direction: column; gap: 6px">
<img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/b342d59afc.jpg" alt="Blueberry muffin" style="width: 100%; height: 96px; border-radius: 14px; object-fit: cover; display: block">
<span style="font-size: 12px; font-weight: 600; line-height: 1.25">Blueberry<br>Muffin</span>
<div style="display: flex; align-items: center; justify-content: space-between"><span style="font-size: 12px; font-weight: 600">$2.80</span><button aria-label="Add Blueberry Muffin" style="width: 26px; height: 26px; border-radius: 50%; border: 0; background: {{accent}}; color: #2B1A12; display: flex; align-items: center; justify-content: center; padding: 0"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.6" stroke-linecap="round" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button></div>
</div>
<div style="display: flex; flex-direction: column; gap: 6px">
<img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/ad6623e96a.jpg" alt="Sourdough bread" style="width: 100%; height: 96px; border-radius: 14px; object-fit: cover; display: block">
<span style="font-size: 12px; font-weight: 600; line-height: 1.25">Sourdough<br>Bread</span>
<div style="display: flex; align-items: center; justify-content: space-between"><span style="font-size: 12px; font-weight: 600">$4.20</span><button aria-label="Add Sourdough Bread" style="width: 26px; height: 26px; border-radius: 50%; border: 0; background: {{accent}}; color: #2B1A12; display: flex; align-items: center; justify-content: center; padding: 0"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.6" stroke-linecap="round" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button></div>
</div>
</div>
<h2 style="margin: 22px 0 0; font-size: 17px; font-weight: 700">Special for you</h2>
<a href="#" style="margin-top: 12px; height: 92px; border-radius: 18px; background: #C98A4B; display: flex; align-items: center; text-decoration: none; overflow: hidden; position: relative">
<div style="display: flex; flex-direction: column; gap: 3px; padding-left: 18px; flex: 1">
<span style="font-size: 19px; font-weight: 800; color: #2B1A12">Get 20% off</span>
<span style="font-size: 12px; color: #3A2416">on your first order</span>
</div>
<span style="width: 34px; height: 34px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; margin-right: 12px"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#2B1A12" stroke-width="2.4" stroke-linecap="round" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span>
<img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/29b7e5a577.jpg" alt="Strawberry cheesecake" style="width: 124px; height: 92px; object-fit: cover; object-position: 60% 50%; display: block">
</a>
<nav aria-label="Main" style="position: absolute; left: 20px; right: 20px; bottom: 26px; height: 64px; border-radius: 24px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(74,38,22,0.10); display: flex; align-items: center; justify-content: space-around; padding: 0 8px">
<a href="#" aria-current="page" style="height: 44px; padding: 0 18px; border-radius: 16px; background: #4A2616; color: #FFFFFF; display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13px; font-weight: 600"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" aria-hidden="true"><path d="M3 11 12 4l9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1Z"/></svg>Home</a>
<a href="#" aria-label="Favourites" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #2B1A12"><svg width="21" height="21" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" aria-hidden="true"><path d="M12 20s-7-4.4-9-9a4.8 4.8 0 0 1 9-3 4.8 4.8 0 0 1 9 3c-2 4.6-9 9-9 9Z"/></svg></a>
<a href="#" aria-label="Cart" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #2B1A12"><svg width="21" height="21" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" aria-hidden="true"><path d="M5 8h14l-1 12H6Z"/><path d="M9 8V6a3 3 0 0 1 6 0v2"/></svg></a>
<a href="#" aria-label="Profile" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #2B1A12"><svg width="21" height="21" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="12" cy="8" r="4"/><path d="M4 21a8 8 0 0 1 16 0"/></svg></a>
</nav>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"accent":{"editor":"color","default":"#B5743A"},"bg":{"editor":"color","default":"#FBF6F1"},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
return { accent: this.props.accent ?? '#B5743A', bg: this.props.bg ?? '#FBF6F1' };
}
}
</script>
</body>
</html>
```
### Product detail (Product)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Knead – Product detail</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;800&display=swap" rel="stylesheet">
<style>
body{margin:0}
button{font-family:inherit;cursor:pointer}
a{color:#4A2616}a:hover{color:#2B1A12}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: {{bg}}; font-family: Inter, system-ui, sans-serif; color: #2B1A12; position: relative; overflow: hidden">
<header style="position: absolute; left: 12px; right: 12px; top: 46px; display: flex; align-items: center; gap: 4px; z-index: 2">
<a href="#" aria-label="Back" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #2B1A12"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M19 12H5M11 6l-6 6 6 6"/></svg></a>
<span style="flex: 1"></span>
<button aria-label="Save to favourites" style="width: 44px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; padding: 0; color: #2B1A12"><svg width="21" height="21" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" aria-hidden="true"><path d="M12 20s-7-4.4-9-9a4.8 4.8 0 0 1 9-3 4.8 4.8 0 0 1 9 3c-2 4.6-9 9-9 9Z"/></svg></button>
<button aria-label="Share" style="width: 44px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; padding: 0; color: #2B1A12"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 15V3M7 8l5-5 5 5"/><path d="M5 12v7a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-7"/></svg></button>
</header>
<div style="position: absolute; left: 0; top: 96px; width: 300px; height: 250px; display: flex; align-items: center; justify-content: center">
<img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/285bb6b1e9.jpg" alt="Chocolate croissant with hazelnuts" style="width: 300px; height: 250px; object-fit: cover; object-position: 45% 50%; border-radius: 0 125px 125px 0">
</div>
<div style="position: absolute; right: 18px; top: 104px; display: flex; flex-direction: column; gap: 10px">
<button aria-label="Image 1, selected" style="width: 52px; height: 52px; border-radius: 12px; border: 2px solid {{accent}}; background: #E6D3C1; padding: 0; overflow: hidden"><img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/285bb6b1e9.jpg" alt="" style="width: 100%; height: 100%; object-fit: cover; display: block"></button>
<button aria-label="Image 2" style="width: 52px; height: 52px; border-radius: 12px; border: 0; background: #E6D3C1; padding: 0; overflow: hidden"><img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/6d860e9154.jpg" alt="" style="width: 100%; height: 100%; object-fit: cover; display: block"></button>
<button aria-label="Image 3" style="width: 52px; height: 52px; border-radius: 12px; border: 0; background: #E6D3C1; padding: 0; overflow: hidden"><img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/a43dba339a.jpg" alt="" style="width: 100%; height: 100%; object-fit: cover; display: block"></button>
</div>
<main style="position: absolute; left: 20px; right: 20px; top: 368px; display: flex; flex-direction: column">
<div style="display: flex; align-items: baseline; justify-content: space-between; gap: 12px">
<h1 style="margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -0.5px">Chocolate Croissant</h1>
<span style="font-size: 20px; font-weight: 800">$3.50</span>
</div>
<p style="margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #75655A">Flaky, buttery layers filled with rich chocolate and topped with crunchy hazelnuts.</p>
<div style="display: flex; align-items: center; justify-content: space-between; margin-top: 14px">
<div style="display: flex; align-items: center; gap: 6px; font-size: 13px">
<svg width="16" height="16" viewBox="0 0 24 24" fill="#E7A33E" aria-hidden="true"><path d="m12 2 3 6.6 7 .7-5.3 4.8 1.6 7L12 17.3 5.7 21l1.6-7L2 9.3l7-.7Z"/></svg>
<span style="font-weight: 700">4.8</span><span style="color: #75655A">(320 reviews)</span>
</div>
<div style="display: flex; align-items: center; border: 1px solid #E3D3C4; border-radius: 12px; overflow: hidden">
<button aria-label="Decrease quantity" style="width: 40px; height: 40px; border: 0; background: transparent; font-size: 18px; color: #2B1A12; padding: 0">−</button>
<span aria-label="Quantity" style="width: 34px; text-align: center; font-size: 14px; font-weight: 600">1</span>
<button aria-label="Increase quantity" style="width: 40px; height: 40px; border: 0; background: transparent; font-size: 18px; color: #2B1A12; padding: 0">+</button>
</div>
</div>
<a href="#" style="margin-top: 18px; padding: 14px 16px; border: 1px solid #EDE1D6; border-radius: 16px; background: #FFFFFF; display: flex; align-items: center; gap: 12px; text-decoration: none; color: #2B1A12">
<div style="display: flex; flex-direction: column; gap: 4px; flex: 1"><span style="font-size: 14px; font-weight: 700">Ingredients</span><span style="font-size: 12px; color: #75655A; line-height: 1.4">Butter, wheat flour, dark chocolate, hazelnuts, sugar, eggs, milk</span></div>
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="m9 6 6 6-6 6"/></svg>
</a>
<a href="#" style="margin-top: 10px; padding: 14px 16px; border: 1px solid #EDE1D6; border-radius: 16px; background: #FFFFFF; display: flex; align-items: center; gap: 12px; text-decoration: none; color: #2B1A12">
<div style="display: flex; flex-direction: column; gap: 4px; flex: 1"><span style="font-size: 14px; font-weight: 700">Nutrition Info</span><span style="font-size: 12px; color: #75655A">290 kcal · 12g fat · 34g carbs · 6g protein</span></div>
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="m9 6 6 6-6 6"/></svg>
</a>
</main>
<button style="position: absolute; left: 20px; right: 20px; bottom: 30px; height: 58px; border-radius: 20px; border: 0; background: {{dark}}; color: #FFFFFF; display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 15px; font-weight: 600">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" aria-hidden="true"><path d="M5 8h14l-1 12H6Z"/><path d="M9 8V6a3 3 0 0 1 6 0v2"/></svg>
<span>Add to Cart</span><span aria-hidden="true" style="width: 1px; height: 18px; background: rgba(255,255,255,0.4)"></span><span>$3.50</span>
</button>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"accent":{"editor":"color","default":"#C98A4B"},"dark":{"editor":"color","default":"#4A2616"},"bg":{"editor":"color","default":"#FBF6F1"},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
return { accent: this.props.accent ?? '#C98A4B', dark: this.props.dark ?? '#4A2616', bg: this.props.bg ?? '#FBF6F1' };
}
}
</script>
</body>
</html>
```
### Onboarding (Onboarding)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Knead – 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;800&display=swap" rel="stylesheet">
<style>
body{margin:0}
button{font-family:inherit;cursor:pointer}
a{color:#F3E7DB}a:hover{color:#FFFFFF}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: {{bg}}; font-family: Inter, system-ui, sans-serif; color: #FFFFFF; position: relative; overflow: hidden">
<img src="https://developermill.com/app-designs/bakery-app-ui-design/assets/dae4e0d979.jpg" alt="" style="position: absolute; inset: 0; width: 390px; height: 844px; object-fit: cover; object-position: 50% 70%">
<div style="position: absolute; left: 0; right: 0; top: 0; height: 520px; background: linear-gradient(180deg, rgba(42,22,12,0.92) 0%, rgba(42,22,12,0.75) 55%, rgba(42,22,12,0) 100%)"></div>
<header style="position: absolute; left: 24px; right: 24px; top: 52px; display: flex; align-items: center; justify-content: space-between">
<span style="font-size: 20px; font-weight: 800; letter-spacing: -0.4px">Knead.</span>
<a href="#" style="font-size: 13px; text-decoration: none; padding: 12px 0 12px 12px">Skip</a>
</header>
<div style="position: absolute; left: 24px; top: 118px; width: 240px; display: flex; flex-direction: column; gap: 18px">
<h1 style="margin: 0; font-size: 50px; line-height: 1.02; font-weight: 800; letter-spacing: -1.6px">Good Bakes <span style="color: {{accent}}">Brighter</span></h1>
<p style="margin: 0; font-size: 14px; line-height: 1.5; color: #E6D3C1">Artisan breads, pastries and sweet treats made with real ingredients for everyday joy.</p>
<button aria-label="Get started" style="margin-top: 10px; width: 64px; height: 64px; border-radius: 50%; border: 0; background: {{accent}}; color: #2B1A12; display: flex; align-items: center; justify-content: center; padding: 0"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></button>
</div>
<div aria-label="Page 1 of 3" style="position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; gap: 6px">
<span style="width: 26px; height: 5px; border-radius: 3px; background: #FFFFFF"></span>
<span style="width: 5px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.45)"></span>
<span style="width: 5px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.45)"></span>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"accent":{"editor":"color","default":"#E8B27A"},"bg":{"editor":"color","default":"#3A2014"},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
return { accent: this.props.accent ?? '#E8B27A', bg: this.props.bg ?? '#3A2014' };
}
}
</script>
</body>
</html>
```SKILL.md
Save as .claude/skills/bakery-app-ui/SKILL.md
--- name: bakery-app-ui description: Build the Knead Bakery mobile app UI in Expo React Native. Use when asked to create a bakery app UI or a new screen in this visual style. --- # Knead Bakery app UI Build this food app UI in an Expo Router project with TypeScript. Reference: https://developermill.com/app-designs/bakery-app-ui-design ## Visual direction Cream pages with warm caramel and chocolate brown, heavy Inter headlines and close-up food photography with rounded corners. Keep these signature details: - Photo category row and popular items grid - Quick add buttons on every product - Product page with gallery and quantity stepper - Ingredients and nutrition rows ## Set up ```bash npx expo install expo-image expo-linear-gradient react-native-svg @expo-google-fonts/inter expo-font ``` ## Tokens | Name | Hex | | --- | --- | | Cream | `#FBF6F1` | | Chocolate | `#4A2616` | | Caramel | `#C98A4B` | | Toffee | `#B5743A` | | Honey | `#E8B27A` | | Espresso | `#2B1A12` | - Typefaces: Inter - Text sizes (px): 11, 12, 13, 14, 15, 17, 18, 20 - Corner radii (px): 3, 12, 14, 16, 18, 20 Define these once and reuse them. Do not add new colours. ## Screens 1. **Home.** A greeting, a two-tone headline, five photo categories, popular pastries with add buttons and a discount banner. 2. **Product detail.** A curved croissant photo, three gallery thumbnails, price, rating, a quantity stepper, ingredients, nutrition and Add to Cart. 3. **Onboarding.** A full screen bread photo with a dark fade, a large headline, a short line and a round start button. ## 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 bakery-app --template default cd bakery-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 { Image } from 'expo-image';
import { Pressable, Text, View } from 'react-native';
import Svg, { Circle, Path } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
const accent = '#B5743A';
const bg = '#FBF6F1';
export default function MainScreen() {
return (
<Screen background={bg} statusBar="dark">
<View style={{ paddingTop: 56, paddingBottom: 0, paddingHorizontal: 20, flex: 1 }}>
<View style={{ alignItems: 'center', gap: 12, flexDirection: 'row' }}>
<Image
source={{ uri: asset('ec88ac2213.jpg') }}
contentFit="cover"
accessibilityLabel="Ayesha Rahman"
style={{ width: 44, height: 44, borderRadius: '50%', flexShrink: 0 }}
/>
<View style={{ gap: 2, flex: 1 }}>
<Text style={{ fontFamily: 'Inter_400Regular', fontSize: 12, color: '#75655A' }}>
Good morning
</Text>
<Text style={{ fontFamily: 'Inter_700Bold', fontSize: 15, color: '#2B1A12' }}>
Ayesha Rahman
</Text>
</View>
<Pressable
accessibilityRole="button"
accessibilityLabel="Notifications"
style={{
width: 44,
height: 44,
borderWidth: 0,
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg width="22" height="22" viewBox="0 0 24 24" fill="#C98A4B">
<Path d="M12 2a6 6 0 0 0-6 6v3.6L4.3 15A1 1 0 0 0 5.2 16.5h13.6a1 1 0 0 0 .9-1.5L18 11.6V8a6 6 0 0 0-6-6Zm-2.5 16a2.5 2.5 0 0 0 5 0Z" />
</Svg>
<View
style={{
position: 'absolute',
top: 10,
right: 11,
width: 10,
height: 10,
borderRadius: '50%',
backgroundColor: '#D9493A',
borderWidth: 1.5,
borderColor: bg,
}}
/>
</Pressable>
<Pressable
accessibilityRole="button"
accessibilityLabel="Search"
style={{
width: 44,
height: 44,
borderWidth: 0,
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2"
strokeLinecap="round">
<Circle cx="11" cy="11" r="7" />
<Path d="m20 20-3.5-3.5" />
</Svg>
</Pressable>
</View>
<View style={{ marginTop: 22, marginBottom: 0, marginHorizontal: 0 }}>
<Text
style={{
fontFamily: 'Inter_800ExtraBold',
fontSize: 31,
color: '#2B1A12',
letterSpacing: -0.8,
lineHeight: 34.72,
}}>
{'Freshly baked happiness '}
<Text style={{ color: accent }}>delivered to your door.</Text>
</Text>
<Svg
width="26"
height="22"
viewBox="0 0 26 22"
fill="none"
stroke={accent}
strokeWidth="2.4"
strokeLinecap="round"
style={{ position: 'absolute', left: 214, top: 2 }}>
<Path d="M3 8 22 3M5 14l17-3M8 20l12-2" />
</Svg>
</View>
<View style={{ justifyContent: 'space-between', marginTop: 22, flexDirection: 'row' }}>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 7, flexShrink: 1 }}>
<View
style={{
width: 56,
height: 56,
borderRadius: 16,
backgroundColor: '#F3E7DB',
alignItems: 'center',
justifyContent: 'center',
overflow: 'hidden',
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('70f43c5470.jpg') }}
contentFit="cover"
style={{ width: 56, height: 56 }}
/>
</View>
<Text style={{ fontFamily: 'Inter_500Medium', fontSize: 11, color: '#2B1A12' }}>
All
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 7, flexShrink: 1 }}>
<View
style={{
width: 56,
height: 56,
borderRadius: 16,
backgroundColor: '#F3E7DB',
alignItems: 'center',
justifyContent: 'center',
overflow: 'hidden',
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('f390b1b48d.jpg') }}
contentFit="cover"
style={{ width: 56, height: 56 }}
/>
</View>
<Text style={{ fontFamily: 'Inter_500Medium', fontSize: 11, color: '#2B1A12' }}>
Bread
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 7, flexShrink: 1 }}>
<View
style={{
width: 56,
height: 56,
borderRadius: 16,
backgroundColor: '#F3E7DB',
alignItems: 'center',
justifyContent: 'center',
overflow: 'hidden',
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('3ee922952c.jpg') }}
contentFit="cover"
style={{ width: 56, height: 56 }}
/>
</View>
<Text style={{ fontFamily: 'Inter_500Medium', fontSize: 11, color: '#2B1A12' }}>
Pastry
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 7, flexShrink: 1 }}>
<View
style={{
width: 56,
height: 56,
borderRadius: 16,
backgroundColor: '#F3E7DB',
alignItems: 'center',
justifyContent: 'center',
overflow: 'hidden',
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('c13b17bba8.jpg') }}
contentFit="cover"
style={{ width: 56, height: 56 }}
/>
</View>
<Text style={{ fontFamily: 'Inter_500Medium', fontSize: 11, color: '#2B1A12' }}>
Cake
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 7, flexShrink: 1 }}>
<View
style={{
width: 56,
height: 56,
borderRadius: 16,
backgroundColor: '#F3E7DB',
alignItems: 'center',
justifyContent: 'center',
overflow: 'hidden',
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('cbbd158a99.jpg') }}
contentFit="cover"
style={{ width: 56, height: 56 }}
/>
</View>
<Text style={{ fontFamily: 'Inter_500Medium', fontSize: 11, color: '#2B1A12' }}>
Cookies
</Text>
</Pressable>
</View>
<View
style={{
alignItems: 'center',
justifyContent: 'space-between',
marginTop: 24,
flexDirection: 'row',
}}>
<Text
style={{
margin: 0,
flexShrink: 1,
fontFamily: 'Inter_700Bold',
fontSize: 17,
color: '#2B1A12',
}}>
Popular this week
</Text>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 4, flexShrink: 1, flexDirection: 'row' }}>
<Text
style={{
fontFamily: 'Inter_400Regular',
fontSize: 12,
color: '#4A2616',
flexShrink: 1,
}}>
See all
</Text>
<Svg
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="#4A2616"
strokeWidth="2"
strokeLinecap="round">
<Path d="M5 12h14M13 6l6 6-6 6" />
</Svg>
</Pressable>
</View>
<View style={{ marginTop: 12, flexDirection: 'row', gap: 12 }}>
<View style={{ gap: 6, flex: 1 }}>
<Image
source={{ uri: asset('285bb6b1e9.jpg') }}
contentFit="cover"
accessibilityLabel="Chocolate croissant"
style={{ width: '100%', height: 96, borderRadius: 14 }}
/>
<Text
style={{
fontFamily: 'Inter_600SemiBold',
fontSize: 12,
color: '#2B1A12',
lineHeight: 15,
}}>
Chocolate{'\n'}Croissant
</Text>
<View
style={{
alignItems: 'center',
justifyContent: 'space-between',
flexDirection: 'row',
}}>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_600SemiBold',
fontSize: 12,
color: '#2B1A12',
}}>
$3.50
</Text>
<Pressable
accessibilityRole="button"
accessibilityLabel="Add Chocolate Croissant"
style={{
width: 26,
height: 26,
borderRadius: '50%',
borderWidth: 0,
backgroundColor: accent,
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2.6"
strokeLinecap="round">
<Path d="M12 5v14M5 12h14" />
</Svg>
</Pressable>
</View>
</View>
<View style={{ gap: 6, flex: 1 }}>
<Image
source={{ uri: asset('b342d59afc.jpg') }}
contentFit="cover"
accessibilityLabel="Blueberry muffin"
style={{ width: '100%', height: 96, borderRadius: 14 }}
/>
<Text
style={{
fontFamily: 'Inter_600SemiBold',
fontSize: 12,
color: '#2B1A12',
lineHeight: 15,
}}>
Blueberry{'\n'}Muffin
</Text>
<View
style={{
alignItems: 'center',
justifyContent: 'space-between',
flexDirection: 'row',
}}>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_600SemiBold',
fontSize: 12,
color: '#2B1A12',
}}>
$2.80
</Text>
<Pressable
accessibilityRole="button"
accessibilityLabel="Add Blueberry Muffin"
style={{
width: 26,
height: 26,
borderRadius: '50%',
borderWidth: 0,
backgroundColor: accent,
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2.6"
strokeLinecap="round">
<Path d="M12 5v14M5 12h14" />
</Svg>
</Pressable>
</View>
</View>
<View style={{ gap: 6, flex: 1 }}>
<Image
source={{ uri: asset('ad6623e96a.jpg') }}
contentFit="cover"
accessibilityLabel="Sourdough bread"
style={{ width: '100%', height: 96, borderRadius: 14 }}
/>
<Text
style={{
fontFamily: 'Inter_600SemiBold',
fontSize: 12,
color: '#2B1A12',
lineHeight: 15,
}}>
Sourdough{'\n'}Bread
</Text>
<View
style={{
alignItems: 'center',
justifyContent: 'space-between',
flexDirection: 'row',
}}>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_600SemiBold',
fontSize: 12,
color: '#2B1A12',
}}>
$4.20
</Text>
<Pressable
accessibilityRole="button"
accessibilityLabel="Add Sourdough Bread"
style={{
width: 26,
height: 26,
borderRadius: '50%',
borderWidth: 0,
backgroundColor: accent,
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2.6"
strokeLinecap="round">
<Path d="M12 5v14M5 12h14" />
</Svg>
</Pressable>
</View>
</View>
</View>
<Text
style={{
marginTop: 22,
marginBottom: 0,
marginHorizontal: 0,
fontFamily: 'Inter_700Bold',
fontSize: 17,
color: '#2B1A12',
}}>
Special for you
</Text>
<Pressable
accessibilityRole="link"
style={{
marginTop: 12,
height: 92,
borderRadius: 18,
backgroundColor: '#C98A4B',
alignItems: 'center',
overflow: 'hidden',
flexDirection: 'row',
}}>
<View style={{ gap: 3, paddingLeft: 18, flex: 1 }}>
<Text style={{ fontFamily: 'Inter_800ExtraBold', fontSize: 19, color: '#2B1A12' }}>
Get 20% off
</Text>
<Text style={{ fontFamily: 'Inter_400Regular', fontSize: 12, color: '#3A2416' }}>
on your first order
</Text>
</View>
<View
style={{
width: 34,
height: 34,
borderRadius: '50%',
backgroundColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
marginRight: 12,
flexDirection: 'row',
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2.4"
strokeLinecap="round">
<Path d="M5 12h14M13 6l6 6-6 6" />
</Svg>
</View>
<Image
source={{ uri: asset('29b7e5a577.jpg') }}
contentFit="cover"
contentPosition={{ left: '60%', top: '50%' }}
accessibilityLabel="Strawberry cheesecake"
style={{ width: 124, height: 92 }}
/>
</Pressable>
<View
style={{
position: 'absolute',
left: 20,
right: 20,
bottom: 26,
height: 64,
borderRadius: 24,
backgroundColor: '#FFFFFF',
boxShadow: '0 8px 24px rgba(74,38,22,0.10)',
alignItems: 'center',
justifyContent: 'space-around',
paddingVertical: 0,
paddingHorizontal: 8,
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="link"
style={{
height: 44,
paddingVertical: 0,
paddingHorizontal: 18,
borderRadius: 16,
backgroundColor: '#4A2616',
alignItems: 'center',
gap: 8,
flexShrink: 1,
flexDirection: 'row',
}}>
<Svg
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2"
strokeLinejoin="round">
<Path d="M3 11 12 4l9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1Z" />
</Svg>
<Text
style={{
fontFamily: 'Inter_600SemiBold',
fontSize: 13,
color: '#FFFFFF',
flexShrink: 1,
}}>
Home
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
accessibilityLabel="Favourites"
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="21"
height="21"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2"
strokeLinejoin="round">
<Path d="M12 20s-7-4.4-9-9a4.8 4.8 0 0 1 9-3 4.8 4.8 0 0 1 9 3c-2 4.6-9 9-9 9Z" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="link"
accessibilityLabel="Cart"
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="21"
height="21"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2"
strokeLinejoin="round">
<Path d="M5 8h14l-1 12H6Z" />
<Path d="M9 8V6a3 3 0 0 1 6 0v2" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="link"
accessibilityLabel="Profile"
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="21"
height="21"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2"
strokeLinecap="round">
<Circle cx="12" cy="8" r="4" />
<Path d="M4 21a8 8 0 0 1 16 0" />
</Svg>
</Pressable>
</View>
</View>
</Screen>
);
}src/app/onboarding.tsx
import { Image } from 'expo-image';
import { LinearGradient } from 'expo-linear-gradient';
import { Pressable, StyleSheet, Text, View } from 'react-native';
import Svg, { Path } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
const accent = '#E8B27A';
const bg = '#3A2014';
export default function OnboardingScreen() {
return (
<Screen background={bg} statusBar="light">
<View style={{ flex: 1 }}>
<Image
source={{ uri: asset('dae4e0d979.jpg') }}
contentFit="cover"
contentPosition={{ left: '50%', top: '70%' }}
style={{
position: 'absolute',
top: 0,
right: 0,
bottom: 0,
left: 0,
width: 390,
height: 844,
}}
/>
<View style={{ position: 'absolute', left: 0, right: 0, top: 0, height: 520 }}>
<LinearGradient
colors={['rgba(42,22,12,0.92)', 'rgba(42,22,12,0.75)', 'rgba(42,22,12,0)']}
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: 24,
right: 24,
top: 52,
alignItems: 'center',
justifyContent: 'space-between',
flexDirection: 'row',
}}>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_800ExtraBold',
fontSize: 20,
color: '#FFFFFF',
letterSpacing: -0.4,
}}>
Knead.
</Text>
<Pressable
accessibilityRole="link"
style={{ paddingVertical: 12, paddingLeft: 12, paddingRight: 0, flexShrink: 1 }}>
<Text style={{ fontFamily: 'Inter_400Regular', fontSize: 13, color: '#F3E7DB' }}>
Skip
</Text>
</Pressable>
</View>
<View style={{ position: 'absolute', left: 24, top: 118, width: 240, gap: 18 }}>
<Text
style={{
margin: 0,
fontFamily: 'Inter_800ExtraBold',
fontSize: 50,
color: '#FFFFFF',
letterSpacing: -1.6,
lineHeight: 51,
}}>
{'Good Bakes '}
<Text style={{ color: accent }}>Brighter</Text>
</Text>
<Text
style={{
margin: 0,
fontFamily: 'Inter_400Regular',
fontSize: 14,
color: '#E6D3C1',
lineHeight: 21,
}}>
Artisan breads, pastries and sweet treats made with real ingredients for everyday joy.
</Text>
<Pressable
accessibilityRole="button"
accessibilityLabel="Get started"
style={{
marginTop: 10,
width: 64,
height: 64,
borderRadius: '50%',
borderWidth: 0,
backgroundColor: accent,
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2.4"
strokeLinecap="round">
<Path d="M5 12h14M13 6l6 6-6 6" />
</Svg>
</Pressable>
</View>
<View
style={{
position: 'absolute',
left: 0,
right: 0,
bottom: 34,
justifyContent: 'center',
gap: 6,
flexDirection: 'row',
}}>
<View style={{ width: 26, height: 5, borderRadius: 3, backgroundColor: '#FFFFFF' }} />
<View
style={{
width: 5,
height: 5,
borderRadius: 3,
backgroundColor: 'rgba(255,255,255,0.45)',
}}
/>
<View
style={{
width: 5,
height: 5,
borderRadius: 3,
backgroundColor: 'rgba(255,255,255,0.45)',
}}
/>
</View>
</View>
</Screen>
);
}src/app/product.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 accent = '#C98A4B';
const dark = '#4A2616';
const bg = '#FBF6F1';
export default function ProductScreen() {
return (
<Screen background={bg} statusBar="dark">
<View style={{ flex: 1 }}>
<View
style={{
position: 'absolute',
left: 12,
right: 12,
top: 46,
alignItems: 'center',
gap: 4,
zIndex: 2,
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="link"
accessibilityLabel="Back"
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2.2"
strokeLinecap="round">
<Path d="M19 12H5M11 6l-6 6 6 6" />
</Svg>
</Pressable>
<View style={{ flex: 1 }} />
<Pressable
accessibilityRole="button"
accessibilityLabel="Save to favourites"
style={{
width: 44,
height: 44,
borderWidth: 0,
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg
width="21"
height="21"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2"
strokeLinejoin="round">
<Path d="M12 20s-7-4.4-9-9a4.8 4.8 0 0 1 9-3 4.8 4.8 0 0 1 9 3c-2 4.6-9 9-9 9Z" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="button"
accessibilityLabel="Share"
style={{
width: 44,
height: 44,
borderWidth: 0,
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M12 15V3M7 8l5-5 5 5" />
<Path d="M5 12v7a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-7" />
</Svg>
</Pressable>
</View>
<View
style={{
position: 'absolute',
left: 0,
top: 96,
width: 300,
height: 250,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('285bb6b1e9.jpg') }}
contentFit="cover"
contentPosition={{ left: '45%', top: '50%' }}
accessibilityLabel="Chocolate croissant with hazelnuts"
style={{
width: 300,
height: 250,
borderTopLeftRadius: 0,
borderTopRightRadius: 125,
borderBottomRightRadius: 125,
borderBottomLeftRadius: 0,
}}
/>
</View>
<View style={{ position: 'absolute', right: 18, top: 104, gap: 10 }}>
<Pressable
accessibilityRole="button"
accessibilityLabel="Image 1, selected"
style={{
width: 52,
height: 52,
borderRadius: 12,
borderWidth: 2,
borderColor: accent,
backgroundColor: '#E6D3C1',
padding: 0,
overflow: 'hidden',
alignItems: 'center',
justifyContent: 'center',
}}>
<Image
source={{ uri: asset('285bb6b1e9.jpg') }}
contentFit="cover"
style={{ width: '100%', height: '100%' }}
/>
</Pressable>
<Pressable
accessibilityRole="button"
accessibilityLabel="Image 2"
style={{
width: 52,
height: 52,
borderRadius: 12,
borderWidth: 0,
backgroundColor: '#E6D3C1',
padding: 0,
overflow: 'hidden',
alignItems: 'center',
justifyContent: 'center',
}}>
<Image
source={{ uri: asset('6d860e9154.jpg') }}
contentFit="cover"
style={{ width: '100%', height: '100%' }}
/>
</Pressable>
<Pressable
accessibilityRole="button"
accessibilityLabel="Image 3"
style={{
width: 52,
height: 52,
borderRadius: 12,
borderWidth: 0,
backgroundColor: '#E6D3C1',
padding: 0,
overflow: 'hidden',
alignItems: 'center',
justifyContent: 'center',
}}>
<Image
source={{ uri: asset('a43dba339a.jpg') }}
contentFit="cover"
style={{ width: '100%', height: '100%' }}
/>
</Pressable>
</View>
<View style={{ position: 'absolute', left: 20, right: 20, top: 368 }}>
<View
style={{
alignItems: 'baseline',
justifyContent: 'space-between',
gap: 12,
flexDirection: 'row',
}}>
<Text
style={{
margin: 0,
flexShrink: 1,
fontFamily: 'Inter_800ExtraBold',
fontSize: 23,
color: '#2B1A12',
letterSpacing: -0.5,
}}>
Chocolate Croissant
</Text>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_800ExtraBold',
fontSize: 20,
color: '#2B1A12',
}}>
$3.50
</Text>
</View>
<Text
style={{
marginTop: 8,
marginBottom: 0,
marginHorizontal: 0,
fontFamily: 'Inter_400Regular',
fontSize: 13,
color: '#75655A',
lineHeight: 19.5,
}}>
Flaky, buttery layers filled with rich chocolate and topped with crunchy hazelnuts.
</Text>
<View
style={{
alignItems: 'center',
justifyContent: 'space-between',
marginTop: 14,
flexDirection: 'row',
}}>
<View style={{ alignItems: 'center', gap: 6, flexShrink: 1, flexDirection: 'row' }}>
<Svg width="16" height="16" viewBox="0 0 24 24" fill="#E7A33E">
<Path d="m12 2 3 6.6 7 .7-5.3 4.8 1.6 7L12 17.3 5.7 21l1.6-7L2 9.3l7-.7Z" />
</Svg>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_700Bold',
fontSize: 13,
color: '#2B1A12',
}}>
4.8
</Text>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_400Regular',
fontSize: 13,
color: '#75655A',
}}>
(320 reviews)
</Text>
</View>
<View
style={{
alignItems: 'center',
borderWidth: 1,
borderColor: '#E3D3C4',
borderRadius: 12,
overflow: 'hidden',
flexShrink: 1,
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="button"
accessibilityLabel="Decrease quantity"
style={{
width: 40,
height: 40,
borderWidth: 0,
padding: 0,
alignItems: 'center',
justifyContent: 'center',
}}>
<Text
style={{
fontFamily: 'Inter_400Regular',
fontSize: 18,
color: '#2B1A12',
textAlign: 'center',
}}>
−
</Text>
</Pressable>
<Text
style={{
width: 34,
fontFamily: 'Inter_600SemiBold',
fontSize: 14,
color: '#2B1A12',
textAlign: 'center',
flexShrink: 1,
}}>
1
</Text>
<Pressable
accessibilityRole="button"
accessibilityLabel="Increase quantity"
style={{
width: 40,
height: 40,
borderWidth: 0,
padding: 0,
alignItems: 'center',
justifyContent: 'center',
}}>
<Text
style={{
fontFamily: 'Inter_400Regular',
fontSize: 18,
color: '#2B1A12',
textAlign: 'center',
}}>
+
</Text>
</Pressable>
</View>
</View>
<Pressable
accessibilityRole="link"
style={{
marginTop: 18,
paddingVertical: 14,
paddingHorizontal: 16,
borderWidth: 1,
borderColor: '#EDE1D6',
borderRadius: 16,
backgroundColor: '#FFFFFF',
alignItems: 'center',
gap: 12,
flexDirection: 'row',
}}>
<View style={{ gap: 4, flex: 1 }}>
<Text style={{ fontFamily: 'Inter_700Bold', fontSize: 14, color: '#2B1A12' }}>
Ingredients
</Text>
<Text
style={{
fontFamily: 'Inter_400Regular',
fontSize: 12,
color: '#75655A',
lineHeight: 16.8,
}}>
Butter, wheat flour, dark chocolate, hazelnuts, sugar, eggs, milk
</Text>
</View>
<Svg
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2.2"
strokeLinecap="round">
<Path d="m9 6 6 6-6 6" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="link"
style={{
marginTop: 10,
paddingVertical: 14,
paddingHorizontal: 16,
borderWidth: 1,
borderColor: '#EDE1D6',
borderRadius: 16,
backgroundColor: '#FFFFFF',
alignItems: 'center',
gap: 12,
flexDirection: 'row',
}}>
<View style={{ gap: 4, flex: 1 }}>
<Text style={{ fontFamily: 'Inter_700Bold', fontSize: 14, color: '#2B1A12' }}>
Nutrition Info
</Text>
<Text style={{ fontFamily: 'Inter_400Regular', fontSize: 12, color: '#75655A' }}>
290 kcal · 12g fat · 34g carbs · 6g protein
</Text>
</View>
<Svg
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="#2B1A12"
strokeWidth="2.2"
strokeLinecap="round">
<Path d="m9 6 6 6-6 6" />
</Svg>
</Pressable>
</View>
<Pressable
accessibilityRole="button"
style={{
position: 'absolute',
left: 20,
right: 20,
bottom: 30,
height: 58,
borderRadius: 20,
borderWidth: 0,
backgroundColor: dark,
alignItems: 'center',
justifyContent: 'center',
gap: 14,
flexDirection: 'row',
}}>
<Svg
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2"
strokeLinejoin="round">
<Path d="M5 8h14l-1 12H6Z" />
<Path d="M9 8V6a3 3 0 0 1 6 0v2" />
</Svg>
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_600SemiBold',
fontSize: 15,
color: '#FFFFFF',
}}>
Add to Cart
</Text>
<View style={{ width: 1, height: 18, backgroundColor: 'rgba(255,255,255,0.4)' }} />
<Text
style={{
flexShrink: 1,
fontFamily: 'Inter_600SemiBold',
fontSize: 15,
color: '#FFFFFF',
}}>
$3.50
</Text>
</Pressable>
</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/bakery-app-ui-design/assets';
export const asset = (name: string) => `${ASSET_BASE}/${name}`;About this design
The product page shows a large croissant photo with a curved edge, a thumbnail gallery, price, rating, a quantity stepper, ingredients and nutrition rows, and an Add to Cart button with the total. A full photo onboarding introduces the brand.
Cream pages with warm caramel and chocolate brown, heavy Inter headlines and close-up food photography with rounded corners.
- Photo category row and popular items grid
- Quick add buttons on every product
- Product page with gallery and quantity stepper
- Ingredients and nutrition rows
Colour palette
Cream
#FBF6F1
Chocolate
#4A2616
Caramel
#C98A4B
Toffee
#B5743A
Honey
#E8B27A
Espresso
#2B1A12
How to use this design
- 01
Pick what to copy
Copy the Knead Bakery 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
Can I connect it to a real menu?
Yes. The categories and popular items are plain arrays of name, price and image. Load them from your API and keep the same cards.
Does it include a cart?
It includes the Add to Cart button and a cart tab. Add a cart screen with the same card style and a state store for the items.
Which fonts does it use?
Inter in four weights from @expo-google-fonts/inter, loaded in the root layout.
Is the Knead Bakery 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.



