Skip to content
Native Animation
Shimmer Skeleton animation preview

This preview uses fictional demo content. See the props below for the customization options available in this component.

npx nativeanimation add shimmer-skeleton

Shimmer Skeleton

React Native Shimmer Skeleton Component — Free Source

A synchronized diagonal loading shimmer with configurable placeholder content, base color, highlight color, and duration.

Free
Get it free with your email

No password and no card: we email you a sign-in link, then the full source is yours.

Add to your project

Copy the component and its assets into your app with the Native Animation CLI, or paste the agent prompt into Claude Code, Codex or Cursor once the MCP server is connected.

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

  1. Pass a layout of SkeletonBlock shapes through placeholder.
  2. One UI-thread transform sweeps a wide gradient across the clipped surface.
  3. 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

PropTypeDefaultDescription
testIDstringundefinedRoot ID; ${testID}-placeholder and ${testID}-content identify loading and revealed layers. Suffix IDs are omitted when testID is absent.
loadingbooleantrueShows placeholders while true.
childrenReact.ReactNodeundefinedContent revealed after loading.
placeholderReact.ReactNodeundefinedPlaceholder layout that receives the shared shimmer.
durationnumber1400Sweep cycle duration.
colorstring'#E7E8EE'Surface color.
highlightColorstring'rgba(255,255,255,0.88)'Highlight color.
styleStyleProp<ViewStyle>undefinedContainer style.
accessibilityLabelstring'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.

Get it free