ComponentsDisplay Components

Subtitle

A secondary text component for displaying subtitles, descriptions, or supporting information within the video player UI.

Usage

import { Subtitle } from 'react-native-video-toolkit';

export function Example() {
  return <Subtitle text="Tap to adjust playback speed" />;
}

Props

PropTypeRequiredDefaultDescription
textstringYesThe string to display.
styleStyleProp<TextStyle>NoOptional override styles (merged with theme + defaults).

When to Use

  • Use Subtitle for secondary information under a Title, such as:
    • Episode numbers
    • Season numbers/series titles
    • Short descriptions or hints

On this page