mfrachet/rn-placeholder
mfrachet/rn-placeholder has 2,124 GitHub stars and 178 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-11 11:53 UTC. Last push 2023-01-26.
🏖️ Display some placeholder stuff before rendering your text or media content in React Native
What you can do
- Rewritten in Typescript
- Less code, more fun 😎
- API Suspense oriented
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalThis project is looking for motivated maintainers, see this issue for more information.
Display some placeholder stuff before rendering your text or media content in React Native. Compatible with Expo and react-native-web.
- Snack application with copy to clipboard!
- Usage with react-native-web
- The N Props syndrome (post): explaining the transition between v2 and v3

Usage
Installation
$ yarn add rn-placeholder
In your code
import {
Placeholder,
PlaceholderMedia,
PlaceholderLine,
Fade
} from "rn-placeholder";
const App = () => (
<Placeholder
Animation={Fade}
Left={PlaceholderMedia}
Right={PlaceholderMedia}
>
<PlaceholderLine width={80} />
<PlaceholderLine />
<PlaceholderLine width={30} />
</Placeholder>
);
The v3 comes with an example app that provides different stories and example of the library:
- Stories for elements
- Stories for animations
- Stories for customizing elements
- Stories for customizing animations
Run the example apps
You can modify any call of yarn by npm install
To start the mobile app:
$ git clone https://github.com/mfrachet/rn-placeholder
$ cd rn-placeholder
$ yarn
$ cd ./example && yarn && yarn start
To start the web app:
$ git clone https://github.com/mfrachet/rn-placeholder
$ cd rn-placeholder
$ yarn
$ cd ./example-web && yarn && yarn start
The web app is also available in this github pages: https://mfrachet.github.io/rn-placeholder.
V3 features
- Rewritten in Typescript
- Less code, more fun 😎
- API Suspense oriented
- New animations
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
459,006 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,619 starsreact/react
The library for web and native user interfaces.
252,530 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,532 stars