This is beta documentation for Stream Chat React Native SDK v9. For the latest stable version, see the latest version (v8) .

VideoPlayIndicator

VideoPlayIndicator renders a circular play button overlay used on video thumbnails and previews. It displays a play icon centered within a semi-transparent circular container.

Usage

import { VideoPlayIndicator } from "stream-chat-react-native";

<VideoPlayIndicator size="md" />;

Props

size (required)

The size of the play indicator.

TypeValues
string'sm' | 'md' | 'lg'

Size mapping:

SizeContainer DimensionsIcon Size
sm20 × 2010
md40 × 4016
lg48 × 4820

The background color is sourced from the controlPlayControlBg semantic token in the theme.