Skip to Content

Feed props reference

Configure the Rixl React feed viewport, looping, automatic advancement, mute state, and callbacks.

import type {FeedProps} from "@rixl/media-react/feed";

export const feedProps = {feedId: "YOUR_FEED_ID", muted: true} satisfies FeedProps;

Configuration

PropTypeDefaultPurpose
feedIdstring""Rixl feed to load
mutedbooleantrueInitial feed mute preference
loopbooleanfalseLoop behavior
autoscrollbooleanfalseAdvance on video completion or image dwell
langPlayerLanguage"en"Player language
feedFontFontFamilyKey—Feed font configuration
analyticsbooleantrueEnable analytics
analyticsPagePage"feed"View context
safeAreaTabBarnumber12Safe-area value used by feed layout
className, styleReact host attributes—Feed dimensions and layout

Give the feed an explicit height. Published components fetch and paginate by feedId; posts, onFetchMore, and initialIndex are not production alternatives for selecting feed data or its starting post.

Events

CallbackArgument
onMuteChangeMuted boolean
onCurrentIndexChange(index: number, postId: string | undefined)
onRixlAnalyticsCustom event; payload at event.detail.event

Refs receive the underlying RixlFeed element. See Feed usage for a complete example.