Moments tabs

Moments tabs show several feeds in the Moments player. Each tab uses its own data source, title, and styling. Viewers switch tabs inside the player instead of leaving and opening another feed.

Available on:iOSAndroidReact NativeFlutter

Moments tabs aren't available on Web.

Moments tabs player with multiple feeds

What it does

  • Multiple feeds: Each tab loads Moments from a data source you assign.
  • Widget entry: A tap on a Moments widget opens the tabs player instead of a single feed.
  • First tab and widget: When entry is from a widget, the first tab uses the same data source as that widget. Keep that tab available for the life of the widget.
  • Tapping the current tab: When a Viewer taps the tab they're already on, your app gets onTabReselected, not onTabSelected. The SDK doesn't reload the tab or scroll it on its own. To show fresh content, call reloadTab from that callback. See iOS | Android | React Native.

How it fits with other player options

  • Single fullscreen Moments player: One feed; use this when you don't need tabs.
  • Moments container: Embeds the player in your app layout (see Player sources). This isn't the fullscreen Moments tabs player.

Implementation

iOS, Android, and React Native

Web

The Web SDK supports Moments widgets and the Moments player. Moments tabs aren't available on Web.


Did this page help you?