// Travel app UI
City Guide Travel App UI Design in Expo
This city guide app UI helps visitors find places worth the trip. A photo onboarding opens on two travellers with a map, then the home screen mixes promotions, category chips and destination cards.
- Screens
- 3
- Built with
- Expo SDK 58
- Fonts
- Plus Jakarta Sans
- License
- Free (MIT)
- Views
- 2

Wandr City Guide app screens

Onboarding
A full photo of travellers reading a map, and a sheet with a headline, short copy and a Get Started button.

Explore home
Location, a search bar with filters, promotion cards, category chips and destination photo cards.

Destination detail
A large beach photo with save and route buttons, key facts, info tabs, a description and photos.
Copy the Wandr City Guide 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
# Wandr City Guide: design artifact
This city guide app UI helps visitors find places worth the trip. A photo onboarding opens on two travellers with a map, then the home screen mixes promotions, category chips and destination cards.
- Type: Travel 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/city-guide-app-ui-design
## Design direction
Clean white with a warm orange accent, bright destination photography and a floating map button in the tab bar.
- Photo onboarding with a bottom sheet
- Promotion cards in a horizontal scroller
- Category chips with selected state
- Destination detail with key facts and photos
## Foundations
### Colour
| Token | Hex |
| --- | --- |
| Sunset orange | `#F26522` |
| Burnt orange | `#C2410C` |
| Ink | `#17181C` |
| Slate | `#5F636B` |
| Cloud | `#F5F6F7` |
| White | `#FFFFFF` |
### Typography
- Typefaces: Plus Jakarta Sans
- Common sizes (px): 11, 12, 13, 14, 15, 16, 17, 18
### Shape and depth
- Common corner radii (px): 3, 12, 18, 20, 28, 32
- Shadows: `0 10px 22px rgba(242,101,34,0.32)`, `0 4px 12px rgba(0,0,0,0.12)`, `0 -12px 30px rgba(23,24,28,0.08)`, `0 6px 18px rgba(23,24,28,0.05)`
## Screens
### 1. Onboarding
A full photo of travellers reading a map, and a sheet with a headline, short copy and a Get Started button.
Preview: https://developermill.com/app-designs/city-guide-app-ui-design/welcome.webp
Copy on this screen:
- WANDR
- All About City Guide Information
- Uncover the city's pulse with our guide app, revealing hidden gems and local favorites for an immersive urban experience.
- Get Started
### 2. Explore home
Location, a search bar with filters, promotion cards, category chips and destination photo cards.
Preview: https://developermill.com/app-designs/city-guide-app-ui-design/home.webp
Copy on this screen:
- Indonesia, Malang
- Where you Wanna go?
- Search destination
- Promotions
- See all
- Visit 3 beach and get it discount 50%
- Get Coupon
- Discount 30% for mountain trips
- Book Now
- Category
- All
- Beach
- Mountain
- Temple
- Borobudur
- 4.5
- Jawa Tengah, INA
- Kuta Beach
- 4.9
- Bali, INA
### 3. Destination detail
A large beach photo with save and route buttons, key facts, info tabs, a description and photos.
Preview: https://developermill.com/app-designs/city-guide-app-ui-design/destination.webp
Copy on this screen:
- Route
- Kuta Beach
- Location
- Bali, INA
- Open
- 24 Hours
- Temp
- 29°C
- Overview
- Detail
- Reviews
- Kuta Beach has been drawing crowds of backpackers and surfers from across the globe for decades. Today, the long stretch of golden white sand beach remains popular for sunbathing, swimming, or simply watching Kuta's legendary golden sunsets.
- Photos
- 12+
- Total:
- $7.20
- Book Now
## Full source
The original artboards as HTML. Image URLs point at the hosted demo assets.
### Onboarding (Main)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Wandr — 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=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#C2410C}a:hover{color:#9A3412}
</style>
</helmet>
<div style="width: 390px; height: 844px; position: relative; overflow: hidden; background: #FFFFFF; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #17181C">
<img src="https://developermill.com/app-designs/city-guide-app-ui-design/assets/5a42ebc2ee.jpg" alt="Two travellers reading a map in front of a stone railway bridge" style="position: absolute; left: 0; top: 0; width: 390px; height: 560px; object-fit: cover; object-position: center 30%">
<div style="position: absolute; left: 0; top: 0; width: 390px; height: 54px; box-sizing: border-box; padding: 18px 30px 0 34px; display: flex; justify-content: space-between; align-items: center; color: #17181C">
<span style="font-size: 16px; font-weight: 700; font-family: system-ui, sans-serif">9:41</span>
<div style="display: flex; gap: 6px; align-items: center">
<svg width="18" height="12" viewBox="0 0 18 12" aria-hidden="true"><rect x="0" y="8" width="3" height="4" rx="1" fill="currentColor"></rect><rect x="5" y="5.5" width="3" height="6.5" rx="1" fill="currentColor"></rect><rect x="10" y="3" width="3" height="9" rx="1" fill="currentColor"></rect><rect x="15" y="0" width="3" height="12" rx="1" fill="currentColor"></rect></svg>
<svg width="16" height="12" viewBox="0 0 16 12" aria-hidden="true"><path d="M8 11.5l2.2-2.6a3.2 3.2 0 0 0-4.4 0z M3.6 6.8a6.3 6.3 0 0 1 8.8 0l1.4-1.6a8.4 8.4 0 0 0-11.6 0z M.8 3.6a10.5 10.5 0 0 1 14.4 0L16 2.7A12 12 0 0 0 0 2.7z" fill="currentColor"></path></svg>
<svg width="26" height="12" viewBox="0 0 26 12" aria-hidden="true"><rect x="0.5" y="0.5" width="22" height="11" rx="3" fill="none" stroke="currentColor" opacity="0.45"></rect><rect x="2" y="2" width="19" height="8" rx="1.8" fill="currentColor"></rect><rect x="23.5" y="4" width="1.6" height="4" rx="0.8" fill="currentColor" opacity="0.45"></rect></svg>
</div>
</div>
<div style="position: absolute; left: 24px; top: 70px; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: rgba(255,255,255,0.86)">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="{{accent}}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="M16.2 7.8l-2.1 6.3-6.3 2.1 2.1-6.3z"></path></svg>
<span style="font-size: 15px; font-weight: 800; letter-spacing: 0.04em; color: #17181C">WANDR</span>
</div>
<div style="position: absolute; left: 0; bottom: 0; width: 390px; height: 330px; box-sizing: border-box; background: #FFFFFF; border-radius: 32px 32px 0 0; padding: 34px 28px 0; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 -12px 30px rgba(23,24,28,0.08)">
<h1 style="margin: 0; font-size: 30px; line-height: 1.22; font-weight: 800; letter-spacing: -0.02em; color: #17181C">All About City Guide Information</h1>
<p style="margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: #5F636B; max-width: 320px">Uncover the city's pulse with our guide app, revealing hidden gems and local favorites for an immersive urban experience.</p>
<a href="Home.dc.html" style="margin-top: 30px; width: 100%; height: 56px; border-radius: 999px; background: {{accent}}; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 22px rgba(242,101,34,0.32)">Get Started</a>
<div style="position: absolute; left: 50%; bottom: 9px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #17181C" aria-hidden="true"></div>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"accent":{"editor":"color","default":"#F26522","options":["#F26522","#EA580C","#0F766E","#2563EB"]},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
return { accent: this.props.accent ?? '#F26522' };
}
}
</script>
</body>
</html>
```
### Explore home (Home)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Wandr — 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=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#C2410C}a:hover{color:#9A3412}
</style>
</helmet>
<div style="width: 390px; height: 844px; position: relative; overflow: hidden; background: #FFFFFF; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #17181C">
<div style="height: 54px; box-sizing: border-box; padding: 18px 30px 0 34px; display: flex; justify-content: space-between; align-items: center">
<span style="font-size: 16px; font-weight: 700; font-family: system-ui, sans-serif">9:41</span>
<div style="display: flex; gap: 6px; align-items: center">
<svg width="18" height="12" viewBox="0 0 18 12" aria-hidden="true"><rect x="0" y="8" width="3" height="4" rx="1" fill="currentColor"></rect><rect x="5" y="5.5" width="3" height="6.5" rx="1" fill="currentColor"></rect><rect x="10" y="3" width="3" height="9" rx="1" fill="currentColor"></rect><rect x="15" y="0" width="3" height="12" rx="1" fill="currentColor"></rect></svg>
<svg width="16" height="12" viewBox="0 0 16 12" aria-hidden="true"><path d="M8 11.5l2.2-2.6a3.2 3.2 0 0 0-4.4 0z M3.6 6.8a6.3 6.3 0 0 1 8.8 0l1.4-1.6a8.4 8.4 0 0 0-11.6 0z M.8 3.6a10.5 10.5 0 0 1 14.4 0L16 2.7A12 12 0 0 0 0 2.7z" fill="currentColor"></path></svg>
<svg width="26" height="12" viewBox="0 0 26 12" aria-hidden="true"><rect x="0.5" y="0.5" width="22" height="11" rx="3" fill="none" stroke="currentColor" opacity="0.45"></rect><rect x="2" y="2" width="19" height="8" rx="1.8" fill="currentColor"></rect><rect x="23.5" y="4" width="1.6" height="4" rx="0.8" fill="currentColor" opacity="0.45"></rect></svg>
</div>
</div>
<img src="https://developermill.com/app-designs/city-guide-app-ui-design/assets/a0518ab228.jpg" alt="" aria-hidden="true" style="position: absolute; left: 196px; top: 92px; width: 160px; height: 120px; object-fit: contain; mix-blend-mode: multiply">
<div style="padding: 6px 24px 0; display: flex; flex-direction: column; gap: 0; position: relative">
<div style="display: flex; justify-content: space-between; align-items: center">
<div style="display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #3B3F46">
<svg width="16" height="16" viewBox="0 0 24 24" fill="{{accent}}" aria-hidden="true"><path d="M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z"></path></svg>
Indonesia, Malang
</div>
<button type="button" aria-label="Notifications" style="position: relative; width: 44px; height: 44px; border-radius: 999px; border: 1px solid #E7E8EB; background: #FFFFFF; display: flex; align-items: center; justify-content: center; padding: 0; color: #17181C">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"></path><path d="M10.3 21a1.9 1.9 0 0 0 3.4 0"></path></svg>
<span style="position: absolute; top: 10px; right: 11px; width: 8px; height: 8px; border-radius: 999px; background: #E5484D; border: 2px solid #FFFFFF" aria-hidden="true"></span>
</button>
</div>
<h1 style="margin: 4px 0 0; font-size: 28px; line-height: 1.22; font-weight: 800; letter-spacing: -0.02em; white-space: pre-line; max-width: 180px">Where you Wanna go?</h1>
<label style="margin-top: 22px; height: 52px; box-sizing: border-box; border: 1px solid #E7E8EB; border-radius: 999px; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 16px; background: #FFFFFF; box-shadow: 0 6px 18px rgba(23,24,28,0.05)">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#5F636B" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"></circle><path d="M20 20l-3.5-3.5"></path></svg>
<span style="position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0)">Search destination</span>
<input type="search" placeholder="Search destination" style="flex: 1; min-width: 0; border: 0; outline: none; font-family: inherit; font-size: 14px; color: #17181C; background: transparent">
<button type="button" aria-label="Filters" style="width: 40px; height: 40px; border-radius: 999px; border: 0; background: {{accent}}; display: flex; align-items: center; justify-content: center; padding: 0">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0"></path><circle cx="16" cy="6" r="2"></circle><circle cx="10" cy="12" r="2"></circle><circle cx="18" cy="18" r="2"></circle></svg>
</button>
</label>
<div style="margin-top: 22px; display: flex; justify-content: space-between; align-items: baseline">
<h2 style="margin: 0; font-size: 17px; font-weight: 700">Promotions</h2>
<a href="#" style="font-size: 13px; font-weight: 600; text-decoration: none">See all</a>
</div>
</div>
<div style="margin-top: 12px; padding: 0 24px; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none">
<div style="flex: 0 0 250px; height: 124px; border-radius: 18px; overflow: hidden; position: relative; background: #9FDDF8">
<img src="https://developermill.com/app-designs/city-guide-app-ui-design/assets/5b68d6a4e2.jpg" alt="" aria-hidden="true" style="position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center">
<div style="position: relative; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; height: 100%; box-sizing: border-box">
<p style="margin: 0; font-size: 13px; line-height: 1.35; font-weight: 700; color: #0F2A3A; max-width: 128px">Visit 3 beach and get it discount 50%</p>
<a href="#" style="align-self: flex-start; height: 32px; padding: 0 14px; border-radius: 999px; background: #FFFFFF; color: #17181C; font-size: 12px; font-weight: 700; display: flex; align-items: center; text-decoration: none">Get Coupon</a>
</div>
</div>
<div style="flex: 0 0 250px; height: 124px; border-radius: 18px; overflow: hidden; position: relative; background: #0E1E3D">
<img src="https://developermill.com/app-designs/city-guide-app-ui-design/assets/1af949f171.jpg" alt="" aria-hidden="true" style="position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center">
<div style="position: relative; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; height: 100%; box-sizing: border-box">
<p style="margin: 0; font-size: 13px; line-height: 1.35; font-weight: 700; color: #FFFFFF; max-width: 128px">Discount 30% for mountain trips</p>
<a href="#" style="align-self: flex-start; height: 32px; padding: 0 14px; border-radius: 999px; background: #FFFFFF; color: #17181C; font-size: 12px; font-weight: 700; display: flex; align-items: center; text-decoration: none">Book Now</a>
</div>
</div>
</div>
<div style="padding: 0 24px">
<h2 style="margin: 20px 0 0; font-size: 17px; font-weight: 700">Category</h2>
</div>
<div style="margin-top: 12px; padding: 0 24px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none">
<button type="button" onClick="{{pickAll}}" style="{{chipAll}}">
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><rect x="3" y="3" width="8" height="8" rx="2"></rect><rect x="13" y="3" width="8" height="8" rx="2"></rect><rect x="3" y="13" width="8" height="8" rx="2"></rect><rect x="13" y="13" width="8" height="8" rx="2"></rect></svg>
All
</button>
<button type="button" onClick="{{pickBeach}}" style="{{chipBeach}}">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M12 4a8 8 0 0 1 8 8H4a8 8 0 0 1 8-8z"></path><path d="M12 12v8"></path><path d="M3 21c2-1.3 4-1.3 6 0s4 1.3 6 0 4-1.3 6 0"></path></svg>
Beach
</button>
<button type="button" onClick="{{pickMountain}}" style="{{chipMountain}}">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" aria-hidden="true"><path d="M2 20l7-12 4 6 3-4 6 10z"></path></svg>
Mountain
</button>
<button type="button" onClick="{{pickTemple}}" style="{{chipTemple}}">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" aria-hidden="true"><path d="M12 2l3 5H9z"></path><path d="M6 10h12M7 10v9M17 10v9M12 10v9M4 21h16"></path></svg>
Temple
</button>
</div>
<div style="margin-top: 16px; padding: 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px">
<a href="#" style="position: relative; height: 220px; border-radius: 20px; overflow: hidden; display: block; text-decoration: none; color: #FFFFFF">
<img src="https://developermill.com/app-designs/city-guide-app-ui-design/assets/ea1aee839f.jpg" alt="Borobudur temple stupas at sunrise" style="position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover">
<div style="position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.72) 100%)" aria-hidden="true"></div>
<div style="position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 4px">
<div style="display: flex; justify-content: space-between; align-items: center">
<span style="font-size: 15px; font-weight: 700">Borobudur</span>
<span style="display: flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700"><svg width="13" height="13" viewBox="0 0 24 24" fill="#FFB020" aria-hidden="true"><path d="M12 2.5l2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.2 1.3-6.6-4.9-4.6 6.6-.8z"></path></svg>4.5</span>
</div>
<span style="display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" aria-hidden="true"><path d="M12 21s7-7.6 7-12a7 7 0 0 0-14 0c0 4.4 7 12 7 12z"></path><circle cx="12" cy="9" r="2.5"></circle></svg>Jawa Tengah, INA</span>
</div>
</a>
<a href="Detail.dc.html" style="position: relative; height: 220px; border-radius: 20px; overflow: hidden; display: block; text-decoration: none; color: #FFFFFF">
<img src="https://developermill.com/app-designs/city-guide-app-ui-design/assets/6e5e9c6de8.jpg" alt="Limestone cliffs and turquoise sea at Kuta Beach" style="position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover">
<div style="position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.72) 100%)" aria-hidden="true"></div>
<div style="position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 4px">
<div style="display: flex; justify-content: space-between; align-items: center">
<span style="font-size: 15px; font-weight: 700">Kuta Beach</span>
<span style="display: flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700"><svg width="13" height="13" viewBox="0 0 24 24" fill="#FFB020" aria-hidden="true"><path d="M12 2.5l2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.2 1.3-6.6-4.9-4.6 6.6-.8z"></path></svg>4.9</span>
</div>
<span style="display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" aria-hidden="true"><path d="M12 21s7-7.6 7-12a7 7 0 0 0-14 0c0 4.4 7 12 7 12z"></path><circle cx="12" cy="9" r="2.5"></circle></svg>Bali, INA</span>
</div>
</a>
</div>
<nav aria-label="Main" style="position: absolute; left: 0; bottom: 0; width: 390px; height: 88px; box-sizing: border-box; background: #FFFFFF; border-radius: 28px 28px 0 0; box-shadow: 0 -8px 24px rgba(23,24,28,0.08); display: flex; justify-content: space-around; align-items: flex-start; padding: 14px 18px 0">
<a href="#" aria-label="Home" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: {{accent}}">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1v-9.5z"></path></svg>
</a>
<a href="#" aria-label="Explore" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #5F636B">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9.5"></circle><path d="M15.5 8.5l-2 5-5 2 2-5z"></path></svg>
</a>
<a href="#" aria-label="Map" style="width: 64px; height: 64px; margin-top: -34px; border-radius: 999px; background: {{accent}}; border: 5px solid #FFFFFF; box-shadow: 0 10px 20px rgba(242,101,34,0.35); display: flex; align-items: center; justify-content: center; color: #FFFFFF">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" aria-hidden="true"><path d="M3 6l6-2 6 2 6-2v14l-6 2-6-2-6 2z"></path><path d="M9 4v14M15 6v14"></path></svg>
</a>
<a href="#" aria-label="Saved" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #5F636B">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round" aria-hidden="true"><path d="M12 20s-8-4.8-8-10.4A4.6 4.6 0 0 1 12 7a4.6 4.6 0 0 1 8 2.6C20 15.2 12 20 12 20z"></path></svg>
</a>
<a href="#" aria-label="Profile" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #5F636B">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><circle cx="12" cy="8" r="4"></circle><path d="M4 21a8 8 0 0 1 16 0"></path></svg>
</a>
<div style="position: absolute; left: 50%; bottom: 9px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #17181C" aria-hidden="true"></div>
</nav>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"accent":{"editor":"color","default":"#F26522","options":["#F26522","#EA580C","#0F766E","#2563EB"]},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
constructor(props) {
super(props);
this.state = { cat: 'all' };
}
renderVals() {
const accent = this.props.accent ?? '#F26522';
const base = 'height: 40px; padding: 0 16px; border-radius: 999px; display: flex; align-items: center; gap: 6px; font-family: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; flex: 0 0 auto; cursor: pointer;';
const on = base + ' border: 1px solid ' + accent + '; background: ' + accent + '; color: #FFFFFF;';
const off = base + ' border: 1px solid #ECEDEF; background: #F5F6F7; color: #3B3F46;';
const c = this.state.cat;
const pick = (k) => () => this.setState({ cat: k });
return {
accent,
chipAll: c === 'all' ? on : off,
chipBeach: c === 'beach' ? on : off,
chipMountain: c === 'mountain' ? on : off,
chipTemple: c === 'temple' ? on : off,
pickAll: pick('all'),
pickBeach: pick('beach'),
pickMountain: pick('mountain'),
pickTemple: pick('temple')
};
}
}
</script>
</body>
</html>
```
### Destination detail (Detail)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Wandr — Kuta Beach</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=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#C2410C}a:hover{color:#9A3412}
</style>
</helmet>
<div style="width: 390px; height: 844px; position: relative; overflow: hidden; background: #FFFFFF; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #17181C">
<img src="https://developermill.com/app-designs/city-guide-app-ui-design/assets/6e5e9c6de8.jpg" alt="Aerial view of limestone sea stacks and a sandy cove at Kuta Beach" style="position: absolute; left: 0; top: 0; width: 390px; height: 390px; object-fit: cover; object-position: center 35%">
<div style="position: absolute; left: 0; top: 0; width: 390px; height: 54px; box-sizing: border-box; padding: 18px 30px 0 34px; display: flex; justify-content: space-between; align-items: center; color: #FFFFFF">
<span style="font-size: 16px; font-weight: 700; font-family: system-ui, sans-serif">9:41</span>
<div style="display: flex; gap: 6px; align-items: center">
<svg width="18" height="12" viewBox="0 0 18 12" aria-hidden="true"><rect x="0" y="8" width="3" height="4" rx="1" fill="currentColor"></rect><rect x="5" y="5.5" width="3" height="6.5" rx="1" fill="currentColor"></rect><rect x="10" y="3" width="3" height="9" rx="1" fill="currentColor"></rect><rect x="15" y="0" width="3" height="12" rx="1" fill="currentColor"></rect></svg>
<svg width="16" height="12" viewBox="0 0 16 12" aria-hidden="true"><path d="M8 11.5l2.2-2.6a3.2 3.2 0 0 0-4.4 0z M3.6 6.8a6.3 6.3 0 0 1 8.8 0l1.4-1.6a8.4 8.4 0 0 0-11.6 0z M.8 3.6a10.5 10.5 0 0 1 14.4 0L16 2.7A12 12 0 0 0 0 2.7z" fill="currentColor"></path></svg>
<svg width="26" height="12" viewBox="0 0 26 12" aria-hidden="true"><rect x="0.5" y="0.5" width="22" height="11" rx="3" fill="none" stroke="currentColor" opacity="0.6"></rect><rect x="2" y="2" width="19" height="8" rx="1.8" fill="currentColor"></rect><rect x="23.5" y="4" width="1.6" height="4" rx="0.8" fill="currentColor" opacity="0.6"></rect></svg>
</div>
</div>
<a href="Home.dc.html" aria-label="Back" style="position: absolute; left: 24px; top: 62px; width: 44px; height: 44px; border-radius: 999px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; color: #17181C; box-shadow: 0 4px 12px rgba(0,0,0,0.12)">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 5l-7 7 7 7"></path></svg>
</a>
<button type="button" onClick="{{toggleFav}}" aria-label="Save to favourites" aria-pressed="{{favPressed}}" style="position: absolute; right: 24px; top: 62px; width: 44px; height: 44px; border-radius: 999px; border: 0; padding: 0; background: {{accent}}; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(242,101,34,0.35)">
<svg width="20" height="20" viewBox="0 0 24 24" fill="{{heartFill}}" stroke="#FFFFFF" stroke-width="2" stroke-linejoin="round" aria-hidden="true"><path d="M12 20s-8-4.8-8-10.4A4.6 4.6 0 0 1 12 7a4.6 4.6 0 0 1 8 2.6C20 15.2 12 20 12 20z"></path></svg>
</button>
<a href="#" style="position: absolute; right: 24px; top: 300px; height: 38px; padding: 0 14px; border-radius: 999px; background: #FFFFFF; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #17181C; text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.12)">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" aria-hidden="true"><path d="M3 6l6-2 6 2 6-2v14l-6 2-6-2-6 2z"></path><path d="M9 4v14M15 6v14"></path></svg>
Route
</a>
<div style="position: absolute; left: 0; top: 352px; width: 390px; bottom: 0; box-sizing: border-box; background: #FFFFFF; border-radius: 28px 28px 0 0; padding: 24px 24px 0">
<h1 style="margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.02em">Kuta Beach</h1>
<div style="margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px">
<div style="display: flex; align-items: center; gap: 8px">
<span style="width: 34px; height: 34px; flex: 0 0 34px; border-radius: 999px; border: 1px solid #ECEDEF; display: flex; align-items: center; justify-content: center; color: {{accent}}"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M12 21s7-7.6 7-12a7 7 0 0 0-14 0c0 4.4 7 12 7 12z"></path><circle cx="12" cy="9" r="2.5"></circle></svg></span>
<div style="display: flex; flex-direction: column; gap: 1px"><span style="font-size: 11px; color: #5F636B">Location</span><span style="font-size: 12px; font-weight: 700">Bali, INA</span></div>
</div>
<div style="display: flex; align-items: center; gap: 8px">
<span style="width: 34px; height: 34px; flex: 0 0 34px; border-radius: 999px; border: 1px solid #ECEDEF; display: flex; align-items: center; justify-content: center; color: {{accent}}"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="12" cy="12" r="9"></circle><path d="M12 7v5l3 2"></path></svg></span>
<div style="display: flex; flex-direction: column; gap: 1px"><span style="font-size: 11px; color: #5F636B">Open</span><span style="font-size: 12px; font-weight: 700">24 Hours</span></div>
</div>
<div style="display: flex; align-items: center; gap: 8px">
<span style="width: 34px; height: 34px; flex: 0 0 34px; border-radius: 999px; border: 1px solid #ECEDEF; display: flex; align-items: center; justify-content: center; color: {{accent}}"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="12" cy="12" r="4"></circle><path d="M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"></path></svg></span>
<div style="display: flex; flex-direction: column; gap: 1px"><span style="font-size: 11px; color: #5F636B">Temp</span><span style="font-size: 12px; font-weight: 700">29°C</span></div>
</div>
</div>
<div role="tablist" aria-label="Destination info" style="margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #ECEDEF">
<button type="button" role="tab" aria-selected="true" style="height: 42px; border: 0; border-bottom: 2px solid {{accent}}; margin-bottom: -1px; background: transparent; font-family: inherit; font-size: 14px; font-weight: 700; color: #C2410C">Overview</button>
<button type="button" role="tab" aria-selected="false" style="height: 42px; border: 0; background: transparent; font-family: inherit; font-size: 14px; font-weight: 600; color: #5F636B">Detail</button>
<button type="button" role="tab" aria-selected="false" style="height: 42px; border: 0; background: transparent; font-family: inherit; font-size: 14px; font-weight: 600; color: #5F636B">Reviews</button>
</div>
<p style="margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: #5F636B">Kuta Beach has been drawing crowds of backpackers and surfers from across the globe for decades. Today, the long stretch of golden white sand beach remains popular for sunbathing, swimming, or simply watching Kuta's legendary golden sunsets.</p>
<h2 style="margin: 14px 0 0; font-size: 15px; font-weight: 700">Photos</h2>
<div style="margin-top: 10px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px">
<img src="https://developermill.com/app-designs/city-guide-app-ui-design/assets/a35ab9a19c.jpg" alt="Surfer riding a wave" style="width: 100%; height: 56px; object-fit: cover; border-radius: 12px">
<img src="https://developermill.com/app-designs/city-guide-app-ui-design/assets/6e5e9c6de8.jpg" alt="Sea stacks off the coast" style="width: 100%; height: 56px; object-fit: cover; border-radius: 12px">
<img src="https://developermill.com/app-designs/city-guide-app-ui-design/assets/8253647a0b.jpg" alt="Sunset over the beach" style="width: 100%; height: 56px; object-fit: cover; border-radius: 12px">
<img src="https://developermill.com/app-designs/city-guide-app-ui-design/assets/bcfbfb7629.jpg" alt="Palm-lined beach with umbrellas" style="width: 100%; height: 56px; object-fit: cover; border-radius: 12px">
<a href="#" aria-label="See 12 more photos" style="position: relative; height: 56px; border-radius: 12px; overflow: hidden; display: block; text-decoration: none">
<img src="https://developermill.com/app-designs/city-guide-app-ui-design/assets/a35ab9a19c.jpg" alt="" aria-hidden="true" style="position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center">
<span style="position: absolute; inset: 0; background: rgba(23,24,28,0.55); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700">12+</span>
</a>
</div>
</div>
<div style="position: absolute; left: 0; bottom: 0; width: 390px; height: 92px; box-sizing: border-box; background: #FFFFFF; border-top: 1px solid #F0F1F3; padding: 12px 24px 0; display: flex; justify-content: space-between; align-items: flex-start">
<div style="height: 54px; display: flex; align-items: center; gap: 6px">
<span style="font-size: 15px; font-weight: 600; color: #3B3F46">Total:</span>
<span style="font-size: 24px; font-weight: 800; color: #C2410C">$7.20</span>
</div>
<a href="#" style="width: 160px; height: 54px; border-radius: 999px; background: {{accent}}; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 22px rgba(242,101,34,0.32)">Book Now</a>
<div style="position: absolute; left: 50%; bottom: 9px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #17181C" aria-hidden="true"></div>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"accent":{"editor":"color","default":"#F26522","options":["#F26522","#EA580C","#0F766E","#2563EB"]},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
constructor(props) {
super(props);
this.state = { fav: true };
}
renderVals() {
const fav = this.state.fav;
return {
accent: this.props.accent ?? '#F26522',
heartFill: fav ? '#FFFFFF' : 'none',
favPressed: fav ? 'true' : 'false',
toggleFav: () => this.setState({ fav: !fav })
};
}
}
</script>
</body>
</html>
```SKILL.md
Save as .claude/skills/city-guide-app-ui/SKILL.md
--- name: city-guide-app-ui description: Build the Wandr City Guide mobile app UI in Expo React Native. Use when asked to create a city guide app UI or a new screen in this visual style. --- # Wandr City Guide app UI Build this travel app UI in an Expo Router project with TypeScript. Reference: https://developermill.com/app-designs/city-guide-app-ui-design ## Visual direction Clean white with a warm orange accent, bright destination photography and a floating map button in the tab bar. Keep these signature details: - Photo onboarding with a bottom sheet - Promotion cards in a horizontal scroller - Category chips with selected state - Destination detail with key facts and photos ## Set up ```bash npx expo install expo-image expo-linear-gradient react-native-svg @expo-google-fonts/plus-jakarta-sans expo-font ``` ## Tokens | Name | Hex | | --- | --- | | Sunset orange | `#F26522` | | Burnt orange | `#C2410C` | | Ink | `#17181C` | | Slate | `#5F636B` | | Cloud | `#F5F6F7` | | White | `#FFFFFF` | - Typefaces: Plus Jakarta Sans - Text sizes (px): 11, 12, 13, 14, 15, 16, 17, 18 - Corner radii (px): 3, 12, 18, 20, 28, 32 Define these once and reuse them. Do not add new colours. ## Screens 1. **Onboarding.** A full photo of travellers reading a map, and a sheet with a headline, short copy and a Get Started button. 2. **Explore home.** Location, a search bar with filters, promotion cards, category chips and destination photo cards. 3. **Destination detail.** A large beach photo with save and route buttons, key facts, info tabs, a description and photos. ## 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 city-guide-app --template default cd city-guide-app rm -rf src npx expo install expo-image expo-linear-gradient react-native-svg @expo-google-fonts/plus-jakarta-sans expo-font
src/app/_layout.tsx
import {
PlusJakartaSans_400Regular,
PlusJakartaSans_500Medium,
PlusJakartaSans_600SemiBold,
PlusJakartaSans_700Bold,
PlusJakartaSans_800ExtraBold,
} from '@expo-google-fonts/plus-jakarta-sans';
import { useFonts } from 'expo-font';
import { Stack } from 'expo-router';
export default function RootLayout() {
const [fontsLoaded] = useFonts({
PlusJakartaSans_400Regular,
PlusJakartaSans_500Medium,
PlusJakartaSans_600SemiBold,
PlusJakartaSans_700Bold,
PlusJakartaSans_800ExtraBold,
});
if (!fontsLoaded) return null;
return <Stack screenOptions={{ headerShown: false }} />;
}src/app/index.tsx
import { Image } from 'expo-image';
import { router } from 'expo-router';
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 = '#F26522';
export default function MainScreen() {
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ flex: 1 }}>
<Image
source={{ uri: asset('5a42ebc2ee.jpg') }}
contentFit="cover"
contentPosition={{ left: 'center', top: '30%' }}
accessibilityLabel="Two travellers reading a map in front of a stone railway bridge"
style={{ position: 'absolute', left: 0, top: 0, width: 390, height: 560 }}
/>
<View
style={{
position: 'absolute',
left: 0,
top: 0,
width: 390,
height: 54,
paddingTop: 18,
paddingBottom: 0,
paddingLeft: 34,
paddingRight: 30,
justifyContent: 'space-between',
alignItems: 'center',
flexDirection: 'row',
}}
/>
<View
style={{
position: 'absolute',
left: 24,
top: 70,
alignItems: 'center',
gap: 8,
paddingVertical: 7,
paddingLeft: 8,
paddingRight: 12,
borderRadius: 999,
backgroundColor: 'rgba(255,255,255,0.86)',
flexDirection: 'row',
}}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke={accent}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round">
<Circle cx="12" cy="12" r="10" />
<Path d="M16.2 7.8l-2.1 6.3-6.3 2.1 2.1-6.3z" />
</Svg>
<Text
style={{
flexShrink: 1,
fontFamily: 'PlusJakartaSans_800ExtraBold',
fontSize: 15,
color: '#17181C',
letterSpacing: 0.6,
}}>
WANDR
</Text>
</View>
<View
style={{
position: 'absolute',
left: 0,
bottom: 0,
width: 390,
height: 330,
backgroundColor: '#FFFFFF',
borderTopLeftRadius: 32,
borderTopRightRadius: 32,
borderBottomRightRadius: 0,
borderBottomLeftRadius: 0,
paddingTop: 34,
paddingBottom: 0,
paddingHorizontal: 28,
alignItems: 'center',
boxShadow: '0 -12px 30px rgba(23,24,28,0.08)',
}}>
<Text
style={{
margin: 0,
fontFamily: 'PlusJakartaSans_800ExtraBold',
fontSize: 30,
color: '#17181C',
letterSpacing: -0.6,
lineHeight: 36.6,
textAlign: 'center',
}}>
All About City Guide Information
</Text>
<Text
style={{
marginTop: 14,
marginBottom: 0,
marginHorizontal: 0,
maxWidth: 320,
fontFamily: 'PlusJakartaSans_400Regular',
fontSize: 14,
color: '#5F636B',
lineHeight: 22.4,
textAlign: 'center',
}}>
{
"Uncover the city's pulse with our guide app, revealing hidden gems and local favorites for an immersive urban experience."
}
</Text>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/home')}
style={{
marginTop: 30,
width: '100%',
height: 56,
borderRadius: 999,
backgroundColor: accent,
alignItems: 'center',
justifyContent: 'center',
boxShadow: '0 10px 22px rgba(242,101,34,0.32)',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 18,
color: '#FFFFFF',
textAlign: 'center',
flexShrink: 1,
}}>
Get Started
</Text>
</Pressable>
</View>
</View>
</Screen>
);
}src/app/detail.tsx
import { Image } from 'expo-image';
import { router } from 'expo-router';
import { useState } from 'react';
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';
// Screen state, and the values the layout below reads from it.
function useScreen() {
const [state, setScreenState] = useState<Record<string, any>>({ fav: true });
const setState = (patch: Record<string, any>) =>
setScreenState((current) => ({ ...current, ...patch }));
const fav = state.fav;
return {
accent: '#F26522',
heartFill: fav ? '#FFFFFF' : 'none',
favPressed: fav ? 'true' : 'false',
toggleFav: () => setState({ fav: !fav }),
};
}
export default function DetailScreen() {
const { accent, heartFill, toggleFav } = useScreen();
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ flex: 1 }}>
<Image
source={{ uri: asset('6e5e9c6de8.jpg') }}
contentFit="cover"
contentPosition={{ left: 'center', top: '35%' }}
accessibilityLabel="Aerial view of limestone sea stacks and a sandy cove at Kuta Beach"
style={{ position: 'absolute', left: 0, top: 0, width: 390, height: 390 }}
/>
<View
style={{
position: 'absolute',
left: 0,
top: 0,
width: 390,
height: 54,
paddingTop: 18,
paddingBottom: 0,
paddingLeft: 34,
paddingRight: 30,
justifyContent: 'space-between',
alignItems: 'center',
flexDirection: 'row',
}}
/>
<Pressable
accessibilityRole="link"
accessibilityLabel="Back"
onPress={() => router.navigate('/home')}
style={{
position: 'absolute',
left: 24,
top: 62,
width: 44,
height: 44,
borderRadius: 999,
backgroundColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
boxShadow: '0 4px 12px rgba(0,0,0,0.12)',
flexDirection: 'row',
}}>
<Svg
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="#17181C"
strokeWidth="2.2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M15 5l-7 7 7 7" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="button"
accessibilityLabel="Save to favourites"
onPress={toggleFav}
style={{
position: 'absolute',
right: 24,
top: 62,
width: 44,
height: 44,
borderRadius: 999,
borderWidth: 0,
padding: 0,
backgroundColor: accent,
alignItems: 'center',
justifyContent: 'center',
boxShadow: '0 6px 14px rgba(242,101,34,0.35)',
flexDirection: 'row',
}}>
<Svg
width="20"
height="20"
viewBox="0 0 24 24"
fill={heartFill}
stroke="#FFFFFF"
strokeWidth="2"
strokeLinejoin="round">
<Path d="M12 20s-8-4.8-8-10.4A4.6 4.6 0 0 1 12 7a4.6 4.6 0 0 1 8 2.6C20 15.2 12 20 12 20z" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="link"
style={{
position: 'absolute',
right: 24,
top: 300,
height: 38,
paddingVertical: 0,
paddingHorizontal: 14,
borderRadius: 999,
backgroundColor: '#FFFFFF',
alignItems: 'center',
gap: 6,
boxShadow: '0 4px 12px rgba(0,0,0,0.12)',
flexDirection: 'row',
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#17181C"
strokeWidth="2"
strokeLinejoin="round">
<Path d="M3 6l6-2 6 2 6-2v14l-6 2-6-2-6 2z" />
<Path d="M9 4v14M15 6v14" />
</Svg>
<Text
style={{
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 13,
color: '#17181C',
flexShrink: 1,
}}>
Route
</Text>
</Pressable>
<View
style={{
position: 'absolute',
left: 0,
top: 352,
width: 390,
bottom: 0,
backgroundColor: '#FFFFFF',
borderTopLeftRadius: 28,
borderTopRightRadius: 28,
borderBottomRightRadius: 0,
borderBottomLeftRadius: 0,
paddingTop: 24,
paddingBottom: 0,
paddingHorizontal: 24,
}}>
<Text
style={{
margin: 0,
fontFamily: 'PlusJakartaSans_800ExtraBold',
fontSize: 24,
color: '#17181C',
letterSpacing: -0.48,
}}>
Kuta Beach
</Text>
<View style={{ marginTop: 16, flexDirection: 'row', gap: 8 }}>
<View style={{ alignItems: 'center', gap: 8, flex: 1, flexDirection: 'row' }}>
<View
style={{
width: 36,
height: 36,
flexGrow: 0,
flexShrink: 0,
flexBasis: 34,
borderRadius: 999,
borderWidth: 1,
borderColor: '#ECEDEF',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke={accent}
strokeWidth="2">
<Path d="M12 21s7-7.6 7-12a7 7 0 0 0-14 0c0 4.4 7 12 7 12z" />
<Circle cx="12" cy="9" r="2.5" />
</Svg>
</View>
<View style={{ gap: 1, flexShrink: 1 }}>
<Text
style={{
fontFamily: 'PlusJakartaSans_400Regular',
fontSize: 11,
color: '#5F636B',
}}>
Location
</Text>
<Text
style={{ fontFamily: 'PlusJakartaSans_700Bold', fontSize: 12, color: '#17181C' }}>
Bali, INA
</Text>
</View>
</View>
<View style={{ alignItems: 'center', gap: 8, flex: 1, flexDirection: 'row' }}>
<View
style={{
width: 36,
height: 36,
flexGrow: 0,
flexShrink: 0,
flexBasis: 34,
borderRadius: 999,
borderWidth: 1,
borderColor: '#ECEDEF',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke={accent}
strokeWidth="2"
strokeLinecap="round">
<Circle cx="12" cy="12" r="9" />
<Path d="M12 7v5l3 2" />
</Svg>
</View>
<View style={{ gap: 1, flexShrink: 1 }}>
<Text
style={{
fontFamily: 'PlusJakartaSans_400Regular',
fontSize: 11,
color: '#5F636B',
}}>
Open
</Text>
<Text
style={{ fontFamily: 'PlusJakartaSans_700Bold', fontSize: 12, color: '#17181C' }}>
24 Hours
</Text>
</View>
</View>
<View style={{ alignItems: 'center', gap: 8, flex: 1, flexDirection: 'row' }}>
<View
style={{
width: 36,
height: 36,
flexGrow: 0,
flexShrink: 0,
flexBasis: 34,
borderRadius: 999,
borderWidth: 1,
borderColor: '#ECEDEF',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke={accent}
strokeWidth="2"
strokeLinecap="round">
<Circle cx="12" cy="12" r="4" />
<Path d="M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4" />
</Svg>
</View>
<View style={{ gap: 1, flexShrink: 1 }}>
<Text
style={{
fontFamily: 'PlusJakartaSans_400Regular',
fontSize: 11,
color: '#5F636B',
}}>
Temp
</Text>
<Text
style={{ fontFamily: 'PlusJakartaSans_700Bold', fontSize: 12, color: '#17181C' }}>
29°C
</Text>
</View>
</View>
</View>
<View
style={{
marginTop: 18,
borderBottomWidth: 1,
borderBottomColor: '#ECEDEF',
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="button"
style={{
height: 42,
borderWidth: 0,
borderBottomWidth: 2,
borderBottomColor: accent,
marginBottom: -1,
flex: 1,
alignItems: 'center',
justifyContent: 'center',
}}>
<Text
style={{
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 14,
color: '#C2410C',
textAlign: 'center',
}}>
Overview
</Text>
</Pressable>
<Pressable
accessibilityRole="button"
style={{
height: 42,
borderWidth: 0,
flex: 1,
alignItems: 'center',
justifyContent: 'center',
}}>
<Text
style={{
fontFamily: 'PlusJakartaSans_600SemiBold',
fontSize: 14,
color: '#5F636B',
textAlign: 'center',
}}>
Detail
</Text>
</Pressable>
<Pressable
accessibilityRole="button"
style={{
height: 42,
borderWidth: 0,
flex: 1,
alignItems: 'center',
justifyContent: 'center',
}}>
<Text
style={{
fontFamily: 'PlusJakartaSans_600SemiBold',
fontSize: 14,
color: '#5F636B',
textAlign: 'center',
}}>
Reviews
</Text>
</Pressable>
</View>
<Text
style={{
marginTop: 14,
marginBottom: 0,
marginHorizontal: 0,
fontFamily: 'PlusJakartaSans_400Regular',
fontSize: 13,
color: '#5F636B',
lineHeight: 20.8,
}}>
{
"Kuta Beach has been drawing crowds of backpackers and surfers from across the globe for decades. Today, the long stretch of golden white sand beach remains popular for sunbathing, swimming, or simply watching Kuta's legendary golden sunsets."
}
</Text>
<Text
style={{
marginTop: 14,
marginBottom: 0,
marginHorizontal: 0,
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 15,
color: '#17181C',
}}>
Photos
</Text>
<View style={{ marginTop: 10, flexDirection: 'row', gap: 8 }}>
<Image
source={{ uri: asset('a35ab9a19c.jpg') }}
contentFit="cover"
accessibilityLabel="Surfer riding a wave"
style={{ width: '100%', height: 56, borderRadius: 12, flex: 1 }}
/>
<Image
source={{ uri: asset('6e5e9c6de8.jpg') }}
contentFit="cover"
accessibilityLabel="Sea stacks off the coast"
style={{ width: '100%', height: 56, borderRadius: 12, flex: 1 }}
/>
<Image
source={{ uri: asset('8253647a0b.jpg') }}
contentFit="cover"
accessibilityLabel="Sunset over the beach"
style={{ width: '100%', height: 56, borderRadius: 12, flex: 1 }}
/>
<Image
source={{ uri: asset('bcfbfb7629.jpg') }}
contentFit="cover"
accessibilityLabel="Palm-lined beach with umbrellas"
style={{ width: '100%', height: 56, borderRadius: 12, flex: 1 }}
/>
<Pressable
accessibilityRole="link"
accessibilityLabel="See 12 more photos"
style={{ height: 56, borderRadius: 12, overflow: 'hidden', flex: 1 }}>
<Image
source={{ uri: asset('a35ab9a19c.jpg') }}
contentFit="cover"
contentPosition="right center"
style={{
position: 'absolute',
top: 0,
right: 0,
bottom: 0,
left: 0,
width: '100%',
height: '100%',
}}
/>
<View
style={{
position: 'absolute',
top: 0,
right: 0,
bottom: 0,
left: 0,
backgroundColor: 'rgba(23,24,28,0.55)',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 14,
color: '#FFFFFF',
flexShrink: 1,
}}>
12+
</Text>
</View>
</Pressable>
</View>
</View>
<View
style={{
position: 'absolute',
left: 0,
bottom: 0,
width: 390,
height: 92,
backgroundColor: '#FFFFFF',
borderTopWidth: 1,
borderTopColor: '#F0F1F3',
paddingTop: 12,
paddingBottom: 0,
paddingHorizontal: 24,
justifyContent: 'space-between',
alignItems: 'flex-start',
flexDirection: 'row',
}}>
<View
style={{
height: 54,
alignItems: 'center',
gap: 6,
flexShrink: 1,
flexDirection: 'row',
}}>
<Text
style={{
flexShrink: 1,
fontFamily: 'PlusJakartaSans_600SemiBold',
fontSize: 15,
color: '#3B3F46',
}}>
Total:
</Text>
<Text
style={{
flexShrink: 1,
fontFamily: 'PlusJakartaSans_800ExtraBold',
fontSize: 24,
color: '#C2410C',
}}>
$7.20
</Text>
</View>
<Pressable
accessibilityRole="link"
style={{
width: 160,
height: 54,
borderRadius: 999,
backgroundColor: accent,
alignItems: 'center',
justifyContent: 'center',
boxShadow: '0 10px 22px rgba(242,101,34,0.32)',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 18,
color: '#FFFFFF',
flexShrink: 1,
}}>
Book Now
</Text>
</Pressable>
</View>
</View>
</Screen>
);
}src/app/home.tsx
import { Image } from 'expo-image';
import { LinearGradient } from 'expo-linear-gradient';
import { router } from 'expo-router';
import { useState } from 'react';
import { Pressable, ScrollView, StyleSheet, Text, TextInput, View } from 'react-native';
import Svg, { Circle, Path, Rect } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
import { css, cssText } from '@/lib/css';
// Screen state, and the values the layout below reads from it.
function useScreen() {
const [state, setScreenState] = useState<Record<string, any>>({ cat: 'all' });
const setState = (patch: Record<string, any>) =>
setScreenState((current) => ({ ...current, ...patch }));
const accent = '#F26522';
const base =
'height: 40px; padding: 0 16px; border-radius: 999px; display: flex; align-items: center; gap: 6px; font-family: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; flex: 0 0 auto; cursor: pointer;';
const on =
base + ' border: 1px solid ' + accent + '; background: ' + accent + '; color: #FFFFFF;';
const off = base + ' border: 1px solid #ECEDEF; background: #F5F6F7; color: #3B3F46;';
const c = state.cat;
const pick = (k: any) => () => setState({ cat: k });
return {
accent,
chipAll: c === 'all' ? on : off,
chipBeach: c === 'beach' ? on : off,
chipMountain: c === 'mountain' ? on : off,
chipTemple: c === 'temple' ? on : off,
pickAll: pick('all'),
pickBeach: pick('beach'),
pickMountain: pick('mountain'),
pickTemple: pick('temple'),
};
}
export default function HomeScreen() {
const {
accent,
chipAll,
chipBeach,
chipMountain,
chipTemple,
pickAll,
pickBeach,
pickMountain,
pickTemple,
} = useScreen();
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ flex: 1 }}>
<View
style={{
height: 54,
paddingTop: 18,
paddingBottom: 0,
paddingLeft: 34,
paddingRight: 30,
justifyContent: 'space-between',
alignItems: 'center',
flexDirection: 'row',
}}
/>
<Image
source={{ uri: asset('a0518ab228.jpg') }}
contentFit="contain"
style={{
position: 'absolute',
left: 196,
top: 92,
width: 160,
height: 120,
mixBlendMode: 'multiply',
zIndex: 1,
}}
/>
<View style={{ paddingTop: 6, paddingBottom: 0, paddingHorizontal: 24, gap: 0 }}>
<View
style={{ justifyContent: 'space-between', alignItems: 'center', flexDirection: 'row' }}>
<View style={{ alignItems: 'center', gap: 6, flexShrink: 1, flexDirection: 'row' }}>
<Svg width="16" height="16" viewBox="0 0 24 24" fill={accent}>
<Path d="M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z" />
</Svg>
<Text
style={{
fontFamily: 'PlusJakartaSans_600SemiBold',
fontSize: 13,
color: '#3B3F46',
flexShrink: 1,
}}>
Indonesia, Malang
</Text>
</View>
<Pressable
accessibilityRole="button"
accessibilityLabel="Notifications"
style={{
width: 44,
height: 44,
borderRadius: 999,
borderWidth: 1,
borderColor: '#E7E8EB',
backgroundColor: '#FFFFFF',
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="#17181C"
strokeWidth="1.8"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9" />
<Path d="M10.3 21a1.9 1.9 0 0 0 3.4 0" />
</Svg>
<View
style={{
position: 'absolute',
top: 10,
right: 11,
width: 12,
height: 12,
borderRadius: 999,
backgroundColor: '#E5484D',
borderWidth: 2,
borderColor: '#FFFFFF',
}}
/>
</Pressable>
</View>
<Text
style={{
marginTop: 4,
marginBottom: 0,
marginHorizontal: 0,
maxWidth: 180,
fontFamily: 'PlusJakartaSans_800ExtraBold',
fontSize: 28,
color: '#17181C',
letterSpacing: -0.56,
lineHeight: 34.16,
}}>
Where you Wanna go?
</Text>
<View
style={{
marginTop: 22,
height: 52,
borderWidth: 1,
borderColor: '#E7E8EB',
borderRadius: 999,
alignItems: 'center',
gap: 10,
paddingVertical: 0,
paddingLeft: 16,
paddingRight: 6,
backgroundColor: '#FFFFFF',
boxShadow: '0 6px 18px rgba(23,24,28,0.05)',
flexDirection: 'row',
}}>
<Svg
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="#5F636B"
strokeWidth="2"
strokeLinecap="round">
<Circle cx="11" cy="11" r="7" />
<Path d="M20 20l-3.5-3.5" />
</Svg>
<TextInput
placeholder="Search destination"
placeholderTextColor="#8A8A8A"
style={{
flex: 1,
minWidth: 0,
borderWidth: 0,
fontFamily: 'PlusJakartaSans_400Regular',
fontSize: 14,
color: '#17181C',
}}
/>
<Pressable
accessibilityRole="button"
accessibilityLabel="Filters"
style={{
width: 40,
height: 40,
borderRadius: 999,
borderWidth: 0,
backgroundColor: accent,
alignItems: 'center',
justifyContent: 'center',
padding: 0,
flexDirection: 'row',
}}>
<Svg
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2"
strokeLinecap="round">
<Path d="M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0" />
<Circle cx="16" cy="6" r="2" />
<Circle cx="10" cy="12" r="2" />
<Circle cx="18" cy="18" r="2" />
</Svg>
</Pressable>
</View>
<View
style={{
marginTop: 22,
justifyContent: 'space-between',
alignItems: 'baseline',
flexDirection: 'row',
}}>
<Text
style={{
margin: 0,
flexShrink: 1,
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 17,
color: '#17181C',
}}>
Promotions
</Text>
<Pressable accessibilityRole="link" style={{ flexShrink: 1 }}>
<Text
style={{
fontFamily: 'PlusJakartaSans_600SemiBold',
fontSize: 13,
color: '#C2410C',
}}>
See all
</Text>
</Pressable>
</View>
</View>
<ScrollView
horizontal
showsHorizontalScrollIndicator={false}
contentContainerStyle={{ gap: 12, paddingHorizontal: 24 }}
style={{ marginTop: 12, paddingVertical: 0, flexGrow: 0 }}>
<View
style={{
flexGrow: 0,
flexShrink: 0,
flexBasis: 250,
height: 124,
borderRadius: 18,
overflow: 'hidden',
backgroundColor: '#9FDDF8',
}}>
<Image
source={{ uri: asset('5b68d6a4e2.jpg') }}
contentFit="cover"
contentPosition="right center"
style={{
position: 'absolute',
top: 0,
right: 0,
bottom: 0,
left: 0,
width: '100%',
height: '100%',
}}
/>
<View style={{ padding: 14, justifyContent: 'space-between', height: '100%' }}>
<Text
style={{
margin: 0,
maxWidth: 128,
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 13,
color: '#0F2A3A',
lineHeight: 17.55,
}}>
Visit 3 beach and get it discount 50%
</Text>
<Pressable
accessibilityRole="link"
style={{
alignSelf: 'flex-start',
height: 32,
paddingVertical: 0,
paddingHorizontal: 14,
borderRadius: 999,
backgroundColor: '#FFFFFF',
alignItems: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 12,
color: '#17181C',
flexShrink: 1,
}}>
Get Coupon
</Text>
</Pressable>
</View>
</View>
<View
style={{
flexGrow: 0,
flexShrink: 0,
flexBasis: 250,
height: 124,
borderRadius: 18,
overflow: 'hidden',
backgroundColor: '#0E1E3D',
}}>
<Image
source={{ uri: asset('1af949f171.jpg') }}
contentFit="cover"
contentPosition="right center"
style={{
position: 'absolute',
top: 0,
right: 0,
bottom: 0,
left: 0,
width: '100%',
height: '100%',
}}
/>
<View style={{ padding: 14, justifyContent: 'space-between', height: '100%' }}>
<Text
style={{
margin: 0,
maxWidth: 128,
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 13,
color: '#FFFFFF',
lineHeight: 17.55,
}}>
Discount 30% for mountain trips
</Text>
<Pressable
accessibilityRole="link"
style={{
alignSelf: 'flex-start',
height: 32,
paddingVertical: 0,
paddingHorizontal: 14,
borderRadius: 999,
backgroundColor: '#FFFFFF',
alignItems: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 12,
color: '#17181C',
flexShrink: 1,
}}>
Book Now
</Text>
</Pressable>
</View>
</View>
</ScrollView>
<View style={{ paddingVertical: 0, paddingHorizontal: 24 }}>
<Text
style={{
marginTop: 20,
marginBottom: 0,
marginHorizontal: 0,
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 17,
color: '#17181C',
}}>
Category
</Text>
</View>
<ScrollView
horizontal
showsHorizontalScrollIndicator={false}
contentContainerStyle={{ gap: 8, paddingHorizontal: 24 }}
style={{ marginTop: 12, paddingVertical: 0, flexGrow: 0 }}>
<Pressable
accessibilityRole="button"
onPress={pickAll}
style={{
flexShrink: 1,
alignItems: 'center',
justifyContent: 'center',
...css(chipAll),
}}>
<Svg width="16" height="16" viewBox="0 0 24 24" fill="#000000">
<Rect x="3" y="3" width="8" height="8" rx="2" />
<Rect x="13" y="3" width="8" height="8" rx="2" />
<Rect x="3" y="13" width="8" height="8" rx="2" />
<Rect x="13" y="13" width="8" height="8" rx="2" />
</Svg>
<Text
style={[
{
fontFamily: 'PlusJakartaSans_400Regular',
fontSize: 13.33,
color: '#000000',
textAlign: 'center',
},
cssText(chipAll),
]}>
All
</Text>
</Pressable>
<Pressable
accessibilityRole="button"
onPress={pickBeach}
style={{
flexShrink: 1,
alignItems: 'center',
justifyContent: 'center',
...css(chipBeach),
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#000000"
strokeWidth="2"
strokeLinecap="round">
<Path d="M12 4a8 8 0 0 1 8 8H4a8 8 0 0 1 8-8z" />
<Path d="M12 12v8" />
<Path d="M3 21c2-1.3 4-1.3 6 0s4 1.3 6 0 4-1.3 6 0" />
</Svg>
<Text
style={[
{
fontFamily: 'PlusJakartaSans_400Regular',
fontSize: 13.33,
color: '#000000',
textAlign: 'center',
},
cssText(chipBeach),
]}>
Beach
</Text>
</Pressable>
<Pressable
accessibilityRole="button"
onPress={pickMountain}
style={{
flexShrink: 1,
alignItems: 'center',
justifyContent: 'center',
...css(chipMountain),
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#000000"
strokeWidth="2"
strokeLinejoin="round">
<Path d="M2 20l7-12 4 6 3-4 6 10z" />
</Svg>
<Text
style={[
{
fontFamily: 'PlusJakartaSans_400Regular',
fontSize: 13.33,
color: '#000000',
textAlign: 'center',
},
cssText(chipMountain),
]}>
Mountain
</Text>
</Pressable>
<Pressable
accessibilityRole="button"
onPress={pickTemple}
style={{
flexShrink: 1,
alignItems: 'center',
justifyContent: 'center',
...css(chipTemple),
}}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#000000"
strokeWidth="2"
strokeLinejoin="round">
<Path d="M12 2l3 5H9z" />
<Path d="M6 10h12M7 10v9M17 10v9M12 10v9M4 21h16" />
</Svg>
<Text
style={[
{
fontFamily: 'PlusJakartaSans_400Regular',
fontSize: 13.33,
color: '#000000',
textAlign: 'center',
},
cssText(chipTemple),
]}>
Temple
</Text>
</Pressable>
</ScrollView>
<View
style={{
marginTop: 16,
paddingVertical: 0,
paddingHorizontal: 24,
flexDirection: 'row',
gap: 12,
}}>
<Pressable
accessibilityRole="link"
style={{ height: 220, borderRadius: 20, overflow: 'hidden', flex: 1 }}>
<Image
source={{ uri: asset('ea1aee839f.jpg') }}
contentFit="cover"
accessibilityLabel="Borobudur temple stupas at sunrise"
style={{
position: 'absolute',
top: 0,
right: 0,
bottom: 0,
left: 0,
width: '100%',
height: '100%',
}}
/>
<View style={{ position: 'absolute', top: 0, right: 0, bottom: 0, left: 0 }}>
<LinearGradient
colors={['rgba(0,0,0,0)', 'rgba(0,0,0,0.72)']}
locations={[0.45, 1]}
start={{ x: 0.5, y: 0 }}
end={{ x: 0.5, y: 1 }}
style={StyleSheet.absoluteFill}
/>
</View>
<View style={{ position: 'absolute', left: 12, right: 12, bottom: 12, gap: 4 }}>
<View
style={{
justifyContent: 'space-between',
alignItems: 'center',
flexDirection: 'row',
}}>
<Text
style={{
flexShrink: 1,
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 15,
color: '#FFFFFF',
}}>
Borobudur
</Text>
<View style={{ alignItems: 'center', gap: 3, flexShrink: 1, flexDirection: 'row' }}>
<Svg width="13" height="13" viewBox="0 0 24 24" fill="#FFB020">
<Path d="M12 2.5l2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.2 1.3-6.6-4.9-4.6 6.6-.8z" />
</Svg>
<Text
style={{
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 12,
color: '#FFFFFF',
flexShrink: 1,
}}>
4.5
</Text>
</View>
</View>
<View style={{ alignItems: 'center', gap: 4, flexDirection: 'row' }}>
<Svg
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2">
<Path d="M12 21s7-7.6 7-12a7 7 0 0 0-14 0c0 4.4 7 12 7 12z" />
<Circle cx="12" cy="9" r="2.5" />
</Svg>
<Text
style={{
fontFamily: 'PlusJakartaSans_500Medium',
fontSize: 11,
color: '#FFFFFF',
flexShrink: 1,
}}>
Jawa Tengah, INA
</Text>
</View>
</View>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/detail')}
style={{ height: 220, borderRadius: 20, overflow: 'hidden', flex: 1 }}>
<Image
source={{ uri: asset('6e5e9c6de8.jpg') }}
contentFit="cover"
accessibilityLabel="Limestone cliffs and turquoise sea at Kuta Beach"
style={{
position: 'absolute',
top: 0,
right: 0,
bottom: 0,
left: 0,
width: '100%',
height: '100%',
}}
/>
<View style={{ position: 'absolute', top: 0, right: 0, bottom: 0, left: 0 }}>
<LinearGradient
colors={['rgba(0,0,0,0)', 'rgba(0,0,0,0.72)']}
locations={[0.45, 1]}
start={{ x: 0.5, y: 0 }}
end={{ x: 0.5, y: 1 }}
style={StyleSheet.absoluteFill}
/>
</View>
<View style={{ position: 'absolute', left: 12, right: 12, bottom: 12, gap: 4 }}>
<View
style={{
justifyContent: 'space-between',
alignItems: 'center',
flexDirection: 'row',
}}>
<Text
style={{
flexShrink: 1,
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 15,
color: '#FFFFFF',
}}>
Kuta Beach
</Text>
<View style={{ alignItems: 'center', gap: 3, flexShrink: 1, flexDirection: 'row' }}>
<Svg width="13" height="13" viewBox="0 0 24 24" fill="#FFB020">
<Path d="M12 2.5l2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.2 1.3-6.6-4.9-4.6 6.6-.8z" />
</Svg>
<Text
style={{
fontFamily: 'PlusJakartaSans_700Bold',
fontSize: 12,
color: '#FFFFFF',
flexShrink: 1,
}}>
4.9
</Text>
</View>
</View>
<View style={{ alignItems: 'center', gap: 4, flexDirection: 'row' }}>
<Svg
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2">
<Path d="M12 21s7-7.6 7-12a7 7 0 0 0-14 0c0 4.4 7 12 7 12z" />
<Circle cx="12" cy="9" r="2.5" />
</Svg>
<Text
style={{
fontFamily: 'PlusJakartaSans_500Medium',
fontSize: 11,
color: '#FFFFFF',
flexShrink: 1,
}}>
Bali, INA
</Text>
</View>
</View>
</Pressable>
</View>
<View
style={{
position: 'absolute',
left: 0,
bottom: 0,
width: 390,
height: 88,
backgroundColor: '#FFFFFF',
borderTopLeftRadius: 28,
borderTopRightRadius: 28,
borderBottomRightRadius: 0,
borderBottomLeftRadius: 0,
boxShadow: '0 -8px 24px rgba(23,24,28,0.08)',
justifyContent: 'space-around',
alignItems: 'flex-start',
paddingTop: 14,
paddingBottom: 0,
paddingHorizontal: 18,
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="link"
accessibilityLabel="Home"
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg width="24" height="24" viewBox="0 0 24 24" fill={accent}>
<Path d="M12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1v-9.5z" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="link"
accessibilityLabel="Explore"
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="#5F636B"
strokeWidth="1.8"
strokeLinejoin="round">
<Circle cx="12" cy="12" r="9.5" />
<Path d="M15.5 8.5l-2 5-5 2 2-5z" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="link"
accessibilityLabel="Map"
style={{
width: 74,
height: 74,
marginTop: -34,
borderRadius: 999,
backgroundColor: accent,
borderWidth: 5,
borderColor: '#FFFFFF',
boxShadow: '0 10px 20px rgba(242,101,34,0.35)',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="#FFFFFF"
strokeWidth="2"
strokeLinejoin="round">
<Path d="M3 6l6-2 6 2 6-2v14l-6 2-6-2-6 2z" />
<Path d="M9 4v14M15 6v14" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="link"
accessibilityLabel="Saved"
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="#5F636B"
strokeWidth="1.8"
strokeLinejoin="round">
<Path d="M12 20s-8-4.8-8-10.4A4.6 4.6 0 0 1 12 7a4.6 4.6 0 0 1 8 2.6C20 15.2 12 20 12 20z" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="link"
accessibilityLabel="Profile"
style={{
width: 44,
height: 44,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="#5F636B"
strokeWidth="1.8"
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/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/city-guide-app-ui-design/assets';
export const asset = (name: string) => `${ASSET_BASE}/${name}`;src/lib/css.ts
import type { TextStyle, ViewStyle } from 'react-native';
// A few styles change with state, so they are kept as short CSS strings from the design.
const FACES: Record<number, string> = {
400: 'PlusJakartaSans_400Regular',
500: 'PlusJakartaSans_500Medium',
600: 'PlusJakartaSans_600SemiBold',
700: 'PlusJakartaSans_700Bold',
800: 'PlusJakartaSans_800ExtraBold',
};
const px = (value: string) => (value.endsWith('%') ? (value as `${number}%`) : parseFloat(value));
function declarations(source: string) {
return source
.split(';')
.map((rule) => rule.split(':').map((part) => part.trim()))
.filter(([name, value]) => name && value);
}
export function css(source: string): ViewStyle {
const style: Record<string, unknown> = {};
for (const [name, ...rest] of declarations(source)) {
const value = rest.join(':');
if (name === 'background' || name === 'background-color') {
style.backgroundColor = value;
} else if (name === 'border') {
const [width, , ...color] = value.split(' ');
if (value === 'none' || value === '0') style.borderWidth = 0;
else {
style.borderWidth = parseFloat(width);
style.borderColor = color.join(' ');
}
} else if (name === 'display' && value === 'flex') {
style.flexDirection = style.flexDirection ?? 'row';
} else if (name === 'flex-direction') {
style.flexDirection = value;
} else if (name === 'align-items') {
style.alignItems = value;
} else if (name === 'justify-content') {
style.justifyContent = value;
} else if (name === 'box-shadow') {
style.boxShadow = value;
} else if (name === 'position') {
style.position = value === 'absolute' ? 'absolute' : 'relative';
} else if (name === 'opacity') {
style.opacity = parseFloat(value);
} else if (
name === 'gap' ||
name === 'width' ||
name === 'height' ||
name === 'left' ||
name === 'top'
) {
style[name] = px(value);
} else if (name === 'border-radius') {
style.borderRadius = px(value);
} else if (name === 'padding') {
const [vertical, horizontal = vertical] = value.split(' ');
style.paddingVertical = px(vertical);
style.paddingHorizontal = px(horizontal);
} else if (name === 'white-space' && value === 'nowrap') {
style.flexShrink = 0;
} else if (name === 'flex-shrink') {
style.flexShrink = parseFloat(value);
} else if (name === 'flex') {
const [grow, shrink, basis] = value.split(' ');
if (value === 'none') {
style.flexGrow = 0;
style.flexShrink = 0;
} else if (shrink === undefined) {
style.flex = parseFloat(grow);
} else {
style.flexGrow = parseFloat(grow);
style.flexShrink = parseFloat(shrink);
if (basis && basis !== 'auto') style.flexBasis = px(basis);
}
}
}
return style as ViewStyle;
}
export function cssText(source: string): TextStyle {
const style: Record<string, unknown> = {};
for (const [name, value] of declarations(source)) {
if (name === 'color') style.color = value;
if (name === 'font-size') style.fontSize = parseFloat(value);
if (name === 'font-weight' && FACES[Number(value)]) style.fontFamily = FACES[Number(value)];
if (name === 'text-decoration' && value.startsWith('line-through')) {
style.textDecorationLine = 'line-through';
}
}
return style as TextStyle;
}About this design
The detail page puts the key facts first: location, opening hours and temperature, followed by tabs, a description, a photo strip and a booking bar. It suits tourism boards, tour sellers and local discovery apps.
Clean white with a warm orange accent, bright destination photography and a floating map button in the tab bar.
- Photo onboarding with a bottom sheet
- Promotion cards in a horizontal scroller
- Category chips with selected state
- Destination detail with key facts and photos
Colour palette
Sunset orange
#F26522
Burnt orange
#C2410C
Ink
#17181C
Slate
#5F636B
Cloud
#F5F6F7
White
#FFFFFF
How to use this design
- 01
Pick what to copy
Copy the Wandr City Guide 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
What works in the prototype?
The category chips select, and the heart on the detail screen saves and unsaves the place.
Can I show a real map?
The map button in the tab bar is ready for a map screen. Add react-native-maps and reuse the destination cards as markers.
Is it only for beach destinations?
No. Temples, mountains and city sights use the same cards and detail layout.
Is the Wandr City Guide 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.



