Media Mark

A white mark over a photo or a video, on the platform's darkening, its middle on the center of the corner's arc.

import { MediaMark } from "@plexui/react-native"

Examples

Overview

Platforms

iOS 27Android
Native componentNone: Photos' marks over a thumbnailNone: Google Photos' marks over a thumbnail
LookA radial darkening from the mark's corner (38% black, gone 65 by 41), an edge's across the widthA linear darkening from the mark's edge across the width, 26% black, gone 56dp in

API

PropTypeDefaultDescription
placement"topStart" | "topEnd" | "bottomStart" | "bottomEnd" | "top" | "bottom"—Where the mark stands over the media: a corner, or the middle of the top or bottom edge
radiusnumber12 on iOS, 17 on AndroidThe media's corner radius: the mark's middle stands this far from the edges it is at, on the center of the corner's arc
scrimbooleantrueThe platform's darkening under the mark, which keeps white marks legible on a light photo
childrenReactNode—The mark: a symbol, a label, a PageControl in tone="onColor"
styleStyleProp<ViewStyle>—Style of the layer over the media
testIDstring—Test id

MEDIA_MARK holds the measures.