// Sports app UI
Sports Meetup App UI Design in Expo
This sports meetup app UI helps people find partners for tennis, yoga, paddleboarding or a hike nearby. Onboarding asks for favourite sports through a bubble picker, suggests people to follow and sets a distance and age range for teammates.
- Screens
- 11
- Built with
- Expo SDK 58
- Fonts
- Space Grotesk, Bagel Fat One
- License
- Free (MIT)
- Views
- 0

Kinship Sports Meetup app screens

Profile and stats
A greeting with avatar, follower counts and five pastel stat pills with 3D icons for workouts, calories and places.

Explore map
A lime street map with filter and list buttons, your location and two dark game cards with a join button.

Event overview
What to expect, needed equipment, a price card with a split-the-cost switch, the address, owner and participants.

Coming events
Overlapping coloured cards for a run club, tennis, yoga and paddleboarding, each with attendees and a cancel button.

Workout history
A lime timeline grouped by date with each workout, its place, time and the people who joined.

Pick your sports
Ten sport bubbles joined by lime lines. Tap a bubble to add or remove that sport.

Who to follow
Three player portraits, a follow toggle, follower counts, a short bio and sport tags.

Find teammates
A maximum distance slider and an age range slider with lime knobs, then a Next button.

Successfully joined
A ring of hands with circular text around it and an Add to calendar button.

Welcome
The wordmark, a sphere of linked arms and Sign up and Log in buttons.

Splash
The bold wordmark above a sphere of colourful arms holding hands.
Copy the Kinship Sports Meetup 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
# Kinship Sports Meetup: design artifact
This sports meetup app UI helps people find partners for tennis, yoga, paddleboarding or a hike nearby. Onboarding asks for favourite sports through a bubble picker, suggests people to follow and sets a distance and age range for teammates.
- Type: Sports mobile app UI
- Screens: 11
- Artboard: 390 × 844
- Target: Expo SDK 58, Expo Router, TypeScript, expo-image, react-native-svg
- Live page: https://developermill.com/app-designs/sports-meetup-app-ui-design
## Design direction
Clean white pages with an electric lime accent, black type in Space Grotesk, pill buttons and pastel stat cards with 3D objects.
- Bubble picker for choosing sports
- Map view with joinable game cards
- Event details with a split-the-cost switch
- Stacked upcoming event cards and a stats profile
## Foundations
### Colour
| Token | Hex |
| --- | --- |
| Lime | `#D7F75B` |
| Ink | `#111111` |
| Lilac | `#E7B8F2` |
| Coral | `#F9A99A` |
| Mint | `#7FE0B8` |
| Royal blue | `#1C5FB8` |
### Typography
- Typefaces: Space Grotesk, Bagel Fat One
- Common sizes (px): 11, 12, 13, 14, 15, 16, 18, 20
### Shape and depth
- Common corner radii (px): 13, 16, 22, 28, 46, 70
- Shadows: `0 0 0 10px rgba(17,17,17,.12)`, `0 -2px 0 rgba(255,255,255,.6)`,
btn: `height:34px`
## Screens
### 1. Profile and stats
A greeting with avatar, follower counts and five pastel stat pills with 3D icons for workouts, calories and places.
Preview: https://developermill.com/app-designs/sports-meetup-app-ui-design/profile.webp
Copy on this screen:
- Good morning,
- Marina
- 12
- Followers
- 34
- Following
- 3
- Teams
- My stats
- Explore
- Calendar
- Inbox
- Profile
### 2. Explore map
A lime street map with filter and list buttons, your location and two dark game cards with a join button.
Preview: https://developermill.com/app-designs/sports-meetup-app-ui-design/map.webp
Copy on this screen:
- List
- Tennis 1-1
- Tomorrow at 7:30 a.m.
- + Join
- Tennis 2-2
- Today at 7:30 a.m.
- Explore
- Calendar
- Inbox
- Profile
### 3. Event overview
What to expect, needed equipment, a price card with a split-the-cost switch, the address, owner and participants.
Preview: https://developermill.com/app-designs/sports-meetup-app-ui-design/event.webp
Copy on this screen:
- Event Overview
- Tennis · 1-1
- What to expect
- Duration: 1 hour 30 minutes
- No break
- Difficulty: Beginner
- Necessary equipment
- Tennis Racket
- Bottle of water
- Price
- $
- 10€
- Split the cost
- Adress
- Egkomi park of poets
- Date and Time
- 28 may 07:30
- Owner
- Melissa Deromidou
- Participants
- +9
- Invite
- Join
### 4. Coming events
Overlapping coloured cards for a run club, tennis, yoga and paddleboarding, each with attendees and a cancel button.
Preview: https://developermill.com/app-designs/sports-meetup-app-ui-design/coming.webp
Copy on this screen:
- Coming events
- Cancel
- Explore
- Calendar
- Inbox
- Profile
### 5. Workout history
A lime timeline grouped by date with each workout, its place, time and the people who joined.
Preview: https://developermill.com/app-designs/sports-meetup-app-ui-design/workouts.webp
Copy on this screen:
- Workouts
- Explore
- Calendar
- Inbox
- Profile
### 6. Pick your sports
Ten sport bubbles joined by lime lines. Tap a bubble to add or remove that sport.
Preview: https://developermill.com/app-designs/sports-meetup-app-ui-design/sports.webp
Copy on this screen:
- Next
- Let's play tennis together
- choose the sports and activities that interest you and suit your health
### 7. Who to follow
Three player portraits, a follow toggle, follower counts, a short bio and sport tags.
Preview: https://developermill.com/app-designs/sports-meetup-app-ui-design/follow.webp
Copy on this screen:
- Skip
- Who do you want
- to follow?
- Victor Vefinder
- @VeVic
- 830
- followers
- 71
- following
- Advanced level in tennis. Usually play tennis twice week at Eleon Courts. Love yoga, hiking and wine!
- Tennis
- Yoga
- Hiking
- Next
### 8. Find teammates
A maximum distance slider and an age range slider with lime knobs, then a Next button.
Preview: https://developermill.com/app-designs/sports-meetup-app-ui-design/teammates.webp
Copy on this screen:
- Skip
- Find teammates
- Maximum distance
- 100 km
- Age range players
- 4-99
- Next
### 9. Successfully joined
A ring of hands with circular text around it and an Add to calendar button.
Preview: https://developermill.com/app-designs/sports-meetup-app-ui-design/joined.webp
Copy on this screen:
- You have successfully joined
- Add to iCalendar
### 10. Welcome
The wordmark, a sphere of linked arms and Sign up and Log in buttons.
Preview: https://developermill.com/app-designs/sports-meetup-app-ui-design/welcome.webp
Copy on this screen:
- Skip
- KINSHIP
- Join our community
- Sign up
- Log in
### 11. Splash
The bold wordmark above a sphere of colourful arms holding hands.
Preview: https://developermill.com/app-designs/sports-meetup-app-ui-design/splash.webp
Copy on this screen:
- KINSHIP
## Full source
The original artboards as HTML. Image URLs point at the hosted demo assets.
### Profile and stats (Profile)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kinship — Profile</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: #FFFFFF; font-family: 'Space Grotesk', sans-serif; color: #111111; display: flex; flex-direction: column; overflow: hidden">
<div style="display: flex; justify-content: flex-end; gap: 4px; padding: 48px 16px 0">
<button aria-label="Friends" style="width: 44px; height: 44px; border: 0; background: none"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="1.8" aria-hidden="true"><circle cx="9" cy="8" r="3.5"/><path d="M2 20c0-3.5 3-5.5 7-5.5s7 2 7 5.5M17 5v6M14 8h6"/></svg></button>
<button aria-label="Settings" style="width: 44px; height: 44px; border: 0; background: none"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="1.8" aria-hidden="true"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1"/></svg></button>
</div>
<div style="display: flex; gap: 14px; align-items: center; padding: 4px 20px 0">
<img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/bd7cefffcb.webp" alt="Marina" style="width: 64px; height: 64px; border-radius: 50%; border: 3px solid #D7F75B; flex: none; object-fit: cover; box-sizing: border-box">
<h1 style="margin: 0; font-size: 22px; font-weight: 700; line-height: 1.15">Good morning,<br>Marina</h1>
</div>
<div style="display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 18px 20px 8px">
<div><div style="font-size: 18px; font-weight: 700">12</div><div style="font-size: 12px; color: #555">Followers</div></div>
<div style="text-align: center"><div style="font-size: 18px; font-weight: 700">34</div><div style="font-size: 12px; color: #555">Following</div></div>
<div style="text-align: right"><div style="font-size: 18px; font-weight: 700">3</div><div style="font-size: 12px; color: #555">Teams</div></div>
</div>
<h2 style="margin: 10px 20px 12px; font-size: 22px; font-weight: 700">My stats</h2>
<div style="flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 0 16px; overflow: hidden">
<sc-for list="{{stats}}" as="s" hint-placeholder-count="5">
<div style="{{s.style}}">
<div style="display: flex; flex-direction: column; gap: 2px"><span style="font-size: 24px; font-weight: 700">{{s.n}}</span><span style="font-size: 13px">{{s.label}}</span></div>
<img src="{{s.img}}" alt="{{s.alt}}" style="width: 86px; height: 86px; object-fit: contain; mix-blend-mode: multiply; display: block">
</div>
</sc-for>
</div>
<nav aria-label="Main" style="display: flex; justify-content: space-around; padding: 10px 12px 28px; background: #fff">
<a href="Map.dc.html" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #8A8A8A; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.3-4.3"/></svg>Explore</a>
<a href="Coming.dc.html" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #8A8A8A; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 10h18M8 3v4M16 3v4"/></svg>Calendar</a>
<a href="#" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #8A8A8A; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><path d="M4 5h16v11H8l-4 4z"/></svg>Inbox</a>
<a href="Profile.dc.html" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #111; font-weight: 600; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4 4-6 8-6s8 2 8 6"/></svg>Profile</a>
</nav>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
const base = 'height:92px;border-radius:46px;padding:0 10px 0 22px;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;background:';
return { stats: [
{ n: '98', label: 'Workouts', alt: '3D yoga figure', img: 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/9b73f48212.webp', style: base + '#D7F75B' },
{ n: '5/16', label: 'Categories', alt: '3D balls', img: 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/2d1931eaee.webp', style: base + '#E7B8F2' },
{ n: '5721', label: 'Burned calories', alt: '3D flame drops', img: 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/71120f177f.webp', style: base + '#F9A99A' },
{ n: '45', label: 'Visited places', alt: '3D map pin', img: 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/fecb76623e.webp', style: base + '#7FE0B8' },
{ n: '15', label: 'Achievements', alt: '3D target', img: 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/4544e1e5f0.webp', style: base + '#F2F25E' },
]};
}
}
</script>
</body>
</html>
```
### Explore map (Map)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kinship — Map</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: #DDF5A0; font-family: 'Space Grotesk', sans-serif; color: #111111; position: relative; overflow: hidden">
<svg width="390" height="844" viewBox="0 0 390 844" style="position: absolute; inset: 0" aria-hidden="true">
<rect x="0" y="0" width="390" height="140" fill="#F3F3F3"/>
<path d="M0 140 C 120 120, 260 180, 390 130" fill="none" stroke="#FFFFFF" stroke-width="10"/>
<g fill="none" stroke="#FFFFFF" stroke-width="4" opacity=".9">
<path d="M-10 260 C 90 230, 170 320, 400 280"/><path d="M40 860 C 80 600, 160 420, 260 140"/>
<path d="M-10 520 C 120 480, 260 560, 400 500"/><path d="M300 860 C 280 700, 340 560, 400 440"/>
<path d="M0 680 L 390 640"/><path d="M120 140 L 170 860"/><path d="M-10 380 L 400 420"/>
</g>
<g font-family="Space Grotesk, sans-serif" font-size="10" fill="#5B6B2A"><text x="210" y="250">Mylopotamou</text><text x="60" y="470">Kallipoleos</text><text x="250" y="610">Agia Paraskevi</text><text x="40" y="720">Agiou Andreou</text></g>
</svg>
<div style="position: absolute; top: 52px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center">
<button aria-label="Filters" style="width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; display: flex; align-items: center; justify-content: center"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M4 7h10M18 7h2M4 17h4M12 17h8"/><circle cx="16" cy="7" r="2"/><circle cx="10" cy="17" r="2"/></svg></button>
<a href="Workouts.dc.html" style="height: 40px; padding: 0 20px; border-radius: 999px; background: #fff; display: flex; align-items: center; font-size: 14px; font-weight: 500; text-decoration: none">List</a>
</div>
<div style="position: absolute; left: 70px; top: 230px; width: 190px; background: #111; color: #fff; border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px">
<div style="display: flex; gap: 8px; align-items: center"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" aria-hidden="true"><circle cx="12" cy="5" r="2"/><path d="M12 7v6M8 21l4-8 4 8M6 10h12"/></svg><div><div style="font-size: 13px; font-weight: 600">Tennis 1-1</div><div style="font-size: 11px; color: #CFCFCF">Tomorrow at 7:30 a.m.</div></div></div>
<div style="display: flex; justify-content: space-between; align-items: center">
<span style="display: flex"><img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/54380e3982.webp" alt="" style="width: 22px; height: 22px; border-radius: 50%; border: 2px solid #111; object-fit: cover; box-sizing: border-box; margin-right: -6px"><img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/25e94e7adc.webp" alt="" style="width: 22px; height: 22px; border-radius: 50%; border: 2px solid #111; object-fit: cover; box-sizing: border-box"></span>
<a href="Event.dc.html" style="height: 26px; padding: 0 12px; border-radius: 999px; background: #D7F75B; color: #111; font-size: 12px; font-weight: 600; display: flex; align-items: center; text-decoration: none">+ Join</a>
</div>
</div>
<div style="position: absolute; left: 186px; top: 420px; width: 18px; height: 18px; border-radius: 50%; background: #111; border: 4px solid #fff; box-shadow: 0 0 0 10px rgba(17,17,17,.12)"></div>
<div style="position: absolute; left: 130px; top: 560px; width: 190px; background: #111; color: #fff; border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px">
<div style="display: flex; gap: 8px; align-items: center"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" aria-hidden="true"><circle cx="12" cy="5" r="2"/><path d="M12 7v6M8 21l4-8 4 8M6 10h12"/></svg><div><div style="font-size: 13px; font-weight: 600">Tennis 2-2</div><div style="font-size: 11px; color: #CFCFCF">Today at 7:30 a.m.</div></div></div>
<div style="display: flex; justify-content: space-between; align-items: center">
<span style="display: flex"><img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/9159352b2f.webp" alt="" style="width: 22px; height: 22px; border-radius: 50%; border: 2px solid #111; object-fit: cover; box-sizing: border-box; margin-right: -6px"><img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/5e166621af.webp" alt="" style="width: 22px; height: 22px; border-radius: 50%; border: 2px solid #111; object-fit: cover; box-sizing: border-box; margin-right: -6px"><img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/4de4ad038f.webp" alt="" style="width: 22px; height: 22px; border-radius: 50%; border: 2px solid #111; object-fit: cover; box-sizing: border-box"></span>
<a href="Event.dc.html" style="height: 26px; padding: 0 12px; border-radius: 999px; background: #D7F75B; color: #111; font-size: 12px; font-weight: 600; display: flex; align-items: center; text-decoration: none">+ Join</a>
</div>
</div>
<nav aria-label="Main" style="position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 10px 12px 28px; background: #fff">
<a href="Map.dc.html" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #111; font-weight: 600; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.3-4.3"/></svg>Explore</a>
<a href="Coming.dc.html" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #8A8A8A; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 10h18M8 3v4M16 3v4"/></svg>Calendar</a>
<a href="#" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #8A8A8A; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><path d="M4 5h16v11H8l-4 4z"/></svg>Inbox</a>
<a href="Profile.dc.html" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #8A8A8A; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4 4-6 8-6s8 2 8 6"/></svg>Profile</a>
</nav>
</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>
```
### Event overview (Event)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kinship — Event Overview</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: #FFFFFF; font-family: 'Space Grotesk', sans-serif; color: #111111; display: flex; flex-direction: column; overflow: hidden">
<header style="display: flex; align-items: center; padding: 48px 16px 4px; position: relative">
<a href="Workouts.dc.html" aria-label="Back" style="width: 44px; height: 44px; display: flex; align-items: center"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 18l-6-6 6-6"/></svg></a>
<h1 style="margin: 0; position: absolute; left: 0; right: 0; text-align: center; font-size: 20px; font-weight: 700; pointer-events: none">Event Overview</h1>
</header>
<div style="flex: 1; overflow: hidden; padding: 4px 16px 0; display: flex; flex-direction: column; gap: 8px">
<h2 style="margin: 4px 4px 4px; font-size: 22px; font-weight: 700">Tennis · 1-1</h2>
<section style="background: #F1F1F1; border-radius: 22px; padding: 14px 18px; display: flex; flex-direction: column; gap: 6px">
<h3 style="margin: 0; font-size: 15px; font-weight: 700">What to expect</h3>
<div style="display: flex; gap: 8px; align-items: center; font-size: 13px"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>Duration: 1 hour 30 minutes</div>
<div style="display: flex; gap: 8px; align-items: center; font-size: 13px"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" aria-hidden="true"><path d="M5 12h14M12 5v14"/></svg>No break</div>
<div style="display: flex; gap: 8px; align-items: center; font-size: 13px"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" aria-hidden="true"><path d="M4 20V14M10 20V9M16 20V4"/></svg>Difficulty: Beginner</div>
<h3 style="margin: 6px 0 0; font-size: 15px; font-weight: 700">Necessary equipment</h3>
<div style="font-size: 13px; color: #333">Tennis Racket</div>
<div style="font-size: 13px; color: #333">Bottle of water</div>
</section>
<section style="background: #F2F25E; border-radius: 22px; padding: 14px 18px; display: flex; flex-direction: column; gap: 8px">
<h3 style="margin: 0; font-size: 15px; font-weight: 700">Price</h3>
<div style="font-size: 14px; display: flex; gap: 8px">$ <span>10€</span></div>
<label style="display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 500; cursor: pointer">Split the cost
<button onClick="{{toggleSplit}}" role="switch" aria-checked="{{splitAria}}" aria-label="Split the cost" style="{{switchStyle}}"><span style="{{knobStyle}}"></span></button>
</label>
</section>
<section style="background: #F1F1F1; border-radius: 22px; padding: 14px 18px; display: flex; flex-direction: column; gap: 6px">
<h3 style="margin: 0; font-size: 15px; font-weight: 700">Adress</h3>
<div style="display: flex; gap: 8px; align-items: center; font-size: 13px"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" aria-hidden="true"><path d="M12 21s-7-6.5-7-12a7 7 0 0114 0c0 5.5-7 12-7 12z"/><circle cx="12" cy="9" r="2.5"/></svg>Egkomi park of poets</div>
<h3 style="margin: 6px 0 0; font-size: 15px; font-weight: 700">Date and Time</h3>
<div style="display: flex; gap: 8px; align-items: center; font-size: 13px"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" aria-hidden="true"><rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 10h18"/></svg>28 may 07:30</div>
<h3 style="margin: 6px 0 0; font-size: 15px; font-weight: 700">Owner</h3>
<div style="display: flex; gap: 10px; align-items: center; font-size: 13px"><img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/9159352b2f.webp" alt="" style="width: 28px; height: 28px; border-radius: 50%; object-fit: cover">Melissa Deromidou</div>
<h3 style="margin: 6px 0 0; font-size: 15px; font-weight: 700">Participants</h3>
<div style="display: flex; justify-content: space-between; align-items: center">
<span style="display: flex">
<img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/54380e3982.webp" alt="" style="width: 30px; height: 30px; border-radius: 50%; border: 2px solid #F1F1F1; margin-right: -9px; object-fit: cover; box-sizing: border-box">
<img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/25e94e7adc.webp" alt="" style="width: 30px; height: 30px; border-radius: 50%; border: 2px solid #F1F1F1; margin-right: -9px; object-fit: cover; box-sizing: border-box">
<img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/5e166621af.webp" alt="" style="width: 30px; height: 30px; border-radius: 50%; border: 2px solid #F1F1F1; margin-right: -9px; object-fit: cover; box-sizing: border-box">
<span style="width: 30px; height: 30px; border-radius: 50%; border: 2px solid #F1F1F1; background: #111; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center">+9</span>
</span>
<button style="height: 36px; padding: 0 22px; border-radius: 999px; border: 1.5px solid #111; background: #fff; font-family: inherit; font-size: 14px; font-weight: 500">Invite</button>
</div>
</section>
</div>
<div style="padding: 10px 16px 30px">
<a href="Joined.dc.html" style="display: flex; height: 52px; border-radius: 999px; background: #D7F75B; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; text-decoration: none; color: #111">Join</a>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
constructor(p) { super(p); this.state = { split: true }; }
renderVals() {
const on = this.state.split;
return {
splitAria: on ? 'true' : 'false',
toggleSplit: (e) => { if (e && e.preventDefault) e.preventDefault(); this.setState({ split: !on }); },
switchStyle: `width:46px;height:26px;border-radius:13px;border:0;padding:3px;cursor:pointer;display:flex;background:${on ? '#111' : '#BDBDBD'};justify-content:${on ? 'flex-end' : 'flex-start'}`,
knobStyle: 'width:20px;height:20px;border-radius:50%;background:#fff;display:block',
};
}
}
</script>
</body>
</html>
```
### Coming events (Coming)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kinship — Coming events</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: #FFFFFF; font-family: 'Space Grotesk', sans-serif; color: #111111; display: flex; flex-direction: column; overflow: hidden">
<header style="display: flex; align-items: center; padding: 48px 16px 12px; position: relative">
<a href="Workouts.dc.html" aria-label="Back" style="width: 44px; height: 44px; display: flex; align-items: center"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 18l-6-6 6-6"/></svg></a>
<h1 style="margin: 0; position: absolute; left: 0; right: 0; text-align: center; font-size: 20px; font-weight: 700; pointer-events: none">Coming events</h1>
</header>
<div style="flex: 1; overflow: hidden; padding: 0 16px; display: flex; flex-direction: column">
<sc-for list="{{events}}" as="e" hint-placeholder-count="4">
<article style="{{e.style}}">
<svg width="200" height="160" viewBox="0 0 200 160" style="position: absolute; right: -20px; top: -10px; opacity: .25" aria-hidden="true"><path d="M10 150 C 60 40, 120 160, 190 20" fill="none" stroke="#fff" stroke-width="10"/></svg>
<div style="display: flex; align-items: baseline; gap: 8px; position: relative"><h2 style="margin: 0; font-size: 18px; font-weight: 700">{{e.title}}</h2><span style="font-size: 12px">· {{e.dist}}</span></div>
<div style="font-size: 14px; font-weight: 600; margin-top: 10px; position: relative">{{e.place}}</div>
<div style="font-size: 13px; position: relative">{{e.time}}</div>
<div style="display: flex; justify-content: space-between; align-items: center; margin-top: 14px; position: relative">
<span style="display: flex">
<img src="{{e.a0}}" alt="" style="width: 30px; height: 30px; border-radius: 50%; border: 2px solid {{e.ring}}; margin-right: -9px; object-fit: cover; box-sizing: border-box">
<img src="{{e.a1}}" alt="" style="width: 30px; height: 30px; border-radius: 50%; border: 2px solid {{e.ring}}; margin-right: -9px; object-fit: cover; box-sizing: border-box">
<img src="{{e.a2}}" alt="" style="width: 30px; height: 30px; border-radius: 50%; border: 2px solid {{e.ring}}; margin-right: -9px; object-fit: cover; box-sizing: border-box">
<span style="width: 30px; height: 30px; border-radius: 50%; border: 2px solid {{e.ring}}; background: #D9C8F5; font-size: 10px; font-weight: 700; color: #111; display: flex; align-items: center; justify-content: center">{{e.more}}</span>
</span>
<button style="{{e.btn}}">Cancel</button>
</div>
</article>
</sc-for>
</div>
<nav aria-label="Main" style="display: flex; justify-content: space-around; padding: 10px 12px 28px; background: #fff; position: relative; z-index: 5">
<a href="Map.dc.html" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #8A8A8A; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.3-4.3"/></svg>Explore</a>
<a href="Coming.dc.html" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #111; font-weight: 600; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 10h18M8 3v4M16 3v4"/></svg>Calendar</a>
<a href="#" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #8A8A8A; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><path d="M4 5h16v11H8l-4 4z"/></svg>Inbox</a>
<a href="Profile.dc.html" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #8A8A8A; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4 4-6 8-6s8 2 8 6"/></svg>Profile</a>
</nav>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
const A = ['https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/54380e3982.webp', 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/25e94e7adc.webp', 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/9159352b2f.webp', 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/5e166621af.webp', 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/4de4ad038f.webp', 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/b18670a3ca.webp'];
const mk = (title, dist, place, time, bg, fg, more, z) => ({
title, dist, place, time, more, ring: bg, a0: A[z % 6], a1: A[(z + 1) % 6], a2: A[(z + 2) % 6],
style: `position:relative;z-index:${z};background:${bg};color:${fg};border-radius:28px;padding:20px 20px 18px;margin-bottom:-24px;overflow:hidden;box-shadow:0 -2px 0 rgba(255,255,255,.6)`,
btn: `height:34px;padding:0 18px;border-radius:999px;border:1.5px solid ${fg};background:transparent;color:${fg};font-family:inherit;font-size:13px;font-weight:500`,
});
return { events: [
mk('Adidas Run Club', '4km', 'Elefteria Square', '22 may 17:30', '#1C5FB8', '#FFFFFF', '+29', 1),
mk('Tennis', '800m', 'Alsos forest, Court 3', '26 may 19:00', '#D7F75B', '#111111', '+2', 2),
mk('Yoga', '800m', 'Egkomi park of poets', '28 may 07:30', '#E7B8F2', '#111111', '+5', 3),
mk('SUP', '12km', 'Orokliní, Small beach', '30 may 14:00', '#BFE3F2', '#111111', '+3', 4),
]};
}
}
</script>
</body>
</html>
```
### Workout history (Workouts)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kinship — Workouts</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: #FFFFFF; font-family: 'Space Grotesk', sans-serif; color: #111111; display: flex; flex-direction: column; overflow: hidden; position: relative">
<header style="display: flex; align-items: center; padding: 56px 20px 16px; position: relative">
<button aria-label="Back" style="width: 44px; height: 44px; border: 0; background: none; padding: 0; display: flex; align-items: center"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 18l-6-6 6-6"/></svg></button>
<h1 style="margin: 0; position: absolute; left: 0; right: 0; text-align: center; font-size: 20px; font-weight: 700; pointer-events: none">Workouts</h1>
</header>
<div style="flex: 1; overflow: hidden; padding: 0 20px 0 24px; position: relative">
<div style="position: absolute; left: 41px; top: 0; bottom: 0; width: 2px; background: #D7F75B"></div>
<sc-for list="{{groups}}" as="g" hint-placeholder-count="3">
<div style="position: relative; display: flex; flex-direction: column; gap: 0; margin-bottom: 8px">
<div style="align-self: flex-start; background: #D7F75B; border-radius: 999px; padding: 4px 14px; font-size: 12px; font-weight: 600; margin: 8px 0 12px; position: relative">{{g.date}}</div>
<sc-for list="{{g.items}}" as="w" hint-placeholder-count="2">
<a href="Event.dc.html" style="display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: #111; padding: 6px 0 14px; position: relative">
<span style="width: 36px; height: 36px; border-radius: 50%; background: #111; flex: none; display: flex; align-items: center; justify-content: center"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="12" cy="5" r="2"/><path d="M12 7v6M8 21l4-8 4 8M6 10h12"/></svg></span>
<span style="flex: 1; display: flex; flex-direction: column; gap: 3px; border-bottom: 1px solid #111; padding-bottom: 12px">
<span style="display: flex; justify-content: space-between; align-items: center"><span style="font-size: 16px; font-weight: 700">{{w.title}}</span><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M9 18l6-6-6-6"/></svg></span>
<span style="font-size: 13px; color: #3A3A3A">{{w.place}}</span>
<span style="font-size: 13px; color: #3A3A3A">{{w.time}}</span>
<span style="display: flex; margin-top: 6px">
<sc-for list="{{w.people}}" as="p" hint-placeholder-count="3"><img src="{{p.img}}" alt="" style="width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-right: -8px; object-fit: cover; display: block"></sc-for>
</span>
</span>
</a>
</sc-for>
</div>
</sc-for>
</div>
<nav aria-label="Main" style="display: flex; justify-content: space-around; padding: 10px 12px 28px; background: #fff; border-top: 1px solid #EEE">
<a href="Map.dc.html" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #8A8A8A; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.3-4.3"/></svg>Explore</a>
<a href="Coming.dc.html" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #8A8A8A; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 10h18M8 3v4M16 3v4"/></svg>Calendar</a>
<a href="#" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #8A8A8A; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><path d="M4 5h16v11H8l-4 4z"/></svg>Inbox</a>
<a href="Profile.dc.html" style="display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #111; font-weight: 600; text-decoration: none; min-width: 56px"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4 4-6 8-6s8 2 8 6"/></svg>Profile</a>
</nav>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() {
const A = ['https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/54380e3982.webp', 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/25e94e7adc.webp', 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/9159352b2f.webp', 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/5e166621af.webp', 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/4de4ad038f.webp', 'https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/b18670a3ca.webp'];
let n = 0;
const ppl = (s) => s.split(',').map((i, k) => ({ i, img: A[(n++) % A.length] }));
return { groups: [
{ date: '02 may', items: [
{ title: 'Tennis 2-2', place: 'Alsos forest, Court 3', time: '02 may 19:00', people: ppl('AK,ML,DS,EP') },
{ title: 'Yoga', place: 'Egkomi park of poets', time: '02 may 8:30', people: ppl('NA,RT,IO,VK,SP') },
]},
{ date: '28 april', items: [
{ title: 'SUP', place: 'Orokliní, Small beach', time: '28 april 14:00', people: ppl('GT,LM,KO,AB') },
]},
{ date: '24 april', items: [
{ title: 'Tennis 1-1', place: 'Alsos forest, Court 3', time: '24 april 19:00', people: ppl('MD,VV') },
]},
{ date: '18 april', items: [
{ title: 'Hiking', place: 'Madari Circular Route, Parking', time: '18 april 12:00', people: ppl('PL,EK,TN,SA,OM,RJ') },
]},
]};
}
}
</script>
</body>
</html>
```
### Pick your sports (Sports)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kinship — Pick your sports</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: #FFFFFF; font-family: 'Space Grotesk', sans-serif; color: #111111; position: relative; overflow: hidden">
<a href="Follow.dc.html" style="position: absolute; top: 52px; right: 20px; font-size: 15px; font-weight: 500; text-decoration: none; padding: 10px 4px">Next</a>
<div style="padding: 104px 24px 0; display: flex; flex-direction: column; gap: 10px">
<h1 style="margin: 0; font-size: 26px; font-weight: 700; line-height: 1.15">Let's play tennis together</h1>
<p style="margin: 0; font-size: 14px; color: #3A3A3A; line-height: 1.4">choose the sports and activities that interest you and suit your health</p>
</div>
<svg width="390" height="600" viewBox="0 0 390 600" style="position: absolute; left: 0; top: 230px" aria-hidden="true">
<g stroke="#D7F75B" stroke-width="2">
<line x1="42" y1="70" x2="190" y2="240"/><line x1="190" y1="240" x2="300" y2="70"/><line x1="190" y1="240" x2="380" y2="140"/>
<line x1="190" y1="240" x2="80" y2="290"/><line x1="190" y1="240" x2="285" y2="320"/><line x1="285" y1="320" x2="190" y2="440"/>
<line x1="80" y1="290" x2="10" y2="200"/><line x1="285" y1="320" x2="375" y2="480"/><line x1="190" y1="440" x2="20" y2="490"/>
</g>
</svg>
<sc-for list="{{bubbles}}" as="b" hint-placeholder-count="10">
<button onClick="{{b.toggle}}" aria-pressed="{{b.on}}" style="{{b.style}}">{{b.label}}</button>
</sc-for>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
constructor(p) { super(p); this.state = { picked: { Sup: true, Tennis: true, Yoga: true, Bicycle: true } }; }
renderVals() {
const list = [
['Sup', 42, 70, 64], ['Chess', 300, 70, 62], ['Rugby', 10, 200, 70], ['Tennis', 190, 240, 100],
['Snowboard', 380, 140, 84], ['Yoga', 80, 290, 58], ['Bicycle', 285, 320, 78], ['Volleyball', 190, 440, 120],
['Football', 20, 490, 90], ['Box', 375, 480, 70],
];
const picked = this.state.picked;
return { bubbles: list.map(([label, cx, cy, d]) => {
const on = !!picked[label];
const style = `position:absolute;left:${cx - d / 2}px;top:${230 + cy - d / 2}px;width:${d}px;height:${d}px;border-radius:50%;` +
`background:${on ? '#D7F75B' : '#FFFFFF'};border:${on ? '0' : '1.5px solid #E3E3E3'};font-family:'Space Grotesk',sans-serif;` +
`font-size:${d > 90 ? 15 : 13}px;font-weight:500;color:#111;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;`;
return { label, on: on ? 'true' : 'false', style, toggle: () => this.setState({ picked: { ...picked, [label]: !on } }) };
}) };
}
}
</script>
</body>
</html>
```
### Who to follow (Follow)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kinship — Who to follow</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: #FFFFFF; font-family: 'Space Grotesk', sans-serif; color: #111111; display: flex; flex-direction: column; overflow: hidden; position: relative">
<a href="Teammates.dc.html" style="position: absolute; top: 52px; right: 20px; font-size: 15px; font-weight: 500; text-decoration: none; padding: 10px 4px">Skip</a>
<h1 style="margin: 104px 24px 28px; font-size: 26px; font-weight: 700; line-height: 1.15">Who do you want<br>to follow?</h1>
<div style="position: relative; height: 230px">
<img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/c2804c0a75.webp" alt="Another athlete" style="position: absolute; left: -60px; top: 25px; width: 140px; height: 180px; border-radius: 70px; object-fit: cover; filter: grayscale(1)">
<img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/e2ace98ac7.webp" alt="Another athlete" style="position: absolute; right: -60px; top: 25px; width: 140px; height: 180px; border-radius: 70px; object-fit: cover; filter: grayscale(1)">
<img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/9705708c83.webp" alt="Victor Vefinder" style="position: absolute; left: 105px; top: 0; width: 180px; height: 230px; border-radius: 90px; border: 4px solid #D7F75B; box-sizing: border-box; object-fit: cover; filter: grayscale(1)">
</div>
<div style="padding: 24px 24px 0; display: flex; flex-direction: column; gap: 16px; flex: 1">
<div style="display: flex; justify-content: space-between; align-items: center">
<div><h2 style="margin: 0; font-size: 18px; font-weight: 700">Victor Vefinder</h2><div style="font-size: 13px; color: #555">@VeVic</div></div>
<button onClick="{{toggle}}" aria-pressed="{{pressed}}" style="{{btnStyle}}">{{btnLabel}}</button>
</div>
<div style="display: flex; gap: 48px">
<div><div style="font-size: 20px; font-weight: 700">830</div><div style="font-size: 12px; color: #555">followers</div></div>
<div><div style="font-size: 20px; font-weight: 700">71</div><div style="font-size: 12px; color: #555">following</div></div>
</div>
<p style="margin: 0; font-size: 14px; line-height: 1.45; color: #222">Advanced level in tennis. Usually play tennis twice week at Eleon Courts. Love yoga, hiking and wine!</p>
<div style="display: flex; gap: 8px">
<span style="border: 1.5px solid #111; border-radius: 999px; padding: 6px 14px; font-size: 13px">Tennis</span>
<span style="border: 1.5px solid #111; border-radius: 999px; padding: 6px 14px; font-size: 13px">Yoga</span>
<span style="border: 1.5px solid #111; border-radius: 999px; padding: 6px 14px; font-size: 13px">Hiking</span>
</div>
</div>
<div style="padding: 10px 24px 34px">
<a href="Teammates.dc.html" style="display: flex; height: 52px; border-radius: 999px; background: #D7F75B; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; text-decoration: none; color: #111">Next</a>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
constructor(p) { super(p); this.state = { on: true }; }
renderVals() {
const on = this.state.on;
return {
pressed: on ? 'true' : 'false',
btnLabel: on ? 'Following' : 'Follow',
toggle: () => this.setState({ on: !on }),
btnStyle: `height:36px;padding:0 16px;border-radius:999px;font-family:inherit;font-size:13px;font-weight:500;cursor:pointer;border:${on ? '0' : '1.5px solid #111'};background:${on ? '#EDEDED' : '#D7F75B'};color:#111`,
};
}
}
</script>
</body>
</html>
```
### Find teammates (Teammates)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kinship — Find teammates</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
.jr{-webkit-appearance:none;appearance:none;position:absolute;left:0;right:0;top:0;width:100%;height:44px;margin:0;background:transparent;pointer-events:none}
.jr::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:44px;height:44px;border-radius:50%;background:#D7F75B;cursor:pointer;border:0}
.jr::-moz-range-thumb{pointer-events:auto;width:44px;height:44px;border-radius:50%;background:#D7F75B;cursor:pointer;border:0}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: #FFFFFF; font-family: 'Space Grotesk', sans-serif; color: #111111; display: flex; flex-direction: column; overflow: hidden; position: relative">
<a href="Main.dc.html" style="position: absolute; top: 52px; right: 20px; font-size: 15px; font-weight: 500; text-decoration: none; padding: 10px 4px">Skip</a>
<h1 style="margin: 104px 24px 36px; font-size: 26px; font-weight: 700">Find teammates</h1>
<div style="padding: 0 24px; display: flex; flex-direction: column; gap: 40px; flex: 1">
<div style="display: flex; flex-direction: column; gap: 16px">
<div style="display: flex; justify-content: space-between; font-size: 16px; font-weight: 700"><label for="dist">Maximum distance</label><span>100 km</span></div>
<div style="position: relative; height: 44px">
<div style="position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: #111"></div>
<div style="{{distFill}}"></div>
<input id="dist" class="jr" type="range" min="1" max="100" value="{{dist}}" onChange="{{setDist}}" aria-label="Maximum distance in km">
<span style="{{distLabel}}">{{dist}}</span>
</div>
</div>
<div style="display: flex; flex-direction: column; gap: 16px">
<div style="display: flex; justify-content: space-between; font-size: 16px; font-weight: 700"><span id="agelbl">Age range players</span><span>4-99</span></div>
<div style="position: relative; height: 44px" role="group" aria-labelledby="agelbl">
<div style="position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: #111"></div>
<div style="{{ageFill}}"></div>
<input class="jr" type="range" min="4" max="99" value="{{ageMin}}" onChange="{{setMin}}" aria-label="Minimum age">
<input class="jr" type="range" min="4" max="99" value="{{ageMax}}" onChange="{{setMax}}" aria-label="Maximum age">
<span style="{{minLabel}}">{{ageMin}}</span>
<span style="{{maxLabel}}">{{ageMax}}</span>
</div>
</div>
</div>
<div style="padding: 10px 24px 34px">
<a href="Map.dc.html" style="display: flex; height: 52px; border-radius: 999px; background: #D7F75B; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; text-decoration: none; color: #111">Next</a>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
constructor(p) { super(p); this.state = { dist: 10, ageMin: 22, ageMax: 45 }; }
renderVals() {
const W = 342, K = 44;
const pos = (v, lo, hi) => (v - lo) / (hi - lo) * (W - K) + K / 2;
const { dist, ageMin, ageMax } = this.state;
const lbl = (x) => `position:absolute;top:0;left:${x - 22}px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;pointer-events:none`;
const fill = (a, b) => `position:absolute;top:20px;height:4px;background:#D7F75B;left:${a}px;width:${Math.max(0, b - a)}px`;
const d = pos(dist, 1, 100), a = pos(ageMin, 4, 99), b = pos(ageMax, 4, 99);
return {
dist, ageMin, ageMax,
distFill: fill(0, d), ageFill: fill(a, b),
distLabel: lbl(d), minLabel: lbl(a), maxLabel: lbl(b),
setDist: (e) => this.setState({ dist: +e.target.value }),
setMin: (e) => this.setState({ ageMin: Math.min(+e.target.value, ageMax - 1) }),
setMax: (e) => this.setState({ ageMax: Math.max(+e.target.value, ageMin + 1) }),
};
}
}
</script>
</body>
</html>
```
### Successfully joined (Joined)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kinship — Successfully joined</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link href="https://fonts.googleapis.com/css2?family=Bagel+Fat+One&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: #FFFFFF; font-family: 'Space Grotesk', sans-serif; color: #111111; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center">
<svg width="420" height="420" viewBox="0 0 420 420" style="position: absolute; left: -15px; top: 170px" aria-hidden="true">
<defs><path id="ring" d="M210,210 m-190,0 a190,190 0 1,1 380,0 a190,190 0 1,1 -380,0"/></defs>
<text font-family="Bagel Fat One, sans-serif" font-size="30" fill="#111" letter-spacing="2"><textPath href="#ring">CLASS TO THE TENNIS · CLASS TO THE TENNIS · CLASS TO THE TENNIS ·</textPath></text>
</svg>
<img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/6f8979a31f.webp" alt="Ring of colourful intertwined arms holding hands" style="position: absolute; left: 25px; top: 210px; width: 340px; height: 340px; object-fit: contain">
<h1 style="position: absolute; left: 125px; right: 125px; top: 348px; margin: 0; text-align: center; font-size: 18px; font-weight: 700; line-height: 1.2">You have successfully joined</h1>
<div style="position: absolute; left: 24px; right: 24px; bottom: 40px">
<a href="Coming.dc.html" style="display: flex; height: 52px; border-radius: 999px; background: #111; color: #fff; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: 600; text-decoration: none"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" aria-hidden="true"><rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 10h18M8 3v4M16 3v4"/></svg>Add to iCalendar</a>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() { return {}; }
}
</script>
</body>
</html>
```
### Welcome (Welcome)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kinship — Join our community</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link href="https://fonts.googleapis.com/css2?family=Bagel+Fat+One&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: #FFFFFF; font-family: 'Space Grotesk', sans-serif; color: #111111; display: flex; flex-direction: column; align-items: center; position: relative; overflow: hidden">
<a href="Sports.dc.html" style="position: absolute; top: 52px; right: 20px; font-size: 15px; font-weight: 500; text-decoration: none; padding: 10px 4px">Skip</a>
<h1 style="margin: 120px 0 8px; font-family: 'Bagel Fat One', sans-serif; font-weight: 400; font-size: 52px; letter-spacing: 1px; line-height: 1">KINSHIP</h1>
<p style="margin: 0; font-size: 15px; color: #3A3A3A">Join our community</p>
<img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/8d8a1d7a46.webp" alt="Sphere of colourful intertwined arms holding hands" style="margin-top: 48px; width: 300px; height: 300px; object-fit: contain; display: block">
<div style="position: absolute; left: 24px; right: 24px; bottom: 34px; display: flex; flex-direction: column; gap: 10px">
<a href="Sports.dc.html" style="display: flex; height: 52px; border-radius: 999px; background: #D7F75B; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; text-decoration: none; color: #111">Sign up</a>
<a href="Profile.dc.html" style="display: flex; height: 52px; border-radius: 999px; border: 1.5px solid #111; box-sizing: border-box; align-items: center; justify-content: center; font-size: 16px; font-weight: 500; text-decoration: none; color: #111">Log in</a>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() { return {}; }
}
</script>
</body>
</html>
```
### Splash (Main)
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kinship — Splash</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=Bagel+Fat+One&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#111}a:hover{color:#000}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; background: #FFFFFF; font-family: 'Space Grotesk', sans-serif; color: #111111; display: flex; flex-direction: column; align-items: center; padding: 120px 24px 48px; gap: 56px; overflow: hidden">
<h1 style="margin: 0; font-family: 'Bagel Fat One', sans-serif; font-weight: 400; font-size: 52px; letter-spacing: 1px; line-height: 1">KINSHIP</h1>
<img src="https://developermill.com/app-designs/sports-meetup-app-ui-design/assets/8d8a1d7a46.webp" alt="Sphere of colourful intertwined arms holding hands" style="width: 340px; height: 340px; object-fit: contain; display: block">
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
renderVals() { return {}; }
}
</script>
</body>
</html>
```SKILL.md
Save as .claude/skills/sports-meetup-app-ui/SKILL.md
--- name: sports-meetup-app-ui description: Build the Kinship Sports Meetup mobile app UI in Expo React Native. Use when asked to create a sports meetup app UI or a new screen in this visual style. --- # Kinship Sports Meetup app UI Build this sports app UI in an Expo Router project with TypeScript. Reference: https://developermill.com/app-designs/sports-meetup-app-ui-design ## Visual direction Clean white pages with an electric lime accent, black type in Space Grotesk, pill buttons and pastel stat cards with 3D objects. Keep these signature details: - Bubble picker for choosing sports - Map view with joinable game cards - Event details with a split-the-cost switch - Stacked upcoming event cards and a stats profile ## Set up ```bash npx expo install expo-image react-native-svg @expo-google-fonts/bagel-fat-one @expo-google-fonts/space-grotesk expo-font ``` ## Tokens | Name | Hex | | --- | --- | | Lime | `#D7F75B` | | Ink | `#111111` | | Lilac | `#E7B8F2` | | Coral | `#F9A99A` | | Mint | `#7FE0B8` | | Royal blue | `#1C5FB8` | - Typefaces: Space Grotesk, Bagel Fat One - Text sizes (px): 11, 12, 13, 14, 15, 16, 18, 20 - Corner radii (px): 13, 16, 22, 28, 46, 70 Define these once and reuse them. Do not add new colours. ## Screens 1. **Profile and stats.** A greeting with avatar, follower counts and five pastel stat pills with 3D icons for workouts, calories and places. 2. **Explore map.** A lime street map with filter and list buttons, your location and two dark game cards with a join button. 3. **Event overview.** What to expect, needed equipment, a price card with a split-the-cost switch, the address, owner and participants. 4. **Coming events.** Overlapping coloured cards for a run club, tennis, yoga and paddleboarding, each with attendees and a cancel button. 5. **Workout history.** A lime timeline grouped by date with each workout, its place, time and the people who joined. 6. **Pick your sports.** Ten sport bubbles joined by lime lines. Tap a bubble to add or remove that sport. 7. **Who to follow.** Three player portraits, a follow toggle, follower counts, a short bio and sport tags. 8. **Find teammates.** A maximum distance slider and an age range slider with lime knobs, then a Next button. 9. **Successfully joined.** A ring of hands with circular text around it and an Add to calendar button. 10. **Welcome.** The wordmark, a sphere of linked arms and Sign up and Log in buttons. 11. **Splash.** The bold wordmark above a sphere of colourful arms holding hands. ## 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 sports-meetup-app --template default cd sports-meetup-app rm -rf src npx expo install expo-image react-native-svg @expo-google-fonts/bagel-fat-one @expo-google-fonts/space-grotesk expo-font
src/app/_layout.tsx
import { BagelFatOne_400Regular } from '@expo-google-fonts/bagel-fat-one';
import {
SpaceGrotesk_400Regular,
SpaceGrotesk_500Medium,
SpaceGrotesk_600SemiBold,
SpaceGrotesk_700Bold,
} from '@expo-google-fonts/space-grotesk';
import { useFonts } from 'expo-font';
import { Stack } from 'expo-router';
export default function RootLayout() {
const [fontsLoaded] = useFonts({
BagelFatOne_400Regular,
SpaceGrotesk_400Regular,
SpaceGrotesk_500Medium,
SpaceGrotesk_600SemiBold,
SpaceGrotesk_700Bold,
});
if (!fontsLoaded) return null;
return <Stack screenOptions={{ headerShown: false }} />;
}src/app/index.tsx
import { Image } from 'expo-image';
import { Text, View } from 'react-native';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
export default function MainScreen() {
return (
<Screen background="#FFFFFF" statusBar="dark">
<View
style={{
alignItems: 'center',
paddingTop: 120,
paddingBottom: 48,
paddingHorizontal: 24,
gap: 56,
flex: 1,
}}>
<Text
style={{
margin: 0,
fontFamily: 'BagelFatOne_400Regular',
fontSize: 52,
color: '#111111',
letterSpacing: 1,
lineHeight: 52,
}}>
KINSHIP
</Text>
<Image
source={{ uri: asset('8d8a1d7a46.webp') }}
contentFit="contain"
accessibilityLabel="Sphere of colourful intertwined arms holding hands"
style={{ width: 340, height: 340 }}
/>
</View>
</Screen>
);
}src/app/coming.tsx
import { Image } from 'expo-image';
import { router } from 'expo-router';
import { Pressable, Text, View } from 'react-native';
import Svg, { Circle, Path, Rect } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
import { css, cssText } from '@/lib/css';
const events = [
{
title: 'Adidas Run Club',
dist: '4km',
place: 'Elefteria Square',
time: '22 may 17:30',
more: '+29',
ring: '#1C5FB8',
a0: '25e94e7adc.webp',
a1: '9159352b2f.webp',
a2: '5e166621af.webp',
style:
'position:relative;z-index:1;background:#1C5FB8;color:#FFFFFF;border-radius:28px;padding:20px 20px 18px;margin-bottom:-24px;overflow:hidden;box-shadow:0 -2px 0 rgba(255,255,255,.6)',
btn: 'height:34px;padding:0 18px;border-radius:999px;border:1.5px solid #FFFFFF;background:transparent;color:#FFFFFF;font-family:inherit;font-size:13px;font-weight:500',
},
{
title: 'Tennis',
dist: '800m',
place: 'Alsos forest, Court 3',
time: '26 may 19:00',
more: '+2',
ring: '#D7F75B',
a0: '9159352b2f.webp',
a1: '5e166621af.webp',
a2: '4de4ad038f.webp',
style:
'position:relative;z-index:2;background:#D7F75B;color:#111111;border-radius:28px;padding:20px 20px 18px;margin-bottom:-24px;overflow:hidden;box-shadow:0 -2px 0 rgba(255,255,255,.6)',
btn: 'height:34px;padding:0 18px;border-radius:999px;border:1.5px solid #111111;background:transparent;color:#111111;font-family:inherit;font-size:13px;font-weight:500',
},
{
title: 'Yoga',
dist: '800m',
place: 'Egkomi park of poets',
time: '28 may 07:30',
more: '+5',
ring: '#E7B8F2',
a0: '5e166621af.webp',
a1: '4de4ad038f.webp',
a2: 'b18670a3ca.webp',
style:
'position:relative;z-index:3;background:#E7B8F2;color:#111111;border-radius:28px;padding:20px 20px 18px;margin-bottom:-24px;overflow:hidden;box-shadow:0 -2px 0 rgba(255,255,255,.6)',
btn: 'height:34px;padding:0 18px;border-radius:999px;border:1.5px solid #111111;background:transparent;color:#111111;font-family:inherit;font-size:13px;font-weight:500',
},
{
title: 'SUP',
dist: '12km',
place: 'Orokliní, Small beach',
time: '30 may 14:00',
more: '+3',
ring: '#BFE3F2',
a0: '4de4ad038f.webp',
a1: 'b18670a3ca.webp',
a2: '54380e3982.webp',
style:
'position:relative;z-index:4;background:#BFE3F2;color:#111111;border-radius:28px;padding:20px 20px 18px;margin-bottom:-24px;overflow:hidden;box-shadow:0 -2px 0 rgba(255,255,255,.6)',
btn: 'height:34px;padding:0 18px;border-radius:999px;border:1.5px solid #111111;background:transparent;color:#111111;font-family:inherit;font-size:13px;font-weight:500',
},
];
export default function ComingScreen() {
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ flex: 1 }}>
<View
style={{
alignItems: 'center',
paddingTop: 48,
paddingBottom: 12,
paddingHorizontal: 16,
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="link"
accessibilityLabel="Back"
onPress={() => router.navigate('/workouts')}
style={{ width: 44, height: 44, alignItems: 'center', flexDirection: 'row' }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M15 18l-6-6 6-6" />
</Svg>
</Pressable>
<Text
style={{
margin: 0,
position: 'absolute',
left: 0,
right: 0,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 20,
color: '#111111',
textAlign: 'center',
flexShrink: 1,
}}>
Coming events
</Text>
</View>
<View style={{ flex: 1, overflow: 'hidden', paddingVertical: 0, paddingHorizontal: 16 }}>
{events.map((e, index) => (
<View key={index} style={{ ...css(e.style) }}>
<Svg
width="200"
height="160"
viewBox="0 0 200 160"
style={{ position: 'absolute', right: -20, top: -10, opacity: 0.25 }}>
<Path
d="M10 150 C 60 40, 120 160, 190 20"
fill="none"
stroke="#fff"
strokeWidth="10"
/>
</Svg>
<View style={{ alignItems: 'baseline', gap: 8, flexDirection: 'row' }}>
<Text
style={{
margin: 0,
flexShrink: 1,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 18,
color: '#111111',
}}>
{e.title}
</Text>
<Text
style={{
flexShrink: 1,
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 12,
color: '#111111',
}}>
{'· '}
{e.dist}
</Text>
</View>
<Text
style={{
marginTop: 10,
fontFamily: 'SpaceGrotesk_600SemiBold',
fontSize: 14,
color: '#111111',
}}>
{e.place}
</Text>
<Text
style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 13, color: '#111111' }}>
{e.time}
</Text>
<View
style={{
justifyContent: 'space-between',
alignItems: 'center',
marginTop: 14,
flexDirection: 'row',
}}>
<View style={{ flexShrink: 1, flexDirection: 'row' }}>
<Image
source={{ uri: asset(e.a0) }}
contentFit="cover"
style={{
width: 30,
height: 30,
borderRadius: '50%',
borderWidth: 2,
borderColor: e.ring,
marginRight: -9,
}}
/>
<Image
source={{ uri: asset(e.a1) }}
contentFit="cover"
style={{
width: 30,
height: 30,
borderRadius: '50%',
borderWidth: 2,
borderColor: e.ring,
marginRight: -9,
}}
/>
<Image
source={{ uri: asset(e.a2) }}
contentFit="cover"
style={{
width: 30,
height: 30,
borderRadius: '50%',
borderWidth: 2,
borderColor: e.ring,
marginRight: -9,
}}
/>
<View
style={{
width: 34,
height: 34,
borderRadius: '50%',
borderWidth: 2,
borderColor: e.ring,
backgroundColor: '#D9C8F5',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={[
{
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 10,
color: '#111',
flexShrink: 1,
},
cssText(e.style),
]}>
{e.more}
</Text>
</View>
</View>
<Pressable
accessibilityRole="button"
style={{
flexShrink: 1,
alignItems: 'center',
justifyContent: 'center',
...css(e.btn),
}}>
<Text
style={[
{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13.33,
color: '#000000',
textAlign: 'center',
},
cssText(e.btn),
]}>
Cancel
</Text>
</Pressable>
</View>
</View>
))}
</View>
<View
style={{
justifyContent: 'space-around',
paddingTop: 10,
paddingBottom: 28,
paddingHorizontal: 12,
backgroundColor: '#fff',
zIndex: 5,
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/map')}
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#8A8A8A"
strokeWidth="1.8">
<Circle cx="11" cy="11" r="7" />
<Path d="M21 21l-4.3-4.3" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#8A8A8A' }}>
Explore
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/coming')}
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="1.8">
<Rect x="3" y="5" width="18" height="16" rx="2" />
<Path d="M3 10h18M8 3v4M16 3v4" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_600SemiBold', fontSize: 11, color: '#111' }}>
Calendar
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#8A8A8A"
strokeWidth="1.8">
<Path d="M4 5h16v11H8l-4 4z" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#8A8A8A' }}>
Inbox
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/profile')}
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#8A8A8A"
strokeWidth="1.8">
<Circle cx="12" cy="8" r="4" />
<Path d="M4 21c0-4 4-6 8-6s8 2 8 6" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#8A8A8A' }}>
Profile
</Text>
</Pressable>
</View>
</View>
</Screen>
);
}src/app/event.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, 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>>({ split: true });
const setState = (patch: Record<string, any>) =>
setScreenState((current) => ({ ...current, ...patch }));
const on = state.split;
return {
splitAria: on ? 'true' : 'false',
toggleSplit: () => setState({ split: !on }),
switchStyle: `width:46px;height:26px;border-radius:13px;border:0;padding:3px;cursor:pointer;display:flex;background:${on ? '#111' : '#BDBDBD'};justify-content:${on ? 'flex-end' : 'flex-start'}`,
knobStyle: 'width:20px;height:20px;border-radius:50%;background:#fff;display:block',
};
}
export default function EventScreen() {
const { toggleSplit, switchStyle } = useScreen();
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ flex: 1 }}>
<View
style={{
alignItems: 'center',
paddingTop: 48,
paddingBottom: 4,
paddingHorizontal: 16,
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="link"
accessibilityLabel="Back"
onPress={() => router.navigate('/workouts')}
style={{ width: 44, height: 44, alignItems: 'center', flexDirection: 'row' }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M15 18l-6-6 6-6" />
</Svg>
</Pressable>
<Text
style={{
margin: 0,
position: 'absolute',
left: 0,
right: 0,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 20,
color: '#111111',
textAlign: 'center',
flexShrink: 1,
}}>
Event Overview
</Text>
</View>
<View
style={{
flex: 1,
overflow: 'hidden',
paddingTop: 4,
paddingBottom: 0,
paddingHorizontal: 16,
gap: 8,
}}>
<Text
style={{
margin: 4,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 22,
color: '#111111',
}}>
Tennis · 1-1
</Text>
<View
style={{
backgroundColor: '#F1F1F1',
borderRadius: 22,
paddingVertical: 14,
paddingHorizontal: 18,
gap: 6,
}}>
<Text
style={{
margin: 0,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 15,
color: '#111111',
}}>
What to expect
</Text>
<View style={{ gap: 8, alignItems: 'center', flexDirection: 'row' }}>
<Svg
width="15"
height="15"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="2">
<Circle cx="12" cy="12" r="9" />
<Path d="M12 7v5l3 2" />
</Svg>
<Text
style={{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13,
color: '#111111',
flexShrink: 1,
}}>
Duration: 1 hour 30 minutes
</Text>
</View>
<View style={{ gap: 8, alignItems: 'center', flexDirection: 'row' }}>
<Svg
width="15"
height="15"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="2">
<Path d="M5 12h14M12 5v14" />
</Svg>
<Text
style={{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13,
color: '#111111',
flexShrink: 1,
}}>
No break
</Text>
</View>
<View style={{ gap: 8, alignItems: 'center', flexDirection: 'row' }}>
<Svg
width="15"
height="15"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="2">
<Path d="M4 20V14M10 20V9M16 20V4" />
</Svg>
<Text
style={{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13,
color: '#111111',
flexShrink: 1,
}}>
Difficulty: Beginner
</Text>
</View>
<Text
style={{
marginTop: 6,
marginBottom: 0,
marginHorizontal: 0,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 15,
color: '#111111',
}}>
Necessary equipment
</Text>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 13, color: '#333' }}>
Tennis Racket
</Text>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 13, color: '#333' }}>
Bottle of water
</Text>
</View>
<View
style={{
backgroundColor: '#F2F25E',
borderRadius: 22,
paddingVertical: 14,
paddingHorizontal: 18,
gap: 8,
}}>
<Text
style={{
margin: 0,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 15,
color: '#111111',
}}>
Price
</Text>
<View style={{ gap: 8, flexDirection: 'row' }}>
<Text
style={{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 14,
color: '#111111',
flexShrink: 1,
}}>
$
</Text>
<Text
style={{
flexShrink: 1,
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 14,
color: '#111111',
}}>
10€
</Text>
</View>
<View
style={{
justifyContent: 'space-between',
alignItems: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_500Medium',
fontSize: 13,
color: '#111111',
flexShrink: 1,
}}>
Split the cost
</Text>
<Pressable
accessibilityRole="button"
accessibilityLabel="Split the cost"
onPress={toggleSplit}
style={{
flexShrink: 1,
alignItems: 'center',
justifyContent: 'center',
...css(switchStyle),
}}>
<Text
style={[
{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13.33,
color: '#000000',
textAlign: 'center',
},
cssText(switchStyle),
]}></Text>
</Pressable>
</View>
</View>
<View
style={{
backgroundColor: '#F1F1F1',
borderRadius: 22,
paddingVertical: 14,
paddingHorizontal: 18,
gap: 6,
}}>
<Text
style={{
margin: 0,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 15,
color: '#111111',
}}>
Adress
</Text>
<View style={{ gap: 8, alignItems: 'center', flexDirection: 'row' }}>
<Svg
width="15"
height="15"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="2">
<Path d="M12 21s-7-6.5-7-12a7 7 0 0114 0c0 5.5-7 12-7 12z" />
<Circle cx="12" cy="9" r="2.5" />
</Svg>
<Text
style={{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13,
color: '#111111',
flexShrink: 1,
}}>
Egkomi park of poets
</Text>
</View>
<Text
style={{
marginTop: 6,
marginBottom: 0,
marginHorizontal: 0,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 15,
color: '#111111',
}}>
Date and Time
</Text>
<View style={{ gap: 8, alignItems: 'center', flexDirection: 'row' }}>
<Svg
width="15"
height="15"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="2">
<Rect x="3" y="5" width="18" height="16" rx="2" />
<Path d="M3 10h18" />
</Svg>
<Text
style={{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13,
color: '#111111',
flexShrink: 1,
}}>
28 may 07:30
</Text>
</View>
<Text
style={{
marginTop: 6,
marginBottom: 0,
marginHorizontal: 0,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 15,
color: '#111111',
}}>
Owner
</Text>
<View style={{ gap: 10, alignItems: 'center', flexDirection: 'row' }}>
<Image
source={{ uri: asset('9159352b2f.webp') }}
contentFit="cover"
style={{ width: 28, height: 28, borderRadius: '50%' }}
/>
<Text
style={{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13,
color: '#111111',
flexShrink: 1,
}}>
Melissa Deromidou
</Text>
</View>
<Text
style={{
marginTop: 6,
marginBottom: 0,
marginHorizontal: 0,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 15,
color: '#111111',
}}>
Participants
</Text>
<View
style={{
justifyContent: 'space-between',
alignItems: 'center',
flexDirection: 'row',
}}>
<View style={{ flexShrink: 1, flexDirection: 'row' }}>
<Image
source={{ uri: asset('54380e3982.webp') }}
contentFit="cover"
style={{
width: 30,
height: 30,
borderRadius: '50%',
borderWidth: 2,
borderColor: '#F1F1F1',
marginRight: -9,
}}
/>
<Image
source={{ uri: asset('25e94e7adc.webp') }}
contentFit="cover"
style={{
width: 30,
height: 30,
borderRadius: '50%',
borderWidth: 2,
borderColor: '#F1F1F1',
marginRight: -9,
}}
/>
<Image
source={{ uri: asset('5e166621af.webp') }}
contentFit="cover"
style={{
width: 30,
height: 30,
borderRadius: '50%',
borderWidth: 2,
borderColor: '#F1F1F1',
marginRight: -9,
}}
/>
<View
style={{
width: 34,
height: 34,
borderRadius: '50%',
borderWidth: 2,
borderColor: '#F1F1F1',
backgroundColor: '#111',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 10,
color: '#fff',
flexShrink: 1,
}}>
+9
</Text>
</View>
</View>
<Pressable
accessibilityRole="button"
style={{
height: 36,
paddingVertical: 0,
paddingHorizontal: 22,
borderRadius: 999,
borderWidth: 1.5,
borderColor: '#111',
backgroundColor: '#fff',
flexShrink: 1,
alignItems: 'center',
justifyContent: 'center',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_500Medium',
fontSize: 14,
color: '#000000',
textAlign: 'center',
}}>
Invite
</Text>
</Pressable>
</View>
</View>
</View>
<View style={{ paddingTop: 10, paddingBottom: 30, paddingHorizontal: 16 }}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/joined')}
style={{
height: 52,
borderRadius: 999,
backgroundColor: '#D7F75B',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_600SemiBold',
fontSize: 16,
color: '#111',
flexShrink: 1,
}}>
Join
</Text>
</Pressable>
</View>
</View>
</Screen>
);
}src/app/follow.tsx
import { Image } from 'expo-image';
import { router } from 'expo-router';
import { useState } from 'react';
import { Pressable, Text, View } from 'react-native';
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>>({ on: true });
const setState = (patch: Record<string, any>) =>
setScreenState((current) => ({ ...current, ...patch }));
const on = state.on;
return {
pressed: on ? 'true' : 'false',
btnLabel: on ? 'Following' : 'Follow',
toggle: () => setState({ on: !on }),
btnStyle: `height:36px;padding:0 16px;border-radius:999px;font-family:inherit;font-size:13px;font-weight:500;cursor:pointer;border:${on ? '0' : '1.5px solid #111'};background:${on ? '#EDEDED' : '#D7F75B'};color:#111`,
};
}
export default function FollowScreen() {
const { btnLabel, toggle, btnStyle } = useScreen();
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ flex: 1 }}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/teammates')}
style={{
position: 'absolute',
top: 52,
right: 20,
paddingVertical: 10,
paddingHorizontal: 4,
zIndex: 1,
}}>
<Text style={{ fontFamily: 'SpaceGrotesk_500Medium', fontSize: 15, color: '#111' }}>
Skip
</Text>
</Pressable>
<Text
style={{
marginTop: 104,
marginBottom: 28,
marginHorizontal: 24,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 26,
color: '#111111',
lineHeight: 29.9,
}}>
Who do you want{'\n'}to follow?
</Text>
<View style={{ height: 230 }}>
<Image
source={{ uri: asset('c2804c0a75.webp') }}
contentFit="cover"
accessibilityLabel="Another athlete"
style={{
position: 'absolute',
left: -60,
top: 25,
width: 140,
height: 180,
borderRadius: 70,
filter: 'grayscale(1)',
}}
/>
<Image
source={{ uri: asset('e2ace98ac7.webp') }}
contentFit="cover"
accessibilityLabel="Another athlete"
style={{
position: 'absolute',
right: -60,
top: 25,
width: 140,
height: 180,
borderRadius: 70,
filter: 'grayscale(1)',
}}
/>
<Image
source={{ uri: asset('9705708c83.webp') }}
contentFit="cover"
accessibilityLabel="Victor Vefinder"
style={{
position: 'absolute',
left: 105,
top: 0,
width: 180,
height: 230,
borderRadius: 90,
borderWidth: 4,
borderColor: '#D7F75B',
filter: 'grayscale(1)',
}}
/>
</View>
<View style={{ paddingTop: 24, paddingBottom: 0, paddingHorizontal: 24, gap: 16, flex: 1 }}>
<View
style={{ justifyContent: 'space-between', alignItems: 'center', flexDirection: 'row' }}>
<View style={{ flexShrink: 1 }}>
<Text
style={{
margin: 0,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 18,
color: '#111111',
}}>
Victor Vefinder
</Text>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 13, color: '#555' }}>
@VeVic
</Text>
</View>
<Pressable
accessibilityRole="button"
onPress={toggle}
style={{
flexShrink: 1,
alignItems: 'center',
justifyContent: 'center',
...css(btnStyle),
}}>
<Text
style={[
{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13.33,
color: '#000000',
textAlign: 'center',
},
cssText(btnStyle),
]}>
{btnLabel}
</Text>
</Pressable>
</View>
<View style={{ gap: 48, flexDirection: 'row' }}>
<View style={{ flexShrink: 1 }}>
<Text style={{ fontFamily: 'SpaceGrotesk_700Bold', fontSize: 20, color: '#111111' }}>
830
</Text>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 12, color: '#555' }}>
followers
</Text>
</View>
<View style={{ flexShrink: 1 }}>
<Text style={{ fontFamily: 'SpaceGrotesk_700Bold', fontSize: 20, color: '#111111' }}>
71
</Text>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 12, color: '#555' }}>
following
</Text>
</View>
</View>
<Text
style={{
margin: 0,
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 14,
color: '#222',
lineHeight: 20.3,
}}>
Advanced level in tennis. Usually play tennis twice week at Eleon Courts. Love yoga,
hiking and wine!
</Text>
<View style={{ gap: 8, flexDirection: 'row' }}>
<Text
style={{
borderWidth: 1.5,
borderColor: '#111',
borderRadius: 999,
paddingVertical: 6,
paddingHorizontal: 14,
flexShrink: 1,
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13,
color: '#111111',
}}>
Tennis
</Text>
<Text
style={{
borderWidth: 1.5,
borderColor: '#111',
borderRadius: 999,
paddingVertical: 6,
paddingHorizontal: 14,
flexShrink: 1,
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13,
color: '#111111',
}}>
Yoga
</Text>
<Text
style={{
borderWidth: 1.5,
borderColor: '#111',
borderRadius: 999,
paddingVertical: 6,
paddingHorizontal: 14,
flexShrink: 1,
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13,
color: '#111111',
}}>
Hiking
</Text>
</View>
</View>
<View style={{ paddingTop: 10, paddingBottom: 34, paddingHorizontal: 24 }}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/teammates')}
style={{
height: 52,
borderRadius: 999,
backgroundColor: '#D7F75B',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_600SemiBold',
fontSize: 16,
color: '#111',
flexShrink: 1,
}}>
Next
</Text>
</Pressable>
</View>
</View>
</Screen>
);
}src/app/joined.tsx
import { Image } from 'expo-image';
import { router } from 'expo-router';
import { Pressable, Text, View } from 'react-native';
import Svg, { Defs, Path, Rect, TextPath, Text as SvgText } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
export default function JoinedScreen() {
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ alignItems: 'center', flex: 1 }}>
<Svg
width="420"
height="420"
viewBox="0 0 420 420"
style={{ position: 'absolute', left: -15, top: 170 }}>
<Defs>
<Path id="ring" d="M210,210 m-190,0 a190,190 0 1,1 380,0 a190,190 0 1,1 -380,0" />
</Defs>
<SvgText fontFamily="BagelFatOne_400Regular" fontSize="30" fill="#111" letterSpacing="2">
<TextPath href="#ring">
CLASS TO THE TENNIS · CLASS TO THE TENNIS · CLASS TO THE TENNIS ·
</TextPath>
</SvgText>
</Svg>
<Image
source={{ uri: asset('6f8979a31f.webp') }}
contentFit="contain"
accessibilityLabel="Ring of colourful intertwined arms holding hands"
style={{ position: 'absolute', left: 25, top: 210, width: 340, height: 340 }}
/>
<Text
style={{
position: 'absolute',
left: 125,
right: 125,
top: 348,
margin: 0,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 18,
color: '#111111',
lineHeight: 21.6,
textAlign: 'center',
}}>
You have successfully joined
</Text>
<View style={{ position: 'absolute', left: 24, right: 24, bottom: 40 }}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/coming')}
style={{
height: 52,
borderRadius: 999,
backgroundColor: '#111',
alignItems: 'center',
justifyContent: 'center',
gap: 10,
flexDirection: 'row',
}}>
<Svg
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="#fff"
strokeWidth="2">
<Rect x="3" y="5" width="18" height="16" rx="2" />
<Path d="M3 10h18M8 3v4M16 3v4" />
</Svg>
<Text
style={{
fontFamily: 'SpaceGrotesk_600SemiBold',
fontSize: 16,
color: '#fff',
flexShrink: 1,
}}>
Add to iCalendar
</Text>
</Pressable>
</View>
</View>
</Screen>
);
}src/app/map.tsx
import { Image } from 'expo-image';
import { router } from 'expo-router';
import { Pressable, Text, View } from 'react-native';
import Svg, { Circle, G, Path, Rect, Text as SvgText } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
export default function MapScreen() {
return (
<Screen background="#DDF5A0" statusBar="dark">
<View style={{ flex: 1 }}>
<Svg
width="390"
height="844"
viewBox="0 0 390 844"
style={{ position: 'absolute', top: 0, right: 0, bottom: 0, left: 0 }}>
<Rect x="0" y="0" width="390" height="140" fill="#F3F3F3" />
<Path
d="M0 140 C 120 120, 260 180, 390 130"
fill="none"
stroke="#FFFFFF"
strokeWidth="10"
/>
<G fill="none" stroke="#FFFFFF" strokeWidth="4" opacity=".9">
<Path d="M-10 260 C 90 230, 170 320, 400 280" />
<Path d="M40 860 C 80 600, 160 420, 260 140" />
<Path d="M-10 520 C 120 480, 260 560, 400 500" />
<Path d="M300 860 C 280 700, 340 560, 400 440" />
<Path d="M0 680 L 390 640" />
<Path d="M120 140 L 170 860" />
<Path d="M-10 380 L 400 420" />
</G>
<G fontFamily="SpaceGrotesk_400Regular" fontSize="10" fill="#5B6B2A">
<SvgText x="210" y="250">
Mylopotamou
</SvgText>
<SvgText x="60" y="470">
Kallipoleos
</SvgText>
<SvgText x="250" y="610">
Agia Paraskevi
</SvgText>
<SvgText x="40" y="720">
Agiou Andreou
</SvgText>
</G>
</Svg>
<View
style={{
position: 'absolute',
top: 52,
left: 16,
right: 16,
justifyContent: 'space-between',
alignItems: 'center',
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="button"
accessibilityLabel="Filters"
style={{
width: 44,
height: 44,
borderRadius: '50%',
borderWidth: 0,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="2"
strokeLinecap="round">
<Path d="M4 7h10M18 7h2M4 17h4M12 17h8" />
<Circle cx="16" cy="7" r="2" />
<Circle cx="10" cy="17" r="2" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/workouts')}
style={{
height: 40,
paddingVertical: 0,
paddingHorizontal: 20,
borderRadius: 999,
backgroundColor: '#fff',
alignItems: 'center',
flexShrink: 1,
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_500Medium',
fontSize: 14,
color: '#111',
flexShrink: 1,
}}>
List
</Text>
</Pressable>
</View>
<View
style={{
position: 'absolute',
left: 70,
top: 230,
width: 218,
backgroundColor: '#111',
borderRadius: 16,
paddingVertical: 12,
paddingHorizontal: 14,
gap: 8,
}}>
<View style={{ gap: 8, alignItems: 'center', flexDirection: 'row' }}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#fff"
strokeWidth="2">
<Circle cx="12" cy="5" r="2" />
<Path d="M12 7v6M8 21l4-8 4 8M6 10h12" />
</Svg>
<View style={{ flexShrink: 1 }}>
<Text style={{ fontFamily: 'SpaceGrotesk_600SemiBold', fontSize: 13, color: '#fff' }}>
Tennis 1-1
</Text>
<Text
style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#CFCFCF' }}>
Tomorrow at 7:30 a.m.
</Text>
</View>
</View>
<View
style={{ justifyContent: 'space-between', alignItems: 'center', flexDirection: 'row' }}>
<View style={{ flexShrink: 1, flexDirection: 'row' }}>
<Image
source={{ uri: asset('54380e3982.webp') }}
contentFit="cover"
style={{
width: 22,
height: 22,
borderRadius: '50%',
borderWidth: 2,
borderColor: '#111',
marginRight: -6,
}}
/>
<Image
source={{ uri: asset('25e94e7adc.webp') }}
contentFit="cover"
style={{
width: 22,
height: 22,
borderRadius: '50%',
borderWidth: 2,
borderColor: '#111',
}}
/>
</View>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/event')}
style={{
height: 26,
paddingVertical: 0,
paddingHorizontal: 12,
borderRadius: 999,
backgroundColor: '#D7F75B',
alignItems: 'center',
flexShrink: 1,
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_600SemiBold',
fontSize: 12,
color: '#111',
flexShrink: 1,
}}>
+ Join
</Text>
</Pressable>
</View>
</View>
<View
style={{
position: 'absolute',
left: 186,
top: 420,
width: 26,
height: 26,
borderRadius: '50%',
backgroundColor: '#111',
borderWidth: 4,
borderColor: '#fff',
boxShadow: '0 0 0 10px rgba(17,17,17,.12)',
}}
/>
<View
style={{
position: 'absolute',
left: 130,
top: 560,
width: 218,
backgroundColor: '#111',
borderRadius: 16,
paddingVertical: 12,
paddingHorizontal: 14,
gap: 8,
}}>
<View style={{ gap: 8, alignItems: 'center', flexDirection: 'row' }}>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#fff"
strokeWidth="2">
<Circle cx="12" cy="5" r="2" />
<Path d="M12 7v6M8 21l4-8 4 8M6 10h12" />
</Svg>
<View style={{ flexShrink: 1 }}>
<Text style={{ fontFamily: 'SpaceGrotesk_600SemiBold', fontSize: 13, color: '#fff' }}>
Tennis 2-2
</Text>
<Text
style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#CFCFCF' }}>
Today at 7:30 a.m.
</Text>
</View>
</View>
<View
style={{ justifyContent: 'space-between', alignItems: 'center', flexDirection: 'row' }}>
<View style={{ flexShrink: 1, flexDirection: 'row' }}>
<Image
source={{ uri: asset('9159352b2f.webp') }}
contentFit="cover"
style={{
width: 22,
height: 22,
borderRadius: '50%',
borderWidth: 2,
borderColor: '#111',
marginRight: -6,
}}
/>
<Image
source={{ uri: asset('5e166621af.webp') }}
contentFit="cover"
style={{
width: 22,
height: 22,
borderRadius: '50%',
borderWidth: 2,
borderColor: '#111',
marginRight: -6,
}}
/>
<Image
source={{ uri: asset('4de4ad038f.webp') }}
contentFit="cover"
style={{
width: 22,
height: 22,
borderRadius: '50%',
borderWidth: 2,
borderColor: '#111',
}}
/>
</View>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/event')}
style={{
height: 26,
paddingVertical: 0,
paddingHorizontal: 12,
borderRadius: 999,
backgroundColor: '#D7F75B',
alignItems: 'center',
flexShrink: 1,
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_600SemiBold',
fontSize: 12,
color: '#111',
flexShrink: 1,
}}>
+ Join
</Text>
</Pressable>
</View>
</View>
<View
style={{
position: 'absolute',
left: 0,
right: 0,
bottom: 0,
justifyContent: 'space-around',
paddingTop: 10,
paddingBottom: 28,
paddingHorizontal: 12,
backgroundColor: '#fff',
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/map')}
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="1.8">
<Circle cx="11" cy="11" r="7" />
<Path d="M21 21l-4.3-4.3" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_600SemiBold', fontSize: 11, color: '#111' }}>
Explore
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/coming')}
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#8A8A8A"
strokeWidth="1.8">
<Rect x="3" y="5" width="18" height="16" rx="2" />
<Path d="M3 10h18M8 3v4M16 3v4" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#8A8A8A' }}>
Calendar
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#8A8A8A"
strokeWidth="1.8">
<Path d="M4 5h16v11H8l-4 4z" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#8A8A8A' }}>
Inbox
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/profile')}
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#8A8A8A"
strokeWidth="1.8">
<Circle cx="12" cy="8" r="4" />
<Path d="M4 21c0-4 4-6 8-6s8 2 8 6" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#8A8A8A' }}>
Profile
</Text>
</Pressable>
</View>
</View>
</Screen>
);
}src/app/profile.tsx
import { Image } from 'expo-image';
import { router } from 'expo-router';
import { Pressable, Text, View } from 'react-native';
import Svg, { Circle, Path, Rect } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
import { css } from '@/lib/css';
const stats = [
{
n: '98',
label: 'Workouts',
alt: '3D yoga figure',
img: '9b73f48212.webp',
style:
'height:92px;border-radius:46px;padding:0 10px 0 22px;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;background:#D7F75B',
},
{
n: '5/16',
label: 'Categories',
alt: '3D balls',
img: '2d1931eaee.webp',
style:
'height:92px;border-radius:46px;padding:0 10px 0 22px;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;background:#E7B8F2',
},
{
n: '5721',
label: 'Burned calories',
alt: '3D flame drops',
img: '71120f177f.webp',
style:
'height:92px;border-radius:46px;padding:0 10px 0 22px;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;background:#F9A99A',
},
{
n: '45',
label: 'Visited places',
alt: '3D map pin',
img: 'fecb76623e.webp',
style:
'height:92px;border-radius:46px;padding:0 10px 0 22px;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;background:#7FE0B8',
},
{
n: '15',
label: 'Achievements',
alt: '3D target',
img: '4544e1e5f0.webp',
style:
'height:92px;border-radius:46px;padding:0 10px 0 22px;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;background:#F2F25E',
},
];
export default function ProfileScreen() {
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ flex: 1 }}>
<View
style={{
justifyContent: 'flex-end',
gap: 4,
paddingTop: 48,
paddingBottom: 0,
paddingHorizontal: 16,
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="button"
accessibilityLabel="Friends"
style={{
width: 44,
height: 44,
borderWidth: 0,
alignItems: 'center',
justifyContent: 'center',
}}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="1.8">
<Circle cx="9" cy="8" r="3.5" />
<Path d="M2 20c0-3.5 3-5.5 7-5.5s7 2 7 5.5M17 5v6M14 8h6" />
</Svg>
</Pressable>
<Pressable
accessibilityRole="button"
accessibilityLabel="Settings"
style={{
width: 44,
height: 44,
borderWidth: 0,
alignItems: 'center',
justifyContent: 'center',
}}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="1.8">
<Circle cx="12" cy="12" r="3" />
<Path d="M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1" />
</Svg>
</Pressable>
</View>
<View
style={{
gap: 14,
alignItems: 'center',
paddingTop: 4,
paddingBottom: 0,
paddingHorizontal: 20,
flexDirection: 'row',
}}>
<Image
source={{ uri: asset('bd7cefffcb.webp') }}
contentFit="cover"
accessibilityLabel="Marina"
style={{
width: 64,
height: 64,
borderRadius: '50%',
borderWidth: 3,
borderColor: '#D7F75B',
flexGrow: 0,
flexShrink: 0,
}}
/>
<Text
style={{
margin: 0,
flexShrink: 1,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 22,
color: '#111111',
lineHeight: 25.3,
}}>
Good morning,{'\n'}Marina
</Text>
</View>
<View
style={{
paddingTop: 18,
paddingBottom: 8,
paddingHorizontal: 20,
flexDirection: 'row',
gap: 8,
}}>
<View style={{ flex: 1 }}>
<Text style={{ fontFamily: 'SpaceGrotesk_700Bold', fontSize: 18, color: '#111111' }}>
12
</Text>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 12, color: '#555' }}>
Followers
</Text>
</View>
<View style={{ flex: 1 }}>
<Text
style={{
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 18,
color: '#111111',
textAlign: 'center',
}}>
34
</Text>
<Text
style={{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 12,
color: '#555',
textAlign: 'center',
}}>
Following
</Text>
</View>
<View style={{ flex: 1 }}>
<Text
style={{
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 18,
color: '#111111',
textAlign: 'right',
}}>
3
</Text>
<Text
style={{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 12,
color: '#555',
textAlign: 'right',
}}>
Teams
</Text>
</View>
</View>
<Text
style={{
marginTop: 10,
marginBottom: 12,
marginHorizontal: 20,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 22,
color: '#111111',
}}>
My stats
</Text>
<View
style={{
flex: 1,
gap: 8,
paddingVertical: 0,
paddingHorizontal: 16,
overflow: 'hidden',
}}>
{stats.map((s, index) => (
<View key={index} style={{ ...css(s.style) }}>
<View style={{ gap: 2 }}>
<Text
style={{ fontFamily: 'SpaceGrotesk_700Bold', fontSize: 24, color: '#111111' }}>
{s.n}
</Text>
<Text
style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 13, color: '#111111' }}>
{s.label}
</Text>
</View>
<Image
source={{ uri: asset(s.img) }}
contentFit="contain"
style={{ width: 86, height: 86, mixBlendMode: 'multiply' }}
/>
</View>
))}
</View>
<View
style={{
justifyContent: 'space-around',
paddingTop: 10,
paddingBottom: 28,
paddingHorizontal: 12,
backgroundColor: '#fff',
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/map')}
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#8A8A8A"
strokeWidth="1.8">
<Circle cx="11" cy="11" r="7" />
<Path d="M21 21l-4.3-4.3" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#8A8A8A' }}>
Explore
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/coming')}
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#8A8A8A"
strokeWidth="1.8">
<Rect x="3" y="5" width="18" height="16" rx="2" />
<Path d="M3 10h18M8 3v4M16 3v4" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#8A8A8A' }}>
Calendar
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#8A8A8A"
strokeWidth="1.8">
<Path d="M4 5h16v11H8l-4 4z" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#8A8A8A' }}>
Inbox
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/profile')}
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="1.8">
<Circle cx="12" cy="8" r="4" />
<Path d="M4 21c0-4 4-6 8-6s8 2 8 6" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_600SemiBold', fontSize: 11, color: '#111' }}>
Profile
</Text>
</Pressable>
</View>
</View>
</Screen>
);
}src/app/sports.tsx
import { router } from 'expo-router';
import { useState } from 'react';
import { Pressable, Text, View } from 'react-native';
import Svg, { G, Line } from 'react-native-svg';
import { Screen } from '@/components/screen';
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>>({
picked: { Sup: true, Tennis: true, Yoga: true, Bicycle: true },
});
const setState = (patch: Record<string, any>) =>
setScreenState((current) => ({ ...current, ...patch }));
const list = [
['Sup', 42, 70, 64],
['Chess', 300, 70, 62],
['Rugby', 10, 200, 70],
['Tennis', 190, 240, 100],
['Snowboard', 380, 140, 84],
['Yoga', 80, 290, 58],
['Bicycle', 285, 320, 78],
['Volleyball', 190, 440, 120],
['Football', 20, 490, 90],
['Box', 375, 480, 70],
];
const picked = state.picked;
return {
bubbles: list.map((row) => {
const label = String(row[0]),
cx = Number(row[1]),
cy = Number(row[2]),
d = Number(row[3]);
const on = !!picked[label];
const style =
`position:absolute;left:${cx - d / 2}px;top:${230 + cy - d / 2}px;width:${d}px;height:${d}px;border-radius:50%;` +
`background:${on ? '#D7F75B' : '#FFFFFF'};border:${on ? '0' : '1.5px solid #E3E3E3'};font-family:'Space Grotesk',sans-serif;` +
`font-size:${d > 90 ? 15 : 13}px;font-weight:500;color:#111;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;`;
return {
label,
on: on ? 'true' : 'false',
style,
toggle: () => setState({ picked: { ...picked, [label]: !on } }),
};
}),
};
}
export default function SportsScreen() {
const { bubbles } = useScreen();
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ flex: 1 }}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/follow')}
style={{
position: 'absolute',
top: 52,
right: 20,
paddingVertical: 10,
paddingHorizontal: 4,
zIndex: 1,
}}>
<Text style={{ fontFamily: 'SpaceGrotesk_500Medium', fontSize: 15, color: '#111' }}>
Next
</Text>
</Pressable>
<View style={{ paddingTop: 104, paddingBottom: 0, paddingHorizontal: 24, gap: 10 }}>
<Text
style={{
margin: 0,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 26,
color: '#111111',
lineHeight: 29.9,
}}>
{"Let's play tennis together"}
</Text>
<Text
style={{
margin: 0,
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 14,
color: '#3A3A3A',
lineHeight: 19.6,
}}>
choose the sports and activities that interest you and suit your health
</Text>
</View>
<Svg
width="390"
height="600"
viewBox="0 0 390 600"
style={{ position: 'absolute', left: 0, top: 230 }}>
<G stroke="#D7F75B" strokeWidth="2">
<Line x1="42" y1="70" x2="190" y2="240" />
<Line x1="190" y1="240" x2="300" y2="70" />
<Line x1="190" y1="240" x2="380" y2="140" />
<Line x1="190" y1="240" x2="80" y2="290" />
<Line x1="190" y1="240" x2="285" y2="320" />
<Line x1="285" y1="320" x2="190" y2="440" />
<Line x1="80" y1="290" x2="10" y2="200" />
<Line x1="285" y1="320" x2="375" y2="480" />
<Line x1="190" y1="440" x2="20" y2="490" />
</G>
</Svg>
{bubbles.map((b, index) => (
<Pressable
key={index}
accessibilityRole="button"
onPress={b.toggle}
style={{
alignSelf: 'flex-start',
alignItems: 'center',
justifyContent: 'center',
...css(b.style),
}}>
<Text
style={[
{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13.33,
color: '#000000',
textAlign: 'center',
},
cssText(b.style),
]}>
{b.label}
</Text>
</Pressable>
))}
</View>
</Screen>
);
}src/app/teammates.tsx
import { router } from 'expo-router';
import { Pressable, Text, View } from 'react-native';
import { Screen } from '@/components/screen';
import { css } from '@/lib/css';
const dist = 10;
const ageMin = 22;
const ageMax = 45;
const distFill =
'position:absolute;top:20px;height:4px;background:#D7F75B;left:0px;width:49.09090909090909px';
const ageFill =
'position:absolute;top:20px;height:4px;background:#D7F75B;left:78.46315789473684px;width:72.14736842105265px';
const distLabel =
'position:absolute;top:0;left:27.090909090909093px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;pointer-events:none';
const minLabel =
'position:absolute;top:0;left:56.46315789473684px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;pointer-events:none';
const maxLabel =
'position:absolute;top:0;left:128.61052631578949px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;pointer-events:none';
export default function TeammatesScreen() {
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ flex: 1 }}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/')}
style={{
position: 'absolute',
top: 52,
right: 20,
paddingVertical: 10,
paddingHorizontal: 4,
zIndex: 1,
}}>
<Text style={{ fontFamily: 'SpaceGrotesk_500Medium', fontSize: 15, color: '#111' }}>
Skip
</Text>
</Pressable>
<Text
style={{
marginTop: 104,
marginBottom: 36,
marginHorizontal: 24,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 26,
color: '#111111',
}}>
Find teammates
</Text>
<View style={{ paddingVertical: 0, paddingHorizontal: 24, gap: 40, flex: 1 }}>
<View style={{ gap: 16 }}>
<View style={{ justifyContent: 'space-between', flexDirection: 'row' }}>
<Text
style={{
flexShrink: 1,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 16,
color: '#111111',
}}>
Maximum distance
</Text>
<Text
style={{
flexShrink: 1,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 16,
color: '#111111',
}}>
100 km
</Text>
</View>
<View style={{ height: 44 }}>
<View
style={{
position: 'absolute',
left: 0,
right: 0,
top: 21,
height: 2,
backgroundColor: '#111',
zIndex: 1,
}}
/>
<View style={{ ...css(distFill) }} />
<View
style={{
position: 'absolute',
top: 0,
left: 27,
width: 44,
height: 44,
borderRadius: 22,
backgroundColor: '#D7F75B',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_600SemiBold',
fontSize: 14,
color: '#111111',
flexShrink: 1,
}}>
10
</Text>
</View>
</View>
</View>
<View style={{ gap: 16 }}>
<View style={{ justifyContent: 'space-between', flexDirection: 'row' }}>
<Text
style={{
flexShrink: 1,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 16,
color: '#111111',
}}>
Age range players
</Text>
<Text
style={{
flexShrink: 1,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 16,
color: '#111111',
}}>
4-99
</Text>
</View>
<View style={{ height: 44 }}>
<View
style={{
position: 'absolute',
left: 0,
right: 0,
top: 21,
height: 2,
backgroundColor: '#111',
zIndex: 1,
}}
/>
<View style={{ ...css(ageFill) }} />
<View
style={{
position: 'absolute',
top: 0,
left: 56.5,
width: 44,
height: 44,
borderRadius: 22,
backgroundColor: '#D7F75B',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_600SemiBold',
fontSize: 14,
color: '#111111',
flexShrink: 1,
}}>
22
</Text>
</View>
<View
style={{
position: 'absolute',
top: 0,
left: 128.5,
width: 44,
height: 44,
borderRadius: 22,
backgroundColor: '#D7F75B',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_600SemiBold',
fontSize: 14,
color: '#111111',
flexShrink: 1,
}}>
45
</Text>
</View>
</View>
</View>
</View>
<View style={{ paddingTop: 10, paddingBottom: 34, paddingHorizontal: 24 }}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/map')}
style={{
height: 52,
borderRadius: 999,
backgroundColor: '#D7F75B',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_600SemiBold',
fontSize: 16,
color: '#111',
flexShrink: 1,
}}>
Next
</Text>
</Pressable>
</View>
</View>
</Screen>
);
}src/app/welcome.tsx
import { Image } from 'expo-image';
import { router } from 'expo-router';
import { Pressable, Text, View } from 'react-native';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
export default function WelcomeScreen() {
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ alignItems: 'center', flex: 1 }}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/sports')}
style={{
position: 'absolute',
top: 52,
right: 20,
paddingVertical: 10,
paddingHorizontal: 4,
zIndex: 1,
}}>
<Text style={{ fontFamily: 'SpaceGrotesk_500Medium', fontSize: 15, color: '#111' }}>
Skip
</Text>
</Pressable>
<Text
style={{
marginTop: 120,
marginBottom: 8,
marginHorizontal: 0,
fontFamily: 'BagelFatOne_400Regular',
fontSize: 52,
color: '#111111',
letterSpacing: 1,
lineHeight: 52,
}}>
KINSHIP
</Text>
<Text
style={{
margin: 0,
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 15,
color: '#3A3A3A',
}}>
Join our community
</Text>
<Image
source={{ uri: asset('8d8a1d7a46.webp') }}
contentFit="contain"
accessibilityLabel="Sphere of colourful intertwined arms holding hands"
style={{ marginTop: 48, width: 300, height: 300 }}
/>
<View style={{ position: 'absolute', left: 24, right: 24, bottom: 34, gap: 10 }}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/sports')}
style={{
height: 52,
borderRadius: 999,
backgroundColor: '#D7F75B',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_600SemiBold',
fontSize: 16,
color: '#111',
flexShrink: 1,
}}>
Sign up
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/profile')}
style={{
height: 52,
borderRadius: 999,
borderWidth: 1.5,
borderColor: '#111',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Text
style={{
fontFamily: 'SpaceGrotesk_500Medium',
fontSize: 16,
color: '#111',
flexShrink: 1,
}}>
Log in
</Text>
</Pressable>
</View>
</View>
</Screen>
);
}src/app/workouts.tsx
import { Image } from 'expo-image';
import { router } from 'expo-router';
import { Pressable, Text, View } from 'react-native';
import Svg, { Circle, Path, Rect } from 'react-native-svg';
import { Screen } from '@/components/screen';
import { asset } from '@/lib/assets';
const groups = [
{
date: '02 may',
items: [
{
title: 'Tennis 2-2',
place: 'Alsos forest, Court 3',
time: '02 may 19:00',
people: [
{ i: 'AK', img: '54380e3982.webp' },
{ i: 'ML', img: '25e94e7adc.webp' },
{ i: 'DS', img: '9159352b2f.webp' },
{ i: 'EP', img: '5e166621af.webp' },
],
},
{
title: 'Yoga',
place: 'Egkomi park of poets',
time: '02 may 8:30',
people: [
{ i: 'NA', img: '4de4ad038f.webp' },
{ i: 'RT', img: 'b18670a3ca.webp' },
{ i: 'IO', img: '54380e3982.webp' },
{ i: 'VK', img: '25e94e7adc.webp' },
{ i: 'SP', img: '9159352b2f.webp' },
],
},
],
},
{
date: '28 april',
items: [
{
title: 'SUP',
place: 'Orokliní, Small beach',
time: '28 april 14:00',
people: [
{ i: 'GT', img: '5e166621af.webp' },
{ i: 'LM', img: '4de4ad038f.webp' },
{ i: 'KO', img: 'b18670a3ca.webp' },
{ i: 'AB', img: '54380e3982.webp' },
],
},
],
},
{
date: '24 april',
items: [
{
title: 'Tennis 1-1',
place: 'Alsos forest, Court 3',
time: '24 april 19:00',
people: [
{ i: 'MD', img: '25e94e7adc.webp' },
{ i: 'VV', img: '9159352b2f.webp' },
],
},
],
},
{
date: '18 april',
items: [
{
title: 'Hiking',
place: 'Madari Circular Route, Parking',
time: '18 april 12:00',
people: [
{ i: 'PL', img: '5e166621af.webp' },
{ i: 'EK', img: '4de4ad038f.webp' },
{ i: 'TN', img: 'b18670a3ca.webp' },
{ i: 'SA', img: '54380e3982.webp' },
{ i: 'OM', img: '25e94e7adc.webp' },
{ i: 'RJ', img: '9159352b2f.webp' },
],
},
],
},
];
export default function WorkoutsScreen() {
return (
<Screen background="#FFFFFF" statusBar="dark">
<View style={{ flex: 1 }}>
<View
style={{
alignItems: 'center',
paddingTop: 56,
paddingBottom: 16,
paddingHorizontal: 20,
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="button"
accessibilityLabel="Back"
style={{
width: 44,
height: 44,
borderWidth: 0,
padding: 0,
alignItems: 'center',
flexDirection: 'row',
}}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round">
<Path d="M15 18l-6-6 6-6" />
</Svg>
</Pressable>
<Text
style={{
margin: 0,
position: 'absolute',
left: 0,
right: 0,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 20,
color: '#111111',
textAlign: 'center',
flexShrink: 1,
}}>
Workouts
</Text>
</View>
<View
style={{
flex: 1,
overflow: 'hidden',
paddingVertical: 0,
paddingLeft: 24,
paddingRight: 20,
}}>
<View
style={{
position: 'absolute',
left: 41,
top: 0,
bottom: 0,
width: 2,
backgroundColor: '#D7F75B',
}}
/>
{groups.map((g, index) => (
<View key={index} style={{ gap: 0, marginBottom: 8 }}>
<Text
style={{
alignSelf: 'flex-start',
backgroundColor: '#D7F75B',
borderRadius: 999,
paddingVertical: 4,
paddingHorizontal: 14,
marginTop: 8,
marginBottom: 12,
marginHorizontal: 0,
fontFamily: 'SpaceGrotesk_600SemiBold',
fontSize: 12,
color: '#111111',
}}>
{g.date}
</Text>
{g.items.map((w, index) => (
<Pressable
key={index}
accessibilityRole="link"
onPress={() => router.navigate('/event')}
style={{
gap: 14,
alignItems: 'flex-start',
paddingTop: 6,
paddingBottom: 14,
paddingHorizontal: 0,
flexDirection: 'row',
}}>
<View
style={{
width: 36,
height: 36,
borderRadius: '50%',
backgroundColor: '#111',
flexGrow: 0,
flexShrink: 0,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
}}>
<Svg
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="#fff"
strokeWidth="2"
strokeLinecap="round">
<Circle cx="12" cy="5" r="2" />
<Path d="M12 7v6M8 21l4-8 4 8M6 10h12" />
</Svg>
</View>
<View
style={{
flex: 1,
gap: 3,
borderBottomWidth: 1,
borderBottomColor: '#111',
paddingBottom: 12,
}}>
<View
style={{
justifyContent: 'space-between',
alignItems: 'center',
flexDirection: 'row',
}}>
<Text
style={{
flexShrink: 1,
fontFamily: 'SpaceGrotesk_700Bold',
fontSize: 16,
color: '#111',
}}>
{w.title}
</Text>
<Svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="2"
strokeLinecap="round">
<Path d="M9 18l6-6-6-6" />
</Svg>
</View>
<Text
style={{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13,
color: '#3A3A3A',
}}>
{w.place}
</Text>
<Text
style={{
fontFamily: 'SpaceGrotesk_400Regular',
fontSize: 13,
color: '#3A3A3A',
}}>
{w.time}
</Text>
<View style={{ marginTop: 6, flexDirection: 'row' }}>
{w.people.map((p, index) => (
<Image
key={index}
source={{ uri: asset(p.img) }}
contentFit="cover"
style={{
width: 30,
height: 30,
borderRadius: '50%',
borderWidth: 2,
borderColor: '#fff',
marginRight: -8,
}}
/>
))}
</View>
</View>
</Pressable>
))}
</View>
))}
</View>
<View
style={{
justifyContent: 'space-around',
paddingTop: 10,
paddingBottom: 28,
paddingHorizontal: 12,
backgroundColor: '#fff',
borderTopWidth: 1,
borderTopColor: '#EEE',
flexDirection: 'row',
}}>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/map')}
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#8A8A8A"
strokeWidth="1.8">
<Circle cx="11" cy="11" r="7" />
<Path d="M21 21l-4.3-4.3" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#8A8A8A' }}>
Explore
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/coming')}
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#8A8A8A"
strokeWidth="1.8">
<Rect x="3" y="5" width="18" height="16" rx="2" />
<Path d="M3 10h18M8 3v4M16 3v4" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#8A8A8A' }}>
Calendar
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#8A8A8A"
strokeWidth="1.8">
<Path d="M4 5h16v11H8l-4 4z" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_400Regular', fontSize: 11, color: '#8A8A8A' }}>
Inbox
</Text>
</Pressable>
<Pressable
accessibilityRole="link"
onPress={() => router.navigate('/profile')}
style={{ alignItems: 'center', gap: 3, minWidth: 56, flexShrink: 1 }}>
<Svg
width="22"
height="22"
viewBox="0 0 24 24"
fill="none"
stroke="#111"
strokeWidth="1.8">
<Circle cx="12" cy="8" r="4" />
<Path d="M4 21c0-4 4-6 8-6s8 2 8 6" />
</Svg>
<Text style={{ fontFamily: 'SpaceGrotesk_600SemiBold', fontSize: 11, color: '#111' }}>
Profile
</Text>
</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/sports-meetup-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: 'BagelFatOne_400Regular' };
const px = (value: string) => (value.endsWith('%') ? (value as `${number}%`) : parseFloat(value));
function declarations(source: string) {
return source
.split(';')
.map((rule) => rule.split(':').map((part) => part.trim()))
.filter(([name, value]) => name && value);
}
export function css(source: string): ViewStyle {
const style: Record<string, unknown> = {};
for (const [name, ...rest] of declarations(source)) {
const value = rest.join(':');
if (name === 'background' || name === 'background-color') {
style.backgroundColor = value;
} else if (name === 'border') {
const [width, , ...color] = value.split(' ');
if (value === 'none' || value === '0') style.borderWidth = 0;
else {
style.borderWidth = parseFloat(width);
style.borderColor = color.join(' ');
}
} else if (name === 'display' && value === 'flex') {
style.flexDirection = style.flexDirection ?? 'row';
} else if (name === 'flex-direction') {
style.flexDirection = value;
} else if (name === 'align-items') {
style.alignItems = value;
} else if (name === 'justify-content') {
style.justifyContent = value;
} else if (name === 'box-shadow') {
style.boxShadow = value;
} else if (name === 'position') {
style.position = value === 'absolute' ? 'absolute' : 'relative';
} else if (name === 'opacity') {
style.opacity = parseFloat(value);
} else if (name === 'z-index') {
style.zIndex = parseInt(value, 10);
} else if (name === 'overflow') {
style.overflow = value === 'hidden' ? 'hidden' : 'visible';
} else if (name.startsWith('margin-')) {
const side = name.slice(7);
style[`margin${side[0].toUpperCase()}${side.slice(1)}`] = px(value);
} else if (['gap', 'width', 'height', 'left', 'top', 'right', 'bottom'].includes(name)) {
style[name] = px(value);
} else if (name === 'border-radius') {
style.borderRadius = px(value);
} else if (name === 'padding') {
const [top, right = top, bottom = top, left = right] = value.split(' ');
style.paddingTop = px(top);
style.paddingRight = px(right);
style.paddingBottom = px(bottom);
style.paddingLeft = px(left);
} else if (name === 'white-space' && value === 'nowrap') {
style.flexShrink = 0;
} else if (name === 'flex-shrink') {
style.flexShrink = parseFloat(value);
} else if (name === 'flex') {
const [grow, shrink, basis] = value.split(' ');
if (value === 'none') {
style.flexGrow = 0;
style.flexShrink = 0;
} else if (shrink === undefined) {
style.flex = parseFloat(grow);
} else {
style.flexGrow = parseFloat(grow);
style.flexShrink = parseFloat(shrink);
if (basis && basis !== 'auto') style.flexBasis = px(basis);
}
}
}
return style as ViewStyle;
}
export function cssText(source: string): TextStyle {
const style: Record<string, unknown> = {};
for (const [name, value] of declarations(source)) {
if (name === 'color') style.color = value;
if (name === 'font-size') style.fontSize = parseFloat(value);
if (name === 'letter-spacing') style.letterSpacing = parseFloat(value);
if (name === 'font-weight' && FACES[Number(value)]) style.fontFamily = FACES[Number(value)];
if (name === 'text-decoration' && value.startsWith('line-through')) {
style.textDecorationLine = 'line-through';
}
}
return style as TextStyle;
}About this design
After that the app becomes a planner: a map with game cards to join, a timeline of past workouts, an event page with price splitting, a stacked list of upcoming events and a profile with colourful stat pills. All 11 screens share one lime and black system.
Clean white pages with an electric lime accent, black type in Space Grotesk, pill buttons and pastel stat cards with 3D objects.
- Bubble picker for choosing sports
- Map view with joinable game cards
- Event details with a split-the-cost switch
- Stacked upcoming event cards and a stats profile
Colour palette
Lime
#D7F75B
Ink
#111111
Lilac
#E7B8F2
Coral
#F9A99A
Mint
#7FE0B8
Royal blue
#1C5FB8
How to use this design
- 01
Pick what to copy
Copy the Kinship Sports Meetup 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
Which screens are interactive?
The sport bubbles toggle, the follow button switches between Follow and Following, and the split-the-cost switch turns on and off. The rest are ready for your data.
Is the map a real map?
No. It is a drawn SVG backdrop so the design works offline. Swap it for react-native-maps and place the game cards as markers.
Can I change the lime accent?
Yes. The accent is one hex value used across buttons, the timeline and selected bubbles. Search for #D7F75B and replace it.
Is the Kinship Sports Meetup 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.



