Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA single-photo viewer with a caption, a bottom bar of Share, Favourite and Delete actions, swipe-down dismissal and a destructive Delete that asks through an action sheet. Use this when a phone shows one photo or document with a handful of actions, such as a gallery detail or an attachment preview.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it when a phone shows one photo or document with a handful of actions, such as a gallery detail or an attachment preview.
Do not use it for browsing many photos (use the grid viewer) or editing.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
src | string | required | The photo. |
alt | string | required | Alt text. |
caption | string | - | Shown under the photo. |
onDelete | () => void | required | Delete after confirmation. |
aria-pressed) whose label changes; Share and Delete are named buttons, not only icons.The pattern ships with a Testing Library test (photo-detail-with-actions.test.tsx) that drives it through roles and the keyboard.