Photo HUD Cards with Glass Pills
One card has a heart-rate-style HUD of arcs and rings with an oxygen reading, one has weekday bars with two frosted notification pills, and one has glass labels linked by dots over contour lines. Each has a small title below.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "photo-hud-cards-with-glass-pills" to this project. The full source is attached at the end of this prompt. Put the files under components/photo-hud-cards-with-glass-pills/, install the listed dependencies with `npx expo install`, and render it on a route I can open. Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply. === Source files are attached here for paid plans ===
Details
- Platforms
- iOS, Android, Web
- Requires
- Expo SDK 54+
- Access
- Pro
- Updated
- 23 Nov 2026
- License
- Unlimited commercial projects
- Original design
- @uiuxjosh on X
Are you the designer? Ask us to change or remove this.
Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs
What it does
Three tall health cards, each laid over a photograph of a person running. The first has a heart-rate dial style overlay with a large arc, a ring and tick labels, a blood-oxygen reading, two round device buttons, a two-line centered headline, a temperature ring with a percentage and page dots. The second has a right-aligned headline, three small day bars, two frosted notification pills each with a dark round icon, two lines of text and a time, and a round glass explore button. The third has three frosted tags with white dots and vertical contour lines. Each card ends with a small heading and three gray lines of body text, and a screen prop picks the card.
How it's built
A shared JavaScript core outputs a display list in source-image coordinates, and the React Native component draws it with react-native-svg inside a viewBox that scales to the requested card width. The photographs are bundled Image layers underneath. Frosted pills and buttons combine a translucent white fill with an expo-blur BlurView layered over the photo, and a gradient darkens the lower part for text. Pressable areas report which element was tapped through a callback. No animation loop was found in the files.
Good for
- A fitness or wellness onboarding carousel with one card per feature
- Photo-led cards where a data overlay or status pills sit on top of the image
- Notification-style frosted pills over a hero image
Dependencies
expo-blurreact-native-svgreact-native