About this animation
Get the free Shimmer Skeleton source component for React Native and Expo. It accepts your own placeholder composition, then moves one synchronized diagonal sheen across every SkeletonBlock instead of running disconnected animations for each row. Use it for profile cards, feeds, dashboards, product details, or any screen where the final layout is predictable before content loads. Reanimated keeps the shared transform on the UI thread, and Expo Linear Gradient produces the soft highlight across the clipped surface. Set loading to false to reveal the real children, tune the duration and colors to match your theme, and choose rectangular, rounded, or circular blocks for the layout.
When to use it
- Preview a feed layout while requests complete.
- Hold space for cards, avatars, and text rows.
- Avoid layout shifts around slow media.
- Replace a generic spinner with contextual feedback.
Related guides
Choose loading feedback by task
Use placeholders for a known layout, activity for an unknown duration, and measured progress only when your application supplies it.
- Reserve the layout while data loads · Shimmer Skeleton (this piece)
- Shimmering placeholders show where content will appear; they do not report a completion percentage.
- Reveal a loaded content layout · Skeleton to content
- Coordinates the handoff from placeholders to content rather than keeping a standalone loading loop on screen.
- Show activity or supplied progress · Orbit Chase Loader
- An orbital scene supports indeterminate activity, a real progress value, and a completion sequence.
- Mark the end of a focused wait · Liquid Orb Loader
- A fluid orb settles into a completion mark; swirling motion alone is not a measured percentage.
- Present a staged waiting sequence · Gooey Dots Loader
- Merging dots accompany a status list and reveal the next action. Connect application state deliberately; demo timing is not backend progress.
- Keep feedback inside the submitted action · Loading Morph Button
- The button changes loading state in place, preserving context instead of adding a separate full-screen scene.
A synchronized diagonal loading shimmer with configurable placeholder content, base color, highlight color, and duration.
How it works
- Pass a layout of
SkeletonBlockshapes throughplaceholder. - One UI-thread transform sweeps a wide gradient across the clipped surface.
- Set
loading={false}to reveal the supplied content.
Install
npx expo install expo-linear-gradient react-native-reanimated react-native-worklets
Usage
<ShimmerSkeleton loading={loading} placeholder={<SkeletonBlock height={80} />}>
<LoadedContent />
</ShimmerSkeleton>Props
| Prop | Type | Default | Description |
|---|---|---|---|
testID | string | undefined | Root ID; ${testID}-placeholder and ${testID}-content identify loading and revealed layers. Suffix IDs are omitted when testID is absent. |
loading | boolean | true | Shows placeholders while true. |
children | React.ReactNode | undefined | Content revealed after loading. |
placeholder | React.ReactNode | undefined | Placeholder layout that receives the shared shimmer. |
duration | number | 1400 | Sweep cycle duration. |
color | string | '#E7E8EE' | Surface color. |
highlightColor | string | 'rgba(255,255,255,0.88)' | Highlight color. |
style | StyleProp<ViewStyle> | undefined | Container style. |
accessibilityLabel | string | 'Loading content' | Accessible loading label. |
loading, placeholder, duration, color, highlightColor, style, and accessibilityLabel control the group. SkeletonBlock accepts width, height, variant, and color.
Compatibility
Expo SDK 58, React Native 0.88, Reanimated 4.7. Supports iOS, Android, and web.
Accessibility
Reports busy state and uses a static highlight when reduced motion is enabled.
FAQ
- Does the shimmer skeleton require a development build?
- It only depends on Expo Linear Gradient and Reanimated 4.7 for Expo SDK 58. Each published piece is reviewed on physical iPhone and Android devices with Expo Go before release.
- Can I build a custom skeleton layout?
- Yes. Pass any composition of SkeletonBlock elements through placeholder, then set each block's width, height, variant, and color.
- What happens when Reduce Motion is enabled?
- The moving sheen becomes a static highlight. The group also reports its busy state and keeps the loading layout readable to assistive technology.
Source code
Free with an account
Sign in with your email to read the full source here, or install it in one command with the CLI.




