// Food app UI
Snack Ordering App UI Design in Expo
This snack ordering app UI sells crisps like a premium product. The home screen stacks tilted cards with oversized bags, and a frosted price pill sits on each one.
- Screens
- 3
- Built with
- Expo SDK 58
- Fonts
- Sora
- License
- Free (MIT)
- Views
- 0

Snack Shop Ordering app screens

Snack home
A headline, category buttons, tilted product cards with a price pill and a cart bar.

Chips collection
A two column grid of pastel cards with chip bags, names, prices and add buttons, with an item counter.

Product detail
A large tilted bag, a frosted fact card, a quantity picker, the price and an add to cart button.
Copy the Snack Shop Ordering 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
# Snack Shop Ordering: design artifact
This snack ordering app UI sells crisps like a premium product. The home screen stacks tilted cards with oversized bags, and a frosted price pill sits on each one.
- Type: Food mobile app UI
- Screens: 3
- Artboard: 390 × 844
- Target: Expo SDK 58, Expo Router, TypeScript, expo-blur, expo-image, expo-linear-gradient, react-native-svg
- Live page: https://developermill.com/app-designs/snack-ordering-app-ui-design
## Design direction
Buttery yellow fades with candy-coloured cards, big floating product bags, frosted price pills and black round buttons.
- Tilted stacked product cards
- Frosted glass price pills
- Staggered pastel collection grid
- Large quantity picker on the product page
## Foundations
### Colour
| Token | Hex |
| --- | --- |
| Butter | `#FBE38A` |
| Cream | `#FDF2C4` |
| Mustard | `#F8CB3A` |
| Peach | `#F8D7BC` |
| Sky | `#C3E2F6` |
| Ink | `#111111` |
### Typography
- Typefaces: Sora
- Common sizes (px): 10, 12, 13, 14, 15, 16, 17, 26
### Shape and depth
- Common corner radii (px): 2, 10, 17, 22, 24, 26
- Shadows: `0 6px 16px rgba(120,90,0,0.08)`, `0 18px 40px rgba(120,90,0,0.12)`, `0 22px 44px rgba(200,150,0,0.25)`, `0 -4px 30px rgba(0,0,0,0.06)`
## Screens
### 1. Snack home
A headline, category buttons, tilted product cards with a price pill and a cart bar.
Preview: https://developermill.com/app-designs/snack-ordering-app-ui-design/home.webp
Copy on this screen:
- 12:45
- Order From The
- Best Of
- Snacks
- All
- Chips
- Collections
- Regular
- Natural
- Potato
- $ 06.00
- 1
- Cart
- 1 Item
### 2. Chips collection
A two column grid of pastel cards with chip bags, names, prices and add buttons, with an item counter.
Preview: https://developermill.com/app-designs/snack-ordering-app-ui-design/collection.webp
Copy on this screen:
- 12:45
- Chips
- Collections
- Potato
- $ 06.00
- Dark
- Russet
- Twister
- 245 Items
- Regular
- Natural
- Deep
- River
- 1
- Cart
- 1 Item
### 3. Product detail
A large tilted bag, a frosted fact card, a quantity picker, the price and an add to cart button.
Preview: https://developermill.com/app-designs/snack-ordering-app-ui-design/product.webp
Copy on this screen:
- 12:45
- Potato
- Chips
- Dang
- Pure
- Coconut
- 100%
- $ 06.00
- Add To Cart
## Full source
The original artboards as HTML. Image URLs point at the hosted demo assets.
### Snack home (Main)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Home – Order Snacks</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
button{font-family:inherit;cursor:pointer}
</style>
</helmet>
<div style="width: 390px; height: 844px; position: relative; overflow: hidden; box-sizing: border-box; background: linear-gradient(180deg, #FBE38A 0%, #FDF2C4 36%, #FFFFFF 68%); font-family: Sora, Inter, sans-serif; color: #111111">
<div aria-hidden="true" style="position: absolute; left: 50%; top: 10px; width: 120px; height: 34px; border-radius: 17px; background: #000000; transform: translateX(-50%); z-index: 5"></div>
<div style="display: flex; justify-content: space-between; align-items: center; padding: 20px 32px 0 32px; font-size: 13px; font-weight: 600">
<span>12:45</span>
<svg width="62" height="12" viewBox="0 0 62 12" aria-hidden="true"><rect x="0" y="7" width="3" height="5" rx="1" fill="#111"></rect><rect x="5" y="5" width="3" height="7" rx="1" fill="#111"></rect><rect x="10" y="3" width="3" height="9" rx="1" fill="#111"></rect><rect x="15" y="1" width="3" height="11" rx="1" fill="#111"></rect><path d="M24 5.5a8 8 0 0 1 11 0M26.5 8a4.5 4.5 0 0 1 6 0" stroke="#111" stroke-width="1.6" fill="none" stroke-linecap="round"></path><circle cx="29.5" cy="10.4" r="1.2" fill="#111"></circle><rect x="40" y="1.5" width="19" height="9" rx="2.5" stroke="#111" stroke-width="1.2" fill="none"></rect><rect x="42" y="3.5" width="14" height="5" rx="1.2" fill="#111"></rect><rect x="60" y="4.5" width="1.6" height="3" rx="0.8" fill="#111"></rect></svg>
</div>
<div style="display: flex; justify-content: space-between; align-items: flex-start; padding: 26px 24px 0 24px">
<h1 style="margin: 0; font-size: 26px; font-weight: 400; line-height: 1.28; letter-spacing: -0.02em">Order From The<br>Best Of <b style="font-weight: 700">Snacks</b></h1>
<button aria-label="Open menu" style="width: 52px; height: 70px; border-radius: 26px; border: 1.5px solid rgba(17,17,17,0.12); background: rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center; padding: 0">
<svg width="20" height="14" viewBox="0 0 20 14" fill="none" stroke="#111" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><path d="M2 2h16"></path><path d="M6 12h12"></path><path d="M2 7h12"></path></svg>
</button>
</div>
<div style="display: flex; align-items: center; gap: 10px; padding: 24px 24px 0 24px">
<button style="width: 52px; height: 52px; border-radius: 26px; border: none; background: #FFFFFF; font-size: 13px; font-weight: 600; color: #111; box-shadow: 0 6px 16px rgba(120,90,0,0.08)">All</button>
<button aria-label="Cookies" style="width: 52px; height: 52px; border-radius: 26px; border: none; background: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(120,90,0,0.08)">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3a9 9 0 1 0 9 9 3 3 0 0 1-3-3 3 3 0 0 1-3-3 3 3 0 0 1-3-3z"></path><circle cx="9" cy="10" r="0.8" fill="#111"></circle><circle cx="14" cy="15" r="0.8" fill="#111"></circle><circle cx="8.5" cy="15.5" r="0.8" fill="#111"></circle></svg>
</button>
<button style="height: 52px; padding: 0 20px 0 16px; border-radius: 26px; border: none; background: #111111; color: #FFFFFF; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 15c3-5 8-8 15-8 1.5 0 3 .5 3 2 0 4-6 8-13 8-2.5 0-5-.5-5-2z"></path><path d="M8 13c2-2 5-3 8-3"></path></svg>
Chips
</button>
<button aria-label="Candy" style="width: 52px; height: 52px; border-radius: 26px; border: none; background: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(120,90,0,0.08)">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="7.5" y="7.5" width="9" height="9" rx="4.5" transform="rotate(45 12 12)"></rect><path d="M15.5 8.5 19 5l1 3 2 .5-3.5 3.5"></path><path d="M8.5 15.5 5 19l-1-3-2-.5 3.5-3.5"></path></svg>
</button>
</div>
<div style="display: flex; justify-content: space-between; align-items: center; padding: 30px 24px 0 24px">
<h2 style="margin: 0; font-size: 21px; font-weight: 400; letter-spacing: -0.01em">Chips <b style="font-weight: 700">Collections</b></h2>
<a href="Collections.dc.html" aria-label="See all chips" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: flex-end">
<svg width="26" height="16" viewBox="0 0 26 16" fill="none" stroke="#111" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2 8h21"></path><path d="M17 2l6 6-6 6"></path></svg>
</a>
</div>
<div style="position: relative; height: 340px; margin-top: 22px">
<a href="Detail.dc.html" aria-label="Regular Natural chips" style="position: absolute; left: 292px; top: 26px; width: 210px; height: 290px; border-radius: 34px; background: linear-gradient(170deg, #FFFFFF 0%, #FFF4D2 100%); transform: rotate(9deg); box-shadow: 0 18px 40px rgba(120,90,0,0.12); text-decoration: none; color: #111; overflow: hidden">
<div style="position: absolute; left: 22px; top: 26px; font-size: 22px; font-weight: 700; line-height: 1.15">Regular<br>Natural</div>
<span style="position: absolute; left: 22px; top: 88px; padding: 5px 12px; border-radius: 12px; background: #F2F0EA; font-size: 11px">Chips</span>
<img src="https://developermill.com/app-designs/snack-ordering-app-ui-design/assets/1b1e06da5a.png" alt="" style="position: absolute; left: 70px; top: 110px; width: 150px; transform: rotate(-6deg)">
</a>
<a href="Detail.dc.html" style="position: absolute; left: 24px; top: 0; width: 252px; height: 328px; border-radius: 36px; background: linear-gradient(160deg, #FFEA8A 0%, #F8CB3A 100%); text-decoration: none; color: #111; box-shadow: 0 22px 44px rgba(200,150,0,0.25)">
<img src="https://developermill.com/app-designs/snack-ordering-app-ui-design/assets/b18538d800.png" alt="Potato Chips bag" style="position: absolute; right: -26px; top: -6px; width: 210px; transform: rotate(-10deg); filter: drop-shadow(0 18px 18px rgba(120,80,0,0.28))">
<div style="position: absolute; left: 24px; top: 30px; font-size: 27px; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em">Potato<br>Chips</div>
<span style="position: absolute; left: 24px; top: 104px; padding: 6px 14px; border-radius: 14px; background: #FFFFFF; font-size: 12px">Chips</span>
<div style="position: absolute; left: 14px; right: 14px; bottom: 14px; height: 62px; border-radius: 31px; background: rgba(255,255,255,0.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: space-between; padding: 0 7px 0 22px; box-sizing: border-box">
<span style="font-size: 16px; font-weight: 600">$ 06.00</span>
<span aria-label="Add to cart" style="width: 48px; height: 48px; border-radius: 24px; background: #111111; display: flex; align-items: center; justify-content: center">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z"></path><path d="M9 10l3-5 3 5"></path><path d="M10 14v3M14 14v3"></path></svg>
</span>
</div>
</a>
</div>
<div style="position: absolute; left: 50%; bottom: 112px; width: 36px; height: 4px; border-radius: 2px; background: #111111; transform: translateX(-50%)"></div>
<a href="Collections.dc.html" style="position: absolute; left: 16px; right: 16px; bottom: 22px; height: 78px; border-radius: 28px; background: #FFFFFF; box-shadow: 0 -4px 30px rgba(0,0,0,0.06); display: flex; align-items: center; gap: 14px; padding: 0 14px 0 16px; text-decoration: none; color: #111">
<span style="width: 40px; height: 40px; border-radius: 20px; background: #111111; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600">1</span>
<span style="display: flex; flex-direction: column; gap: 2px; flex-grow: 1">
<span style="font-size: 16px; font-weight: 600">Cart</span>
<span style="font-size: 12px; color: #6B6B6B">1 Item</span>
</span>
<span style="width: 54px; height: 54px; border-radius: 27px; background: #F5F1E4; border: 2px solid #FFFFFF; box-shadow: 0 4px 10px rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; overflow: hidden">
<img src="https://developermill.com/app-designs/snack-ordering-app-ui-design/assets/b18538d800.png" alt="" style="width: 30px">
</span>
</a>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
return {};
}
}
</script>
</body>
</html>
```
### Chips collection (Collections)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Chips Collections</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
button{font-family:inherit;cursor:pointer}
</style>
</helmet>
<div style="width: 390px; height: 844px; position: relative; overflow: hidden; box-sizing: border-box; background: #FAFAF8; font-family: Sora, Inter, sans-serif; color: #111111">
<div style="display: flex; justify-content: space-between; align-items: center; padding: 16px 28px 0 28px; font-size: 13px; font-weight: 600">
<span>12:45</span>
<svg width="62" height="12" viewBox="0 0 62 12" aria-hidden="true"><rect x="0" y="7" width="3" height="5" rx="1" fill="#111"></rect><rect x="5" y="5" width="3" height="7" rx="1" fill="#111"></rect><rect x="10" y="3" width="3" height="9" rx="1" fill="#111"></rect><rect x="15" y="1" width="3" height="11" rx="1" fill="#111"></rect><path d="M24 5.5a8 8 0 0 1 11 0M26.5 8a4.5 4.5 0 0 1 6 0" stroke="#111" stroke-width="1.6" fill="none" stroke-linecap="round"></path><circle cx="29.5" cy="10.4" r="1.2" fill="#111"></circle><rect x="40" y="1.5" width="19" height="9" rx="2.5" stroke="#111" stroke-width="1.2" fill="none"></rect><rect x="42" y="3.5" width="14" height="5" rx="1.2" fill="#111"></rect><rect x="60" y="4.5" width="1.6" height="3" rx="0.8" fill="#111"></rect></svg>
</div>
<div style="display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 0 24px">
<h1 style="margin: 0; font-size: 26px; line-height: 1.3; letter-spacing: -0.02em"><span style="font-weight: 700">Chips</span><br><span style="font-weight: 400">Collections</span></h1>
<a href="Main.dc.html" aria-label="Back" style="width: 52px; height: 70px; border-radius: 26px; border: 1.5px solid rgba(17,17,17,0.12); background: #FFFFFF; display: flex; align-items: center; justify-content: center; box-sizing: border-box">
<svg width="12" height="18" viewBox="0 0 12 18" fill="none" stroke="#111" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 2 2 9l7 7"></path></svg>
</a>
</div>
<div style="display: flex; gap: 12px; padding: 22px 16px 0 16px; align-items: flex-start">
<div style="flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px">
<a href="Detail.dc.html" style="position: relative; display: block; height: 196px; border-radius: 26px; background: #F8D7BC; overflow: hidden; text-decoration: none; color: #111">
<img src="https://developermill.com/app-designs/snack-ordering-app-ui-design/assets/03359f3f3c.png" alt="Crispo Original bag" style="position: absolute; right: -14px; top: 8px; width: 104px; transform: rotate(10deg); filter: drop-shadow(0 8px 10px rgba(0,0,0,0.15))">
<div style="position: absolute; left: 14px; top: 16px; font-size: 15px; font-weight: 700; line-height: 1.2">Potato<br>Chips</div>
<span style="position: absolute; left: 14px; top: 62px; padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,0.85); font-size: 10px">Chips</span>
<div style="position: absolute; left: 8px; right: 8px; bottom: 8px; height: 44px; border-radius: 22px; background: rgba(255,255,255,0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: space-between; padding: 0 5px 0 14px; box-sizing: border-box">
<span style="font-size: 12px; font-weight: 600">$ 06.00</span>
<span style="width: 34px; height: 34px; border-radius: 17px; background: #111111; display: flex; align-items: center; justify-content: center"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z"></path><path d="M9 10l3-5 3 5"></path></svg></span>
</div>
</a>
<a href="Detail.dc.html" style="position: relative; display: block; height: 196px; border-radius: 26px; background: #EEF0BC; overflow: hidden; text-decoration: none; color: #111">
<img src="https://developermill.com/app-designs/snack-ordering-app-ui-design/assets/1bb614a946.png" alt="Ridge Farm Dark Russet bag" style="position: absolute; right: -14px; top: 8px; width: 104px; transform: rotate(10deg); filter: drop-shadow(0 8px 10px rgba(0,0,0,0.18))">
<div style="position: absolute; left: 14px; top: 16px; font-size: 15px; font-weight: 700; line-height: 1.2">Dark<br>Russet</div>
<span style="position: absolute; left: 14px; top: 62px; padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,0.85); font-size: 10px">Chips</span>
<div style="position: absolute; left: 8px; right: 8px; bottom: 8px; height: 44px; border-radius: 22px; background: rgba(255,255,255,0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: space-between; padding: 0 5px 0 14px; box-sizing: border-box">
<span style="font-size: 12px; font-weight: 600">$ 06.00</span>
<span style="width: 34px; height: 34px; border-radius: 17px; background: #111111; display: flex; align-items: center; justify-content: center"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z"></path><path d="M9 10l3-5 3 5"></path></svg></span>
</div>
</a>
<a href="Detail.dc.html" style="position: relative; display: block; height: 196px; border-radius: 26px; background: #F9CDC6; overflow: hidden; text-decoration: none; color: #111">
<img src="https://developermill.com/app-designs/snack-ordering-app-ui-design/assets/fa2001ecdb.png" alt="Twirlo twisted corn snacks bag" style="position: absolute; right: -14px; top: 8px; width: 104px; transform: rotate(10deg); filter: drop-shadow(0 8px 10px rgba(0,0,0,0.15))">
<div style="position: absolute; left: 14px; top: 16px; font-size: 15px; font-weight: 700; line-height: 1.2">Twister<br>Chips</div>
<span style="position: absolute; left: 14px; top: 62px; padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,0.85); font-size: 10px">Chips</span>
<div style="position: absolute; left: 8px; right: 8px; bottom: 8px; height: 44px; border-radius: 22px; background: rgba(255,255,255,0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: space-between; padding: 0 5px 0 14px; box-sizing: border-box">
<span style="font-size: 12px; font-weight: 600">$ 06.00</span>
<span style="width: 34px; height: 34px; border-radius: 17px; background: #111111; display: flex; align-items: center; justify-content: center"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z"></path><path d="M9 10l3-5 3 5"></path></svg></span>
</div>
</a>
</div>
<div style="flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px">
<div style="height: 48px; border-radius: 24px; background: #FFFFFF; border: 1px solid #ECEAE4; display: flex; align-items: center; justify-content: space-between; padding: 0 5px 0 16px; box-sizing: border-box">
<span style="font-size: 12px; font-weight: 600">245 Items</span>
<button aria-label="Filter" style="width: 38px; height: 38px; border-radius: 19px; border: none; background: #F3F2EE; display: flex; align-items: center; justify-content: center; padding: 0">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><path d="M4 7h10M18 7h2M4 17h2M10 17h10"></path><circle cx="16" cy="7" r="2"></circle><circle cx="8" cy="17" r="2"></circle></svg>
</button>
</div>
<a href="Detail.dc.html" style="position: relative; display: block; height: 196px; border-radius: 26px; background: #F9DB63; overflow: hidden; text-decoration: none; color: #111">
<img src="https://developermill.com/app-designs/snack-ordering-app-ui-design/assets/b18538d800.png" alt="Potato Chips bag" style="position: absolute; right: -14px; top: 8px; width: 104px; transform: rotate(10deg); filter: drop-shadow(0 8px 10px rgba(120,80,0,0.2))">
<div style="position: absolute; left: 14px; top: 16px; font-size: 15px; font-weight: 700; line-height: 1.2">Potato<br>Chips</div>
<span style="position: absolute; left: 14px; top: 62px; padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,0.85); font-size: 10px">Chips</span>
<div style="position: absolute; left: 8px; right: 8px; bottom: 8px; height: 44px; border-radius: 22px; background: rgba(255,255,255,0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: space-between; padding: 0 5px 0 14px; box-sizing: border-box">
<span style="font-size: 12px; font-weight: 600">$ 06.00</span>
<span style="width: 34px; height: 34px; border-radius: 17px; background: #111111; display: flex; align-items: center; justify-content: center"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z"></path><path d="M9 10l3-5 3 5"></path></svg></span>
</div>
</a>
<a href="Detail.dc.html" style="position: relative; display: block; height: 196px; border-radius: 26px; background: #C3E2F6; overflow: hidden; text-decoration: none; color: #111">
<img src="https://developermill.com/app-designs/snack-ordering-app-ui-design/assets/1b1e06da5a.png" alt="Ripplz Regular Natural bag" style="position: absolute; right: -14px; top: 8px; width: 104px; transform: rotate(10deg); filter: drop-shadow(0 8px 10px rgba(0,40,90,0.18))">
<div style="position: absolute; left: 14px; top: 16px; font-size: 15px; font-weight: 700; line-height: 1.2">Regular<br>Natural</div>
<span style="position: absolute; left: 14px; top: 62px; padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,0.85); font-size: 10px">Chips</span>
<div style="position: absolute; left: 8px; right: 8px; bottom: 8px; height: 44px; border-radius: 22px; background: rgba(255,255,255,0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: space-between; padding: 0 5px 0 14px; box-sizing: border-box">
<span style="font-size: 12px; font-weight: 600">$ 06.00</span>
<span style="width: 34px; height: 34px; border-radius: 17px; background: #111111; display: flex; align-items: center; justify-content: center"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z"></path><path d="M9 10l3-5 3 5"></path></svg></span>
</div>
</a>
<a href="Detail.dc.html" style="position: relative; display: block; height: 196px; border-radius: 26px; background: #D8CFF6; overflow: hidden; text-decoration: none; color: #111">
<img src="https://developermill.com/app-designs/snack-ordering-app-ui-design/assets/6b1ea6332f.png" alt="Stonebrook Sea Salt and Vinegar bag" style="position: absolute; right: -14px; top: 8px; width: 104px; transform: rotate(10deg); filter: drop-shadow(0 8px 10px rgba(40,0,90,0.18))">
<div style="position: absolute; left: 14px; top: 16px; font-size: 15px; font-weight: 700; line-height: 1.2">Deep<br>River</div>
<span style="position: absolute; left: 14px; top: 62px; padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,0.85); font-size: 10px">Chips</span>
<div style="position: absolute; left: 8px; right: 8px; bottom: 8px; height: 44px; border-radius: 22px; background: rgba(255,255,255,0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: space-between; padding: 0 5px 0 14px; box-sizing: border-box">
<span style="font-size: 12px; font-weight: 600">$ 06.00</span>
<span style="width: 34px; height: 34px; border-radius: 17px; background: #111111; display: flex; align-items: center; justify-content: center"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z"></path><path d="M9 10l3-5 3 5"></path></svg></span>
</div>
</a>
</div>
</div>
<div style="position: absolute; left: 0; right: 0; bottom: 0; height: 190px; background: linear-gradient(180deg, rgba(250,250,248,0) 0%, rgba(250,250,248,0.92) 45%, #FAFAF8 100%)"></div>
<div style="position: absolute; left: 50%; bottom: 112px; width: 36px; height: 4px; border-radius: 2px; background: #111111; transform: translateX(-50%)"></div>
<a href="Detail.dc.html" style="position: absolute; left: 16px; right: 16px; bottom: 22px; height: 78px; border-radius: 28px; background: #FFFFFF; box-shadow: 0 -4px 30px rgba(0,0,0,0.07); display: flex; align-items: center; gap: 14px; padding: 0 12px 0 16px; text-decoration: none; color: #111">
<span style="width: 40px; height: 40px; border-radius: 20px; background: #111111; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600">1</span>
<span style="display: flex; flex-direction: column; gap: 2px; flex-grow: 1">
<span style="font-size: 16px; font-weight: 600">Cart</span>
<span style="font-size: 12px; color: #6B6B6B">1 Item</span>
</span>
<span style="display: flex; align-items: center">
<span style="width: 48px; height: 48px; border-radius: 24px; background: #E4F1FA; border: 2px solid #FFFFFF; display: flex; align-items: center; justify-content: center; overflow: hidden"><img src="https://developermill.com/app-designs/snack-ordering-app-ui-design/assets/1b1e06da5a.png" alt="" style="width: 26px"></span>
<span style="width: 48px; height: 48px; margin-left: -16px; border-radius: 24px; background: #FCE6D6; border: 2px solid #FFFFFF; display: flex; align-items: center; justify-content: center; overflow: hidden"><img src="https://developermill.com/app-designs/snack-ordering-app-ui-design/assets/03359f3f3c.png" alt="" style="width: 26px"></span>
<span style="width: 48px; height: 48px; margin-left: -16px; border-radius: 24px; background: #ECE7FA; border: 2px solid #FFFFFF; display: flex; align-items: center; justify-content: center; overflow: hidden"><img src="https://developermill.com/app-designs/snack-ordering-app-ui-design/assets/6b1ea6332f.png" alt="" style="width: 26px"></span>
</span>
</a>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
return {};
}
}
</script>
</body>
</html>
```
### Product detail (Detail)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Potato Chips – Detail</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
button{font-family:inherit;cursor:pointer}
</style>
</helmet>
<div style="width: 390px; height: 844px; position: relative; overflow: hidden; box-sizing: border-box; background: linear-gradient(180deg, #FFFFFF 0%, #FFF8DC 42%, #FCE9A2 100%); font-family: Sora, Inter, sans-serif; color: #111111">
<div style="display: flex; justify-content: space-between; align-items: center; padding: 16px 28px 0 28px; font-size: 13px; font-weight: 600">
<span>12:45</span>
<svg width="62" height="12" viewBox="0 0 62 12" aria-hidden="true"><rect x="0" y="7" width="3" height="5" rx="1" fill="#111"></rect><rect x="5" y="5" width="3" height="7" rx="1" fill="#111"></rect><rect x="10" y="3" width="3" height="9" rx="1" fill="#111"></rect><rect x="15" y="1" width="3" height="11" rx="1" fill="#111"></rect><path d="M24 5.5a8 8 0 0 1 11 0M26.5 8a4.5 4.5 0 0 1 6 0" stroke="#111" stroke-width="1.6" fill="none" stroke-linecap="round"></path><circle cx="29.5" cy="10.4" r="1.2" fill="#111"></circle><rect x="40" y="1.5" width="19" height="9" rx="2.5" stroke="#111" stroke-width="1.2" fill="none"></rect><rect x="42" y="3.5" width="14" height="5" rx="1.2" fill="#111"></rect><rect x="60" y="4.5" width="1.6" height="3" rx="0.8" fill="#111"></rect></svg>
</div>
<div style="display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 24px 0 28px">
<div>
<h1 style="margin: 0; font-size: 27px; line-height: 1.25; letter-spacing: -0.02em"><span style="font-weight: 400">Potato</span><br><span style="font-weight: 700">Chips</span></h1>
<p style="margin: 6px 0 0 0; font-size: 17px; font-weight: 600; color: #A06C00">Dang</p>
</div>
<a href="Collections.dc.html" aria-label="Back" style="width: 52px; height: 70px; border-radius: 26px; border: 1.5px solid rgba(17,17,17,0.12); background: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; box-sizing: border-box">
<svg width="12" height="18" viewBox="0 0 12 18" fill="none" stroke="#111" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 2 2 9l7 7"></path></svg>
</a>
</div>
<img src="https://developermill.com/app-designs/snack-ordering-app-ui-design/assets/b18538d800.png" alt="Potato Chips bag" style="position: absolute; left: 62px; top: 148px; width: 286px; transform: rotate(7deg); filter: drop-shadow(0 26px 26px rgba(150,100,0,0.28))">
<div style="position: absolute; left: 36px; top: 470px; width: 176px; height: 62px; border-radius: 18px; background: rgba(255,255,255,0.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.75); box-shadow: 0 10px 24px rgba(120,90,0,0.1); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; box-sizing: border-box">
<span style="font-size: 12px; line-height: 1.25">Pure<br>Coconut</span>
<span style="font-size: 17px; font-weight: 700">100%</span>
</div>
<div style="position: absolute; left: 0; right: 0; top: 566px; display: flex; flex-direction: column; align-items: center; gap: 12px">
<div style="display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 16px; box-sizing: border-box">
<button aria-label="Increase quantity" onClick="{{inc}}" style="width: 48px; height: 48px; border-radius: 24px; border: none; background: transparent; display: flex; align-items: center; justify-content: center; padding: 0">
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="#111" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><path d="M9 3v12M3 9h12"></path></svg>
</button>
<span aria-live="polite" style="font-size: 36px; font-weight: 700; letter-spacing: -0.02em">{{qtyLabel}}</span>
<button aria-label="Decrease quantity" onClick="{{dec}}" style="width: 48px; height: 48px; border-radius: 24px; border: none; background: transparent; display: flex; align-items: center; justify-content: center; padding: 0">
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="#111" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><path d="M3 9h12"></path></svg>
</button>
</div>
<span style="padding: 14px 28px; border-radius: 26px; background: #111111; color: #FFFFFF; font-size: 17px; font-weight: 600">$ 06.00</span>
</div>
<div style="position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: #FFFFFF; border-top-left-radius: 44px; border-top-right-radius: 70px; box-shadow: 0 -10px 30px rgba(120,90,0,0.06)"></div>
<div style="position: absolute; left: 0; right: 0; bottom: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px 0 32px">
<span style="font-size: 16px; font-weight: 600">Add To Cart</span>
<button aria-label="Add to cart" style="width: 80px; height: 80px; border-radius: 40px; border: none; background: #111111; display: flex; align-items: center; justify-content: center; padding: 0; box-shadow: 0 14px 28px rgba(0,0,0,0.22)">
<svg width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z"></path><path d="M9 10l3-5 3 5"></path><path d="M10 14v3M14 14v3"></path></svg>
</button>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"startQty":{"editor":"int","default":3,"min":1,"max":99},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
var start = this.props.startQty ?? 3;
var q = (this.state && this.state.qty != null) ? this.state.qty : start;
return {
qtyLabel: (q < 10 ? '0' : '') + q,
inc: () => this.setState({ qty: Math.min(99, q + 1) }),
dec: () => this.setState({ qty: Math.max(1, q - 1) })
};
}
}
</script>
</body>
</html>
```SKILL.md
Save as .claude/skills/snack-ordering-app-ui/SKILL.md
--- name: snack-ordering-app-ui description: Build the Snack Shop Ordering mobile app UI in Expo React Native. Use when asked to create a snack ordering app UI or a new screen in this visual style. --- # Snack Shop Ordering app UI Build this food app UI in an Expo Router project with TypeScript. Reference: https://developermill.com/app-designs/snack-ordering-app-ui-design ## Visual direction Buttery yellow fades with candy-coloured cards, big floating product bags, frosted price pills and black round buttons. Keep these signature details: - Tilted stacked product cards - Frosted glass price pills - Staggered pastel collection grid - Large quantity picker on the product page ## Set up ```bash npx expo install expo-blur expo-image expo-linear-gradient react-native-svg @expo-google-fonts/sora expo-font ``` ## Tokens | Name | Hex | | --- | --- | | Butter | `#FBE38A` | | Cream | `#FDF2C4` | | Mustard | `#F8CB3A` | | Peach | `#F8D7BC` | | Sky | `#C3E2F6` | | Ink | `#111111` | - Typefaces: Sora - Text sizes (px): 10, 12, 13, 14, 15, 16, 17, 26 - Corner radii (px): 2, 10, 17, 22, 24, 26 Define these once and reuse them. Do not add new colours. ## Screens 1. **Snack home.** A headline, category buttons, tilted product cards with a price pill and a cart bar. 2. **Chips collection.** A two column grid of pastel cards with chip bags, names, prices and add buttons, with an item counter. 3. **Product detail.** A large tilted bag, a frosted fact card, a quantity picker, the price and an add to cart 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 snack-ordering-app --template default cd snack-ordering-app rm -rf src npx expo install expo-blur expo-image expo-linear-gradient react-native-svg @expo-google-fonts/sora expo-font
src/app/_layout.tsx
import { Sora_400Regular, Sora_600SemiBold, Sora_700Bold } from '@expo-google-fonts/sora';
import { useFonts } from 'expo-font';
import { Stack } from 'expo-router';
export default function RootLayout() {
const [fontsLoaded] = useFonts({ Sora_400Regular, Sora_600SemiBold, Sora_700Bold });
if (!fontsLoaded) return null;
return <Stack screenOptions={{ headerShown: false }} />;
}src/app/index.tsx
import { BlurView } from 'expo-blur';
import { Image } from 'expo-image';
import { LinearGradient } from 'expo-linear-gradient';
import { router } from 'expo-router';
import { Pressable, StyleSheet, Text, View } from 'react-native';
import Svg, { Circle, Path, Rect } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
export default function MainScreen() {
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ flex: 1 }}>
<LinearGradient
colors={['#FBE38A', '#FDF2C4', '#FFFFFF']}
locations={[0, 0.36, 0.68]}
start={{ x: 0.5, y: 0 }}
end={{ x: 0.5, y: 1 }}
style={StyleSheet.absoluteFill}
/>
<View
style={{
justifyContent: 'space-between',
alignItems: 'center',
paddingTop: 20,
paddingBottom: 0,
paddingHorizontal: 32,
height: 36,
flexDirection: 'row',
}}
/>
<View
style={{
justifyContent: 'space-between',
alignItems: 'flex-start',
paddingTop: 26,
paddingBottom: 0,
paddingHorizontal: 24,
flexDirection: 'row',
}}>
<Text
style={{
margin: 0,
flexShrink: 1,
fontFamily: 'Sora_400Regular',
fontSize: 26,
color: '#111111',
letterSpacing: -0.52,
lineHeight: 33.28,
}}>
Order From The{'\n'}
{'Best Of '}
<Text style={{ fontFamily: 'Sora_700Bold' }}>Snacks</Text>
</Text>
<Pressable
accessibilityRole="button"
accessibilityLabel="Open menu"
style={{
width: 52,
height: 70,
borderRadius: 26,
borderWidth: 1.5,
borderColor: 'rgba(17,17,17,0.12)',
backgroundColor: 'rgba(255,255,255,0.4)',
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg
width="20"
height="14"
viewBox="0 0 20 14"
fill="none"
stroke="#111"
strokeWidth="1.8"
strokeLinecap="round">
<Path d="M2 2h16" />
<Path d="M6 12h12" />
<Path d="M2 7h12" />
</Svg>
</Pressable>
</View>
<View
style={{
alignItems: 'center',
gap: 10,
paddingTop: 24,
paddingBottom: 0,
paddingHorizontal: 24,
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="button"
style={{
width: 52,
height: 52,
borderRadius: 26,
borderWidth: 0,
backgroundColor: '#FFFFFF',
boxShadow: '0 6px 16px rgba(120,90,0,0.08)',
alignItems: 'center',
justifyContent: 'center',
}}>
<Text
style={{
fontFamily: 'Sora_600SemiBold',
fontSize: 13,
color: '#111',
textAlign: 'center',
}}>
All
</Text>
</Pressable>
<Pressable
accessibilityRole="button"
accessibilityLabel="Cookies"
style={{
width: 52,
height: 52,
borderRadius: 26,
borderWidth: 0,
backgroundColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
boxShadow: '0 6px 16px rgba(120,90,0,0.08)',
flexDirection: 'row',
}}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="1.6"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M12 3a9 9 0 1 0 9 9 3 3 0 0 1-3-3 3 3 0 0 1-3-3 3 3 0 0 1-3-3z" />
<Circle cx="9" cy="10" r="0.8" fill="#111" />
<Circle cx="14" cy="15" r="0.8" fill="#111" />
<Circle cx="8.5" cy="15.5" r="0.8" fill="#111" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="button"
style={{
height: 52,
paddingVertical: 0,
paddingLeft: 16,
paddingRight: 20,
borderRadius: 26,
borderWidth: 0,
backgroundColor: '#111111',
alignItems: 'center',
gap: 8,
flexShrink: 1,
flexDirection: 'row',
}}>
<Svg
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="1.6"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M3 15c3-5 8-8 15-8 1.5 0 3 .5 3 2 0 4-6 8-13 8-2.5 0-5-.5-5-2z" />
<Path d="M8 13c2-2 5-3 8-3" />
</Svg>
<Text
style={{
fontFamily: 'Sora_600SemiBold',
fontSize: 13,
color: '#FFFFFF',
flexShrink: 1,
}}>
Chips
</Text>
</Pressable>
<Pressable
accessibilityRole="button"
accessibilityLabel="Candy"
style={{
width: 52,
height: 52,
borderRadius: 26,
borderWidth: 0,
backgroundColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
boxShadow: '0 6px 16px rgba(120,90,0,0.08)',
flexDirection: 'row',
}}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="1.6"
strokeLinecap="round"
strokeLinejoin="round">
<Rect x="7.5" y="7.5" width="9" height="9" rx="4.5" transform="rotate(45 12 12)" />
<Path d="M15.5 8.5 19 5l1 3 2 .5-3.5 3.5" />
<Path d="M8.5 15.5 5 19l-1-3-2-.5 3.5-3.5" />
</Svg>
</Pressable>
</View>
<View
style={{
justifyContent: 'space-between',
alignItems: 'center',
paddingTop: 30,
paddingBottom: 0,
paddingHorizontal: 24,
flexDirection: 'row',
}}>
<Text
style={{
margin: 0,
flexShrink: 1,
fontFamily: 'Sora_400Regular',
fontSize: 21,
color: '#111111',
letterSpacing: -0.21,
}}>
{'Chips '}
<Text style={{ fontFamily: 'Sora_700Bold' }}>Collections</Text>
</Text>
<Pressable
accessibilityRole="link"
accessibilityLabel="See all chips"
onPress={() => router.navigate('/collections')}
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'flex-end',
flexDirection: 'row',
}}>
<Svg
width="26"
height="16"
viewBox="0 0 26 16"
fill="none"
stroke="#111"
strokeWidth="1.8"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M2 8h21" />
<Path d="M17 2l6 6-6 6" />
</Svg>
</Pressable>
</View>
<View style={{ height: 340, marginTop: 22 }}>
<Pressable
accessibilityRole="link"
accessibilityLabel="Regular Natural chips"
onPress={() => router.navigate('/detail')}
style={{
position: 'absolute',
left: 292,
top: 26,
width: 210,
height: 290,
borderRadius: 34,
transform: [{ rotate: '9deg' }],
boxShadow: '0 18px 40px rgba(120,90,0,0.12)',
overflow: 'hidden',
}}>
<LinearGradient
colors={['#FFFFFF', '#FFF4D2']}
locations={[0, 1]}
start={{ x: 0.413, y: 0.008 }}
end={{ x: 0.587, y: 0.992 }}
style={StyleSheet.absoluteFill}
/>
<Text
style={{
position: 'absolute',
left: 22,
top: 26,
fontFamily: 'Sora_700Bold',
fontSize: 22,
color: '#111',
lineHeight: 25.3,
}}>
Regular{'\n'}Natural
</Text>
<Text
style={{
position: 'absolute',
left: 22,
top: 88,
paddingVertical: 5,
paddingHorizontal: 12,
borderRadius: 12,
backgroundColor: '#F2F0EA',
fontFamily: 'Sora_400Regular',
fontSize: 11,
color: '#111',
}}>
Chips
</Text>
<Image
source={{ uri: asset('1b1e06da5a.png') }}
contentFit="fill"
style={{
position: 'absolute',
left: 70,
top: 110,
width: 150,
transform: [{ rotate: '-6deg' }],
aspectRatio: 0.741,
}}
/>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/detail')}
style={{
position: 'absolute',
left: 24,
top: 0,
width: 252,
height: 328,
borderRadius: 36,
boxShadow: '0 22px 44px rgba(200,150,0,0.25)',
overflow: 'hidden',
}}>
<LinearGradient
colors={['#FFEA8A', '#F8CB3A']}
locations={[0, 1]}
start={{ x: 0.329, y: 0.03 }}
end={{ x: 0.671, y: 0.97 }}
style={StyleSheet.absoluteFill}
/>
<Image
source={{ uri: asset('b18538d800.png') }}
contentFit="fill"
accessibilityLabel="Potato Chips bag"
style={{
position: 'absolute',
right: -26,
top: -6,
width: 210,
transform: [{ rotate: '-10deg' }],
filter: 'drop-shadow(0 18px 18px rgba(120,80,0,0.28))',
aspectRatio: 0.738,
}}
/>
<Text
style={{
position: 'absolute',
left: 24,
top: 30,
fontFamily: 'Sora_700Bold',
fontSize: 27,
color: '#111',
letterSpacing: -0.54,
lineHeight: 30.24,
}}>
Potato{'\n'}Chips
</Text>
<Text
style={{
position: 'absolute',
left: 24,
top: 104,
paddingVertical: 6,
paddingHorizontal: 14,
borderRadius: 14,
backgroundColor: '#FFFFFF',
fontFamily: 'Sora_400Regular',
fontSize: 12,
color: '#111',
}}>
Chips
</Text>
<View
style={{
position: 'absolute',
left: 14,
right: 14,
bottom: 14,
height: 62,
borderRadius: 31,
backgroundColor: 'rgba(255,255,255,0.35)',
borderWidth: 1,
borderColor: 'rgba(255,255,255,0.6)',
alignItems: 'center',
justifyContent: 'space-between',
paddingVertical: 0,
paddingLeft: 22,
paddingRight: 7,
overflow: 'hidden',
flexDirection: 'row',
}}>
<BlurView intensity={28} tint="default" style={StyleSheet.absoluteFill} />
<Text
style={{
flexShrink: 1,
fontFamily: 'Sora_600SemiBold',
fontSize: 16,
color: '#111',
}}>
$ 06.00
</Text>
<View
style={{
width: 48,
height: 48,
borderRadius: 24,
backgroundColor: '#111111',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="1.8"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z" />
<Path d="M9 10l3-5 3 5" />
<Path d="M10 14v3M14 14v3" />
</Svg>
</View>
</View>
</Pressable>
</View>
<View
style={{
position: 'absolute',
left: '50%',
bottom: 112,
width: 36,
height: 4,
borderRadius: 2,
backgroundColor: '#111111',
transform: [{ translateX: '-50%' }],
}}
/>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/collections')}
style={{
position: 'absolute',
left: 16,
right: 16,
bottom: 22,
height: 78,
borderRadius: 28,
backgroundColor: '#FFFFFF',
boxShadow: '0 -4px 30px rgba(0,0,0,0.06)',
alignItems: 'center',
gap: 14,
paddingVertical: 0,
paddingLeft: 16,
paddingRight: 14,
flexDirection: 'row',
}}>
<View
style={{
width: 40,
height: 40,
borderRadius: 20,
backgroundColor: '#111111',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'Sora_600SemiBold',
fontSize: 14,
color: '#FFFFFF',
flexShrink: 1,
}}>
1
</Text>
</View>
<View style={{ gap: 2, flexGrow: 1, flexShrink: 1 }}>
<Text style={{ fontFamily: 'Sora_600SemiBold', fontSize: 16, color: '#111' }}>
Cart
</Text>
<Text style={{ fontFamily: 'Sora_400Regular', fontSize: 12, color: '#6B6B6B' }}>
1 Item
</Text>
</View>
<View
style={{
width: 58,
height: 58,
borderRadius: 27,
backgroundColor: '#F5F1E4',
borderWidth: 2,
borderColor: '#FFFFFF',
boxShadow: '0 4px 10px rgba(0,0,0,0.08)',
alignItems: 'center',
justifyContent: 'center',
overflow: 'hidden',
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('b18538d800.png') }}
contentFit="fill"
style={{ width: 30, aspectRatio: 0.738 }}
/>
</View>
</Pressable>
</View>
</Screen>
);
}src/app/collections.tsx
import { BlurView } from 'expo-blur';
import { Image } from 'expo-image';
import { LinearGradient } from 'expo-linear-gradient';
import { router } from 'expo-router';
import { Pressable, StyleSheet, Text, View } from 'react-native';
import Svg, { Circle, Path } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
export default function CollectionsScreen() {
return (
<Screen background="#FAFAF8" statusBar="dark">
<View style={{ flex: 1 }}>
<View
style={{
justifyContent: 'space-between',
alignItems: 'center',
paddingTop: 16,
paddingBottom: 0,
paddingHorizontal: 28,
height: 32,
flexDirection: 'row',
}}
/>
<View
style={{
justifyContent: 'space-between',
alignItems: 'center',
paddingTop: 22,
paddingBottom: 0,
paddingHorizontal: 24,
flexDirection: 'row',
}}>
<Text
style={{
margin: 0,
flexShrink: 1,
fontFamily: 'Sora_700Bold',
fontSize: 26,
color: '#111111',
letterSpacing: -0.52,
lineHeight: 33.8,
}}>
Chips{'\n'}
<Text style={{ fontFamily: 'Sora_400Regular' }}>Collections</Text>
</Text>
<Pressable
accessibilityRole="link"
accessibilityLabel="Back"
onPress={() => router.navigate('/')}
style={{
width: 52,
height: 70,
borderRadius: 26,
borderWidth: 1.5,
borderColor: 'rgba(17,17,17,0.12)',
backgroundColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="12"
height="18"
viewBox="0 0 12 18"
fill="none"
stroke="#111"
strokeWidth="1.8"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M9 2 2 9l7 7" />
</Svg>
</Pressable>
</View>
<View
style={{
gap: 12,
paddingTop: 22,
paddingBottom: 0,
paddingHorizontal: 16,
alignItems: 'flex-start',
flexDirection: 'row',
}}>
<View style={{ flexGrow: 1, flexShrink: 1, flexBasis: 0, minWidth: 0, gap: 12 }}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/detail')}
style={{
height: 196,
borderRadius: 26,
backgroundColor: '#F8D7BC',
overflow: 'hidden',
}}>
<Image
source={{ uri: asset('03359f3f3c.png') }}
contentFit="fill"
accessibilityLabel="Crispo Original bag"
style={{
position: 'absolute',
right: -14,
top: 8,
width: 104,
transform: [{ rotate: '10deg' }],
filter: 'drop-shadow(0 8px 10px rgba(0,0,0,0.15))',
aspectRatio: 0.718,
}}
/>
<Text
style={{
position: 'absolute',
left: 14,
top: 16,
fontFamily: 'Sora_700Bold',
fontSize: 15,
color: '#111',
lineHeight: 18,
}}>
Potato{'\n'}Chips
</Text>
<Text
style={{
position: 'absolute',
left: 14,
top: 62,
paddingVertical: 4,
paddingHorizontal: 10,
borderRadius: 10,
backgroundColor: 'rgba(255,255,255,0.85)',
fontFamily: 'Sora_400Regular',
fontSize: 10,
color: '#111',
}}>
Chips
</Text>
<View
style={{
position: 'absolute',
left: 8,
right: 8,
bottom: 8,
height: 44,
borderRadius: 22,
backgroundColor: 'rgba(255,255,255,0.4)',
borderWidth: 1,
borderColor: 'rgba(255,255,255,0.6)',
alignItems: 'center',
justifyContent: 'space-between',
paddingVertical: 0,
paddingLeft: 14,
paddingRight: 5,
overflow: 'hidden',
flexDirection: 'row',
}}>
<BlurView intensity={20} tint="default" style={StyleSheet.absoluteFill} />
<Text
style={{
flexShrink: 1,
fontFamily: 'Sora_600SemiBold',
fontSize: 12,
color: '#111',
}}>
$ 06.00
</Text>
<View
style={{
width: 34,
height: 34,
borderRadius: 17,
backgroundColor: '#111111',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z" />
<Path d="M9 10l3-5 3 5" />
</Svg>
</View>
</View>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/detail')}
style={{
height: 196,
borderRadius: 26,
backgroundColor: '#EEF0BC',
overflow: 'hidden',
}}>
<Image
source={{ uri: asset('1bb614a946.png') }}
contentFit="fill"
accessibilityLabel="Ridge Farm Dark Russet bag"
style={{
position: 'absolute',
right: -14,
top: 8,
width: 104,
transform: [{ rotate: '10deg' }],
filter: 'drop-shadow(0 8px 10px rgba(0,0,0,0.18))',
aspectRatio: 0.721,
}}
/>
<Text
style={{
position: 'absolute',
left: 14,
top: 16,
fontFamily: 'Sora_700Bold',
fontSize: 15,
color: '#111',
lineHeight: 18,
}}>
Dark{'\n'}Russet
</Text>
<Text
style={{
position: 'absolute',
left: 14,
top: 62,
paddingVertical: 4,
paddingHorizontal: 10,
borderRadius: 10,
backgroundColor: 'rgba(255,255,255,0.85)',
fontFamily: 'Sora_400Regular',
fontSize: 10,
color: '#111',
}}>
Chips
</Text>
<View
style={{
position: 'absolute',
left: 8,
right: 8,
bottom: 8,
height: 44,
borderRadius: 22,
backgroundColor: 'rgba(255,255,255,0.4)',
borderWidth: 1,
borderColor: 'rgba(255,255,255,0.6)',
alignItems: 'center',
justifyContent: 'space-between',
paddingVertical: 0,
paddingLeft: 14,
paddingRight: 5,
overflow: 'hidden',
flexDirection: 'row',
}}>
<BlurView intensity={20} tint="default" style={StyleSheet.absoluteFill} />
<Text
style={{
flexShrink: 1,
fontFamily: 'Sora_600SemiBold',
fontSize: 12,
color: '#111',
}}>
$ 06.00
</Text>
<View
style={{
width: 34,
height: 34,
borderRadius: 17,
backgroundColor: '#111111',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z" />
<Path d="M9 10l3-5 3 5" />
</Svg>
</View>
</View>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/detail')}
style={{
height: 196,
borderRadius: 26,
backgroundColor: '#F9CDC6',
overflow: 'hidden',
}}>
<Image
source={{ uri: asset('fa2001ecdb.png') }}
contentFit="fill"
accessibilityLabel="Twirlo twisted corn snacks bag"
style={{
position: 'absolute',
right: -14,
top: 8,
width: 104,
transform: [{ rotate: '10deg' }],
filter: 'drop-shadow(0 8px 10px rgba(0,0,0,0.15))',
aspectRatio: 0.736,
}}
/>
<Text
style={{
position: 'absolute',
left: 14,
top: 16,
fontFamily: 'Sora_700Bold',
fontSize: 15,
color: '#111',
lineHeight: 18,
}}>
Twister{'\n'}Chips
</Text>
<Text
style={{
position: 'absolute',
left: 14,
top: 62,
paddingVertical: 4,
paddingHorizontal: 10,
borderRadius: 10,
backgroundColor: 'rgba(255,255,255,0.85)',
fontFamily: 'Sora_400Regular',
fontSize: 10,
color: '#111',
}}>
Chips
</Text>
<View
style={{
position: 'absolute',
left: 8,
right: 8,
bottom: 8,
height: 44,
borderRadius: 22,
backgroundColor: 'rgba(255,255,255,0.4)',
borderWidth: 1,
borderColor: 'rgba(255,255,255,0.6)',
alignItems: 'center',
justifyContent: 'space-between',
paddingVertical: 0,
paddingLeft: 14,
paddingRight: 5,
overflow: 'hidden',
flexDirection: 'row',
}}>
<BlurView intensity={20} tint="default" style={StyleSheet.absoluteFill} />
<Text
style={{
flexShrink: 1,
fontFamily: 'Sora_600SemiBold',
fontSize: 12,
color: '#111',
}}>
$ 06.00
</Text>
<View
style={{
width: 34,
height: 34,
borderRadius: 17,
backgroundColor: '#111111',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z" />
<Path d="M9 10l3-5 3 5" />
</Svg>
</View>
</View>
</Pressable>
</View>
<View style={{ flexGrow: 1, flexShrink: 1, flexBasis: 0, minWidth: 0, gap: 12 }}>
<View
style={{
height: 48,
borderRadius: 24,
backgroundColor: '#FFFFFF',
borderWidth: 1,
borderColor: '#ECEAE4',
alignItems: 'center',
justifyContent: 'space-between',
paddingVertical: 0,
paddingLeft: 16,
paddingRight: 5,
flexDirection: 'row',
}}>
<Text
style={{
flexShrink: 1,
fontFamily: 'Sora_600SemiBold',
fontSize: 12,
color: '#111111',
}}>
245 Items
</Text>
<Pressable
accessibilityRole="button"
accessibilityLabel="Filter"
style={{
width: 38,
height: 38,
borderRadius: 19,
borderWidth: 0,
backgroundColor: '#F3F2EE',
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="1.8"
strokeLinecap="round">
<Path d="M4 7h10M18 7h2M4 17h2M10 17h10" />
<Circle cx="16" cy="7" r="2" />
<Circle cx="8" cy="17" r="2" />
</Svg>
</Pressable>
</View>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/detail')}
style={{
height: 196,
borderRadius: 26,
backgroundColor: '#F9DB63',
overflow: 'hidden',
}}>
<Image
source={{ uri: asset('b18538d800.png') }}
contentFit="fill"
accessibilityLabel="Potato Chips bag"
style={{
position: 'absolute',
right: -14,
top: 8,
width: 104,
transform: [{ rotate: '10deg' }],
filter: 'drop-shadow(0 8px 10px rgba(120,80,0,0.2))',
aspectRatio: 0.738,
}}
/>
<Text
style={{
position: 'absolute',
left: 14,
top: 16,
fontFamily: 'Sora_700Bold',
fontSize: 15,
color: '#111',
lineHeight: 18,
}}>
Potato{'\n'}Chips
</Text>
<Text
style={{
position: 'absolute',
left: 14,
top: 62,
paddingVertical: 4,
paddingHorizontal: 10,
borderRadius: 10,
backgroundColor: 'rgba(255,255,255,0.85)',
fontFamily: 'Sora_400Regular',
fontSize: 10,
color: '#111',
}}>
Chips
</Text>
<View
style={{
position: 'absolute',
left: 8,
right: 8,
bottom: 8,
height: 44,
borderRadius: 22,
backgroundColor: 'rgba(255,255,255,0.4)',
borderWidth: 1,
borderColor: 'rgba(255,255,255,0.6)',
alignItems: 'center',
justifyContent: 'space-between',
paddingVertical: 0,
paddingLeft: 14,
paddingRight: 5,
overflow: 'hidden',
flexDirection: 'row',
}}>
<BlurView intensity={20} tint="default" style={StyleSheet.absoluteFill} />
<Text
style={{
flexShrink: 1,
fontFamily: 'Sora_600SemiBold',
fontSize: 12,
color: '#111',
}}>
$ 06.00
</Text>
<View
style={{
width: 34,
height: 34,
borderRadius: 17,
backgroundColor: '#111111',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z" />
<Path d="M9 10l3-5 3 5" />
</Svg>
</View>
</View>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/detail')}
style={{
height: 196,
borderRadius: 26,
backgroundColor: '#C3E2F6',
overflow: 'hidden',
}}>
<Image
source={{ uri: asset('1b1e06da5a.png') }}
contentFit="fill"
accessibilityLabel="Ripplz Regular Natural bag"
style={{
position: 'absolute',
right: -14,
top: 8,
width: 104,
transform: [{ rotate: '10deg' }],
filter: 'drop-shadow(0 8px 10px rgba(0,40,90,0.18))',
aspectRatio: 0.741,
}}
/>
<Text
style={{
position: 'absolute',
left: 14,
top: 16,
fontFamily: 'Sora_700Bold',
fontSize: 15,
color: '#111',
lineHeight: 18,
}}>
Regular{'\n'}Natural
</Text>
<Text
style={{
position: 'absolute',
left: 14,
top: 62,
paddingVertical: 4,
paddingHorizontal: 10,
borderRadius: 10,
backgroundColor: 'rgba(255,255,255,0.85)',
fontFamily: 'Sora_400Regular',
fontSize: 10,
color: '#111',
}}>
Chips
</Text>
<View
style={{
position: 'absolute',
left: 8,
right: 8,
bottom: 8,
height: 44,
borderRadius: 22,
backgroundColor: 'rgba(255,255,255,0.4)',
borderWidth: 1,
borderColor: 'rgba(255,255,255,0.6)',
alignItems: 'center',
justifyContent: 'space-between',
paddingVertical: 0,
paddingLeft: 14,
paddingRight: 5,
overflow: 'hidden',
flexDirection: 'row',
}}>
<BlurView intensity={20} tint="default" style={StyleSheet.absoluteFill} />
<Text
style={{
flexShrink: 1,
fontFamily: 'Sora_600SemiBold',
fontSize: 12,
color: '#111',
}}>
$ 06.00
</Text>
<View
style={{
width: 34,
height: 34,
borderRadius: 17,
backgroundColor: '#111111',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z" />
<Path d="M9 10l3-5 3 5" />
</Svg>
</View>
</View>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/detail')}
style={{
height: 196,
borderRadius: 26,
backgroundColor: '#D8CFF6',
overflow: 'hidden',
}}>
<Image
source={{ uri: asset('6b1ea6332f.png') }}
contentFit="fill"
accessibilityLabel="Stonebrook Sea Salt and Vinegar bag"
style={{
position: 'absolute',
right: -14,
top: 8,
width: 104,
transform: [{ rotate: '10deg' }],
filter: 'drop-shadow(0 8px 10px rgba(40,0,90,0.18))',
aspectRatio: 0.704,
}}
/>
<Text
style={{
position: 'absolute',
left: 14,
top: 16,
fontFamily: 'Sora_700Bold',
fontSize: 15,
color: '#111',
lineHeight: 18,
}}>
Deep{'\n'}River
</Text>
<Text
style={{
position: 'absolute',
left: 14,
top: 62,
paddingVertical: 4,
paddingHorizontal: 10,
borderRadius: 10,
backgroundColor: 'rgba(255,255,255,0.85)',
fontFamily: 'Sora_400Regular',
fontSize: 10,
color: '#111',
}}>
Chips
</Text>
<View
style={{
position: 'absolute',
left: 8,
right: 8,
bottom: 8,
height: 44,
borderRadius: 22,
backgroundColor: 'rgba(255,255,255,0.4)',
borderWidth: 1,
borderColor: 'rgba(255,255,255,0.6)',
alignItems: 'center',
justifyContent: 'space-between',
paddingVertical: 0,
paddingLeft: 14,
paddingRight: 5,
overflow: 'hidden',
flexDirection: 'row',
}}>
<BlurView intensity={20} tint="default" style={StyleSheet.absoluteFill} />
<Text
style={{
flexShrink: 1,
fontFamily: 'Sora_600SemiBold',
fontSize: 12,
color: '#111',
}}>
$ 06.00
</Text>
<View
style={{
width: 34,
height: 34,
borderRadius: 17,
backgroundColor: '#111111',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z" />
<Path d="M9 10l3-5 3 5" />
</Svg>
</View>
</View>
</Pressable>
</View>
</View>
<View style={{ position: 'absolute', left: 0, right: 0, bottom: 0, height: 190 }}>
<LinearGradient
colors={['rgba(250,250,248,0)', 'rgba(250,250,248,0.92)', '#FAFAF8']}
locations={[0, 0.45, 1]}
start={{ x: 0.5, y: 0 }}
end={{ x: 0.5, y: 1 }}
style={StyleSheet.absoluteFill}
/>
</View>
<View
style={{
position: 'absolute',
left: '50%',
bottom: 112,
width: 36,
height: 4,
borderRadius: 2,
backgroundColor: '#111111',
transform: [{ translateX: '-50%' }],
}}
/>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/detail')}
style={{
position: 'absolute',
left: 16,
right: 16,
bottom: 22,
height: 78,
borderRadius: 28,
backgroundColor: '#FFFFFF',
boxShadow: '0 -4px 30px rgba(0,0,0,0.07)',
alignItems: 'center',
gap: 14,
paddingVertical: 0,
paddingLeft: 16,
paddingRight: 12,
flexDirection: 'row',
}}>
<View
style={{
width: 40,
height: 40,
borderRadius: 20,
backgroundColor: '#111111',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'Sora_600SemiBold',
fontSize: 14,
color: '#FFFFFF',
flexShrink: 1,
}}>
1
</Text>
</View>
<View style={{ gap: 2, flexGrow: 1, flexShrink: 1 }}>
<Text style={{ fontFamily: 'Sora_600SemiBold', fontSize: 16, color: '#111' }}>
Cart
</Text>
<Text style={{ fontFamily: 'Sora_400Regular', fontSize: 12, color: '#6B6B6B' }}>
1 Item
</Text>
</View>
<View style={{ alignItems: 'center', flexShrink: 1, flexDirection: 'row' }}>
<View
style={{
width: 52,
height: 52,
borderRadius: 24,
backgroundColor: '#E4F1FA',
borderWidth: 2,
borderColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
overflow: 'hidden',
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('1b1e06da5a.png') }}
contentFit="fill"
style={{ width: 26, aspectRatio: 0.741 }}
/>
</View>
<View
style={{
width: 52,
height: 52,
marginLeft: -16,
borderRadius: 24,
backgroundColor: '#FCE6D6',
borderWidth: 2,
borderColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
overflow: 'hidden',
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('03359f3f3c.png') }}
contentFit="fill"
style={{ width: 26, aspectRatio: 0.718 }}
/>
</View>
<View
style={{
width: 52,
height: 52,
marginLeft: -16,
borderRadius: 24,
backgroundColor: '#ECE7FA',
borderWidth: 2,
borderColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
overflow: 'hidden',
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('6b1ea6332f.png') }}
contentFit="fill"
style={{ width: 26, aspectRatio: 0.704 }}
/>
</View>
</View>
</Pressable>
</View>
</Screen>
);
}src/app/detail.tsx
import { BlurView } from 'expo-blur';
import { Image } from 'expo-image';
import { LinearGradient } from 'expo-linear-gradient';
import { router } from 'expo-router';
import { useState } from 'react';
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';
// Screen state, and the values the layout below reads from it.
function useScreen() {
const [state, setScreenState] = useState<Record<string, any>>({});
const setState = (patch: Record<string, any>) =>
setScreenState((current) => ({ ...current, ...patch }));
const start = 3;
const q = state && state.qty != null ? state.qty : start;
return {
qtyLabel: (q < 10 ? '0' : '') + q,
inc: () => setState({ qty: Math.min(99, q + 1) }),
dec: () => setState({ qty: Math.max(1, q - 1) }),
};
}
export default function DetailScreen() {
const { qtyLabel, inc, dec } = useScreen();
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ flex: 1 }}>
<LinearGradient
colors={['#FFFFFF', '#FFF8DC', '#FCE9A2']}
locations={[0, 0.42, 1]}
start={{ x: 0.5, y: 0 }}
end={{ x: 0.5, y: 1 }}
style={StyleSheet.absoluteFill}
/>
<View
style={{
justifyContent: 'space-between',
alignItems: 'center',
paddingTop: 16,
paddingBottom: 0,
paddingHorizontal: 28,
height: 32,
flexDirection: 'row',
}}
/>
<View
style={{
justifyContent: 'space-between',
alignItems: 'flex-start',
paddingTop: 24,
paddingBottom: 0,
paddingLeft: 28,
paddingRight: 24,
flexDirection: 'row',
}}>
<View style={{ flexShrink: 1 }}>
<Text
style={{
margin: 0,
fontFamily: 'Sora_700Bold',
fontSize: 27,
color: '#111111',
letterSpacing: -0.54,
lineHeight: 33.75,
}}>
<Text style={{ fontFamily: 'Sora_400Regular' }}>Potato</Text>
{'\n'}Chips
</Text>
<Text
style={{
marginTop: 6,
marginBottom: 0,
marginHorizontal: 0,
fontFamily: 'Sora_600SemiBold',
fontSize: 17,
color: '#A06C00',
}}>
Dang
</Text>
</View>
<Pressable
accessibilityRole="link"
accessibilityLabel="Back"
onPress={() => router.navigate('/collections')}
style={{
width: 52,
height: 70,
borderRadius: 26,
borderWidth: 1.5,
borderColor: 'rgba(17,17,17,0.12)',
backgroundColor: 'rgba(255,255,255,0.6)',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="12"
height="18"
viewBox="0 0 12 18"
fill="none"
stroke="#111"
strokeWidth="1.8"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M9 2 2 9l7 7" />
</Svg>
</Pressable>
</View>
<Image
source={{ uri: asset('b18538d800.png') }}
contentFit="fill"
accessibilityLabel="Potato Chips bag"
style={{
position: 'absolute',
left: 62,
top: 148,
width: 286,
transform: [{ rotate: '7deg' }],
filter: 'drop-shadow(0 26px 26px rgba(150,100,0,0.28))',
aspectRatio: 0.738,
}}
/>
<View
style={{
position: 'absolute',
left: 36,
top: 470,
width: 176,
height: 62,
borderRadius: 18,
backgroundColor: 'rgba(255,255,255,0.45)',
borderWidth: 1,
borderColor: 'rgba(255,255,255,0.75)',
boxShadow: '0 10px 24px rgba(120,90,0,0.1)',
alignItems: 'center',
justifyContent: 'space-between',
paddingVertical: 0,
paddingHorizontal: 16,
overflow: 'hidden',
flexDirection: 'row',
}}>
<BlurView intensity={28} tint="default" style={StyleSheet.absoluteFill} />
<Text
style={{
flexShrink: 1,
fontFamily: 'Sora_400Regular',
fontSize: 12,
color: '#111111',
lineHeight: 15,
}}>
Pure{'\n'}Coconut
</Text>
<Text
style={{ flexShrink: 1, fontFamily: 'Sora_700Bold', fontSize: 17, color: '#111111' }}>
100%
</Text>
</View>
<View
style={{
position: 'absolute',
left: 0,
right: 0,
top: 566,
alignItems: 'center',
gap: 12,
}}>
<View
style={{
alignItems: 'center',
justifyContent: 'space-between',
width: '100%',
paddingVertical: 0,
paddingHorizontal: 16,
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="button"
accessibilityLabel="Increase quantity"
onPress={inc}
style={{
width: 48,
height: 48,
borderRadius: 24,
borderWidth: 0,
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg
width="18"
height="18"
viewBox="0 0 18 18"
fill="none"
stroke="#111"
strokeWidth="1.8"
strokeLinecap="round">
<Path d="M9 3v12M3 9h12" />
</Svg>
</Pressable>
<Text
style={{
flexShrink: 1,
fontFamily: 'Sora_700Bold',
fontSize: 36,
color: '#111111',
letterSpacing: -0.72,
}}>
{qtyLabel}
</Text>
<Pressable
accessibilityRole="button"
accessibilityLabel="Decrease quantity"
onPress={dec}
style={{
width: 48,
height: 48,
borderRadius: 24,
borderWidth: 0,
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg
width="18"
height="18"
viewBox="0 0 18 18"
fill="none"
stroke="#111"
strokeWidth="1.8"
strokeLinecap="round">
<Path d="M3 9h12" />
</Svg>
</Pressable>
</View>
<Text
style={{
paddingVertical: 14,
paddingHorizontal: 28,
borderRadius: 26,
backgroundColor: '#111111',
fontFamily: 'Sora_600SemiBold',
fontSize: 17,
color: '#FFFFFF',
}}>
$ 06.00
</Text>
</View>
<View
style={{
position: 'absolute',
left: 0,
right: 0,
bottom: 0,
height: 150,
backgroundColor: '#FFFFFF',
borderTopLeftRadius: 44,
borderTopRightRadius: 70,
boxShadow: '0 -10px 30px rgba(120,90,0,0.06)',
}}
/>
<View
style={{
position: 'absolute',
left: 0,
right: 0,
bottom: 44,
alignItems: 'center',
justifyContent: 'space-between',
paddingVertical: 0,
paddingLeft: 32,
paddingRight: 24,
flexDirection: 'row',
}}>
<Text
style={{
flexShrink: 1,
fontFamily: 'Sora_600SemiBold',
fontSize: 16,
color: '#111111',
}}>
Add To Cart
</Text>
<Pressable
accessibilityRole="button"
accessibilityLabel="Add to cart"
style={{
width: 80,
height: 80,
borderRadius: 40,
borderWidth: 0,
backgroundColor: '#111111',
alignItems: 'center',
justifyContent: 'center',
padding: 0,
boxShadow: '0 14px 28px rgba(0,0,0,0.22)',
flexDirection: 'row',
}}>
<Svg
width="30"
height="30"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="1.6"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M4.5 10h15l-1.5 8.3a2 2 0 0 1-2 1.7H8a2 2 0 0 1-2-1.7z" />
<Path d="M9 10l3-5 3 5" />
<Path d="M10 14v3M14 14v3" />
</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/snack-ordering-app-ui-design/assets';
export const asset = (name: string) => `${ASSET_BASE}/${name}`;About this design
The collection screen uses a staggered two column grid in pastel colours, and the product page puts the bag centre stage with a large quantity picker and an add to cart button. It suits any small product brand.
Buttery yellow fades with candy-coloured cards, big floating product bags, frosted price pills and black round buttons.
- Tilted stacked product cards
- Frosted glass price pills
- Staggered pastel collection grid
- Large quantity picker on the product page
Colour palette
Butter
#FBE38A
Cream
#FDF2C4
Mustard
#F8CB3A
Peach
#F8D7BC
Sky
#C3E2F6
Ink
#111111
How to use this design
- 01
Pick what to copy
Copy the Snack Shop Ordering artifact, skill or code from this page.
- 02
Run it or generate it
Paste the code into a new Expo app and start it, or give the skill to your AI coding agent.
- 03
Make it yours
Replace the demo images and sample content, then connect your own data.
Frequently asked questions
Does the quantity picker work?
Yes. Plus and minus change the quantity between 1 and 99, shown with a leading zero.
How is the frosted price pill built?
It uses a BlurView from expo-blur with a soft white tint and border over the card colour.
How is it different from the popcorn design?
They share a layout idea, but this one uses Sora, chip packs and a staggered grid with a counter card. The popcorn design uses Archivo and its own colours.
Is the Snack Shop Ordering 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.



