Menu

Post image 1
Post image 2
Post image 3
Post image 4
1 / 4
0

react-native-modern-shimmer : The Simplest Shimmer Skeleton Loader for React Native — Zero Dependencies, Auto Dark Mode.

DEV Community: expo·Abu Hasnat Nobin·about 1 month ago
#iFy6Nadn
#dev#class#code#shimmer#width#article
Reading 0:00
15s threshold

Every React Native app needs a loading state. And every developer eventually ends up writing the same boilerplate — a bunch of gray View components with hardcoded sizes, trying to approximate what the real UI will look like. I got tired of doing that on every project. So I built react-native-modern-shimmer — a lightweight, zero-dependency shimmer skeleton loader that works beautifully out of the box. What it looks like Android iOS Smooth, professional, and it automatically switches between light and dark mode — no extra props needed. The problem with existing solutions Most shimmer libraries for React Native have at least one of these problems: They require expo-linear-gradient or react-native-linear-gradient — which means native linking, which means it doesn't work in Expo Go They don't support dark mode at all They have no TypeScript types They're abandoned and unmaintained react-native-modern-shimmer solves all of these.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More