ComponentsDisplay

Subtitle

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

Usage

Tap to adjust playback speed
import React from 'react';
import { Subtitle } from 'react-native-video-toolkit';

export const SubtitleExample = () => {
  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