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-ease-skeleton

v0.7.0

Published

Lightweight skeleton component for lists using react-native-ease animating library, compatible with Typescript

Readme

🦴 react-native-ease-skeleton

NPM Version MIT License

Ultra-performant, hardware-accelerated skeleton loaders for React Native.

Crafted specifically for complex lists (FlashList, LegendList), leveraging react-native-ease for buttery-smooth animations using GPU-accelerated opacity transitions instead of heavy background-color repaints.


🚀 Key Features

  • ⚡ Hardware Accelerated: Uses opacity animations to ensure 120 FPS even in massive lists.
  • 📦 Lightweight: Zero-config needed, fits gracefully into any design system.
  • 🎨 Dark Mode Support: Built-in refined color palettes for both Light and Dark themes.
  • 🛠 Fully Customizable: Adjustable dimensions, border radius, colors, and animation duration.
  • 💪 TypeScript First: Written in TS for a type-safe development experience.

📦 Installation

# Using npm
npm install react-native-ease-skeleton react-native-ease

# Using yarn
yarn add react-native-ease-skeleton react-native-ease

# Using bun
bun add react-native-ease-skeleton react-native-ease

[!TIP] This library is Zero JS Overhead. It uses react-native-ease to drive animations directly via native OS APIs (Core Animation / Animator), ensuring perfectly smooth 120 FPS without complex setup like Reanimated.


🛠 Usage

import React from 'react';
import { View, Text, Image } from 'react-native';
import { Skeleton } from 'react-native-ease-skeleton';

const ProfileCard = ({ user, isLoading }) => {
  return (
    <View style={{ padding: 20, backgroundColor: '#111' }}>
      <View style={{ flexDirection: 'row', alignItems: 'center' }}>
        {/* Avatar Skeleton */}
        <Skeleton
          width={52}
          height={52}
          borderRadius={26}
          show={isLoading}
          colorMode="dark"
        >
          <Image
            source={{ uri: user?.avatar }}
            style={{ width: 52, height: 52, borderRadius: 26 }}
          />
        </Skeleton>

        <View style={{ marginLeft: 12 }}>
          {/* Title Skeleton */}
          <Skeleton
            width={120}
            height={18}
            borderRadius={6}
            show={isLoading}
            colorMode="dark"
          >
            <Text style={{ color: '#FFF', fontWeight: 'bold' }}>
              {user?.name}
            </Text>
          </Skeleton>
        </View>
      </View>
    </View>
  );
};

⚙️ Configuration (Props)

| Prop | Type | Default | Description | | :----------------- | :------------------ | :----------- | :---------------------------------------------------------- | | show | boolean | Required | Controls whether to show the skeleton or the child content. | | width | DimensionValue | 100 | Width of the skeleton element. | | height | DimensionValue | 100 | Height of the skeleton element. | | borderRadius | number | 4 | Corner radius of the skeleton. | | colorMode | 'light' \| 'dark' | 'light' | Preset color schemes for theme matching. | | colors | [string, string] | Presets | Custom low/high colors for the animation loop. | | duration | number | 1000 | Speed of the pulse animation in milliseconds. | | style | ViewStyle | — | Custom container styles. |


🛠 Development & Example

This repository includes an Example App built with Expo to showcase the performance of the skeleton loaders in large lists.

Run the Example

  1. Clone the repository:

    git clone https://github.com/kyrylokap/react-native-ease-skeleton.git
    cd react-native-ease-skeleton
  2. Install dependencies:

    yarn install
  3. Start the example app:

    Using Yarn:

    yarn example start

    Using NPM:

    cd example && npm start

    Using Bun:

    cd example && bun start

    _Alternatively, you can run directly on iOS/Android (e.g., yarn example ios).__


🔥 Performance Tips

Use in Lists (FlashList / LegendList)

To achieve the best performance in infinite lists:

  1. Memoize your cards: Use React.memo to prevent unnecessary re-renders.
  2. Stable dimensions: Always provide explicit width and height to avoid layout shifts.
  3. Hardware Acceleration: This library uses an overlay view with opacity animation. This is significantly cheaper for the GPU than animating backgroundColor, as it avoids constant layout invalidation and view-tree repainting.

📄 License

MIT © kyrylokap