npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-native-reels-view

v1.0.16

Published

A fully optimized React Native Reels/Shorts view component

Readme

React Native Reels View

A fully customizable, high‑performance Instagram/TikTok‑style Reels viewer for React Native. Built with TypeScript and designed for deeply interactive video feeds.

This package helps you build:

  • 🔥 Smooth vertically‑scrolling reels
  • 🎥 Auto‑play, mute/unmute, and per‑video refs
  • ❤️ Like/Unlike with custom UI
  • 💬 Comments, reactions, interaction bar
  • 🔗 Save/Unsave logic
  • 👤 Who reacted/commented components
  • 📌 Fully customizable render functions

React Native Reels View

A fully customizable, high-performance Instagram/TikTok-style Reels viewer for React Native.
Built with TypeScript and designed for deeply interactive video feeds.


✨ Features

  • 🎥 Smooth Auto-Play Reels
  • 🔄 Vertical reel pagination
  • 🔊 Mute / Unmute per video
  • ❤️ Double-tap Like animation
  • 💬 Comment bottom sheet
  • 🤳 Customizable author/details section
  • Custom interaction bar
  • 📌 Save / Unsave functionality
  • 🎛 All UI overrideable via render functions
  • Memoized + highly optimized
  • 💨 Instant load — components stay mounted
  • 📲 Works on both iOS & Android

📸 Demo Preview

📱 iOS

iOS Preview

🤖 Android

Android Preview


🎞 Full Demo

Click to watch the complete demo:

![Watch Demo]


📦 Installation

npm install react-native-reels-view

or

yarn add react-native-reels-view

Peer Dependencies

Before using react-native-reels-view, make sure to install:

yarn add react-native-video react-native-reanimated react-native-gesture-handler

🚀 Basic Usage

import ReelsView from "react-native-reels-view";

const App = () => {
  return (
    <ReelsView
      data={reelsData}
      
    />
  );
};

📘 API Reference

Below is the complete documentation for MyListProps<T>.


🔹 data: T[] (required)

The array of reel items.


🔹 renderItem?: (item: T, index: number) => React.ReactNode

Custom renderer for each reel.


🔹 canGoBack?: boolean

If true, shows a back icon.


🔹 onEndReached?: () => void

Triggered when the user scrolls to the last reel.


🔹 onEndReachedThreshold?: number

Defines how close to the bottom before onEndReached fires.


🔹 viewabilityConfig?: FlatListProps["viewabilityConfig"]

Controls which items are considered "viewable".


🔹 ListFooterComponent?: React.ReactNode

Renders custom footer.


🔹 ref?: React.Ref<FlatList>

Reference to the FlatList.


🔹 initialLoading?: boolean

Show loading before first reel appears.


🔹 loadingComponent?: React.ReactNode

Custom loading UI.


🎵 Mute/Unmute Icons

muteIcon?: React.ReactNode

unMuteIcon?: React.ReactNode


🎥 videosRef?: VideoRef | Record<string, VideoRef> | function

Used to control videos individually.

Example usage:

videosRef={(refs) => console.log(refs)}

🎛 reelsDetails?: (details, index) => React.ReactNode

Render custom author & description block.


⭐ Interaction Bar

reelsInteractionBar?: (details, index) => React.ReactNode

Fully custom interaction UI (like/share/save/comment).


❤️ Like / Unlike Icons

  • unlikeIcon?: React.ReactNode
  • likeIcon?: React.ReactNode

📌 Save / Unsave Icons

  • unsaveIcon?: React.ReactNode
  • saveIcon?: React.ReactNode

👤 currentUser?: { id, name, image, role? }

Used for reactions & comment attribution.


🧑‍🤝‍🧑 whoReactedComponent?: ({ item, index }) => React.ReactNode

Render list of people who liked the reel.


💬 whoCommentedComponent?: ({ item, index }) => React.ReactNode

Render list of commenters.


📝 onLikeTextPress?: (item, index) => void

Handles when user taps “Liked by…” text.


❤️‍🔥 LikeComponent

LikeComponent?: (
  details: { post: any; isLike: boolean; setIsLike: (value: boolean) => void },
  index: number
) => React.ReactNode;

Lets you override like logic entirely.


💾 SaveComponent

SaveComponent?: (
  details: { post: any; isSave: boolean; setIsSave: (value: boolean) => void },
  index: number
) => React.ReactNode;

✉ onSendComment

onSendComment?: ({ commentText, post, setCommentText }) => void;

Called when user submits a comment.


📥 renderInputComponent?: (post) => React.ReactNode

Custom input field.


🗂 customCommentsComponent?: ({ item, index }) => React.ReactNode

Override entire comments list.


🎯 Summary

This package gives you:

  • Full control over UI
  • Per‑reel refs
  • All interactions customizable
  • Commenting system
  • Reactions system
  • Smooth infinite scroll reels

Perfect for building:

  • Social feeds
  • Stories & reels
  • Content discovery pages

📄 License

MIT


If you want, I can also generate: ✔ npm‑ready README formatting ✔ GitHub badges ✔ Demo GIF placeholders ✔ Example code folder