Post Detail
View a photo post full screen with its carousel, caption, camera notes and comments. Double-tap to like and a warm glow spreads from your finger across the photo, then gathers into the heart.
About the Post Detail screen
Social app screens: profiles, posts, comments, explore grids, followers, mentions and creation flows. This is one of 13 social screens.
How it behaves
It responds to taps, double taps, swipes and scrolling. On a phone you feel a light tap on buttons and a selection tick when you switch an option.
- Keeps fields and actions above the on-screen keyboard.
- The header reacts to scrolling instead of sitting on top of the content.
- Respects Reduce Motion: movement drops out and the feedback stays.
Make it yours
npx @lumioui/cli add pro/social-post-detail copies the screen into screens/social/post-detail.tsx along with the 7 components it uses, so the source is yours to edit.
It's shown here in the coral accent: wrap it in a different <Accent> to recolour every button, highlight and chart at once. It follows light and dark mode, and runs on iOS and Android, including Expo Go.
Built from
- AvatarCircular profile image with fallback initials and a presence dot. An optional mode shows presence on the photo itself, bright when online and faded when away or offline.
- Follow ButtonFollow button that confirms with a check, then reshapes into a quieter Following state. Unfollowing takes two taps, and it handles requested, follow-back and failed follows gracefully.
- GlassGlass surface for cards and controls: system glass on newer iOS, real refraction on the web and a frosted look elsewhere. Light can gather under your finger, and panes merge on newer iOS and the web.
- IconIcon set drawn on one consistent grid, sized and coloured from your theme. The heart, star and bookmark can fill in place inside their outline, then fade back out.
- Like ButtonHeart toggle for social feeds that fills from the bottom up with a soft glow and updates the count in place. It fills however the post gets liked, including a double-tap on the photo.
- Save ButtonSave, bookmark and favourite toggle as an icon or pill. Saving fills the icon with colour from the inside and changes Save to Saved; unsaving drains it back out.
- TextThemed type scale from caption to display that follows light and dark mode. Includes a pull-quote style with an accent rule and a quieter dimmed tone for secondary text.