React Native Skeleton Loader: Expo Guide and Examples
By Native Animation · Updated
A React Native skeleton loader reserves the layout of content while it is being fetched. For an Expo skeleton loader, begin with ordinary Views; add a pulse or shimmer only if movement helps explain the wait. Match the final layout, expose one loading announcement, and replace the placeholder as soon as content is ready.
Choose shimmer, pulse, or skeleton-to-content
| Variant | Choose it for | Keep in mind |
|---|---|---|
| Static skeleton | A known layout, especially with Reduce Motion | Space and a loading label communicate the state without movement |
| Pulse | A compact card or row that needs gentle activity feedback | Change the opacity of the group; do not animate every line separately |
| Shimmer | A coordinated highlight across an image-and-text placeholder | Bound the highlight and keep contrast low, especially in dark mode |
| Skeleton-to-content | A stable card or feed boundary with a deliberate reveal | Data readiness controls the handoff; never wait for an animation cycle to finish |
Compare Shimmer Skeleton, Skeleton to Content, and the other React Native loading patterns. For incremental generated text, keep partial content visible instead of replacing it with a full skeleton.
Minimal Reanimated 4 pulse
This standalone component uses Reanimated 4 and its worklets runtime, without a gradient dependency. Save it as PulseSkeleton.tsx and render <PulseSkeleton loading={loading}><YourContent /></PulseSkeleton>. Its single placeholder represents a card: replace its dimensions with the real card layout. It swaps content immediately rather than animating a handoff.
npx expo install react-native-reanimated react-native-workletsimport { useEffect, type ReactNode } from 'react';
import { View } from 'react-native';
import Animated, {
cancelAnimation,
useAnimatedStyle,
useReducedMotion,
useSharedValue,
withRepeat,
withTiming,
} from 'react-native-reanimated';
type PulseSkeletonProps = { loading: boolean; children: ReactNode };
export function PulseSkeleton({ loading, children }: PulseSkeletonProps) {
const reducedMotion = useReducedMotion();
const opacity = useSharedValue(1);
useEffect(() => {
cancelAnimation(opacity);
opacity.set(1);
if (loading && !reducedMotion) {
opacity.set(withRepeat(withTiming(0.55, { duration: 800 }), -1, true));
}
return () => cancelAnimation(opacity);
}, [loading, opacity, reducedMotion]);
const pulseStyle = useAnimatedStyle(() => ({ opacity: opacity.get() }));
if (!loading) return <>{children}</>;
return (
<View accessible accessibilityLabel="Loading card" accessibilityState={{ busy: true }}>
<Animated.View
accessibilityElementsHidden
importantForAccessibility="no-hide-descendants"
style={[{ height: 120, borderRadius: 16, backgroundColor: '#E7E8EE' }, pulseStyle]}
/>
</View>
);
}The animated style is automatically workletized by the configured Reanimated tooling. With Expo SDK 58, babel-preset-expo configures the plugin when the packages are installed; no runOnJS bridge or JS interval is needed. See the SDK 58 Reanimated setup and withRepeat reference.
The hook reads the system Reduce Motion preference at startup. It does not subscribe to later setting changes. If your screen must respond while it stays mounted, observe AccessibilityInfo.addEventListener('reduceMotionChanged', handler), store that preference in React state, and remove the subscription on cleanup. Use that state in place of the hook result to stop the loop and restore full opacity. See the Reanimated hook behavior and React Native AccessibilityInfo.
Compare skeleton libraries for React Native and Expo
| Option | Useful when | Check before adopting |
|---|---|---|
| react-native-fast-shimmer | You want provider-coordinated shimmer placeholders sized to their parent | Its documented setup uses Reanimated and react-native-svg. Check peer versions against your Expo SDK and own the loading and error boundary |
| react-native-reanimated-skeleton | You want bones derived from direct children or a custom layout array | Its README targets Reanimated 3 and describes an Expo gradient import patch. Verify the exact release with Reanimated 4 and your SDK before choosing it |
| Local Views with Reanimated | You need a small layout and direct control of motion and accessibility | You own geometry, theming, request state, and cleanup; the pulse above is a minimal starting point |
| Catalog source components | You want a documented shimmer or a coordinated content reveal to adapt | Choose by the piece API and dependencies, rather than treating every loader as interchangeable |
These are different integration choices, not a performance ranking. The upstream documentation linked above does not establish that either library has been tested with this guide's exact SDK 58 stack. Evaluate the installed release in your app, including screen readers and Reduce Motion; do not infer compatibility from the package name.
What you'll build
The component accepts any placeholder layout and any loaded content. One shared progress value moves a single diagonal highlight across the whole group, which makes separate text and image blocks feel like one material instead of several unrelated animations.
The loader also reports a busy accessibility state, becomes static when Reduce Motion is enabled, and preserves space when placeholder and content geometry match. The result is appropriate for cards, profile headers, list rows, and detail screens.
Prerequisites
Use Expo SDK 58, React Native 0.88, Reanimated 4.7.1, react-native-worklets 0.13.0, and expo-linear-gradient. This effect does not need Gesture Handler, Skia, Blur, or Haptics.
Install versions resolved for the current Expo SDK:
npx expo install react-native-reanimated react-native-worklets expo-linear-gradientThe official Expo LinearGradient documentation covers the native gradient component used for the highlight. For animation setup and supported platforms, use the SDK 58 Reanimated page.
Design the placeholder from the real layout
A useful skeleton predicts the structure that will replace it. Match the eventual image ratio, title width, line count, and spacing; do not fill the screen with arbitrary gray bars. Stable geometry reduces perceived waiting and prevents the interface from jumping when data arrives.
The reusable block below supports rectangular, circular, and text-like shapes. The parent owns the shimmer so every block shares the same light pass.
Build the synchronized shimmer
Create ShimmerSkeleton.tsx:
import { useEffect, type ReactNode } from 'react';
import { StyleSheet, View, type StyleProp, type ViewStyle } from 'react-native';
import { LinearGradient } from 'expo-linear-gradient';
import Animated, {
Easing,
cancelAnimation,
interpolate,
useAnimatedStyle,
useReducedMotion,
useSharedValue,
withRepeat,
withTiming,
} from 'react-native-reanimated';
type SkeletonBlockProps = {
width?: number | `${number}%`;
height?: number;
variant?: 'rectangle' | 'circle' | 'text';
style?: StyleProp<ViewStyle>;
};
export function SkeletonBlock({
width = '100%',
height = 16,
variant = 'rectangle',
style,
}: SkeletonBlockProps) {
const radius = variant === 'circle' || variant === 'text' ? height / 2 : 14;
return (
<View
style={[styles.block, { width, height, borderRadius: radius }, style]}
/>
);
}
type ShimmerSkeletonProps = {
loading: boolean;
placeholder: ReactNode;
children: ReactNode;
duration?: number;
accessibilityLabel?: string;
style?: StyleProp<ViewStyle>;
};
export function ShimmerSkeleton({
loading,
placeholder,
children,
duration = 1400,
accessibilityLabel = 'Loading content',
style,
}: ShimmerSkeletonProps) {
const reducedMotion = useReducedMotion();
const progress = useSharedValue(-1);
const reveal = useSharedValue(loading ? 0 : 1);
const width = useSharedValue(0);
useEffect(() => {
cancelAnimation(progress);
reveal.set(
reducedMotion
? loading
? 0
: 1
: withTiming(loading ? 0 : 1, { duration: 240 }),
);
if (loading && !reducedMotion) {
progress.set(-1);
progress.set(
withRepeat(
withTiming(1, { duration, easing: Easing.linear }),
-1,
false,
),
);
}
return () => {
cancelAnimation(progress);
cancelAnimation(reveal);
};
}, [duration, loading, progress, reducedMotion, reveal]);
const shimmerStyle = useAnimatedStyle(() => ({
opacity: reducedMotion ? 0 : 1,
transform: [
{
translateX: interpolate(
progress.get(),
[-1, 1],
[-150, width.get() + 150],
),
},
{ rotate: '-12deg' },
],
}));
const placeholderStyle = useAnimatedStyle(() => ({
opacity: 1 - reveal.get(),
}));
const contentStyle = useAnimatedStyle(() => ({ opacity: reveal.get() }));
return (
<View
onLayout={(event) => width.set(event.nativeEvent.layout.width)}
accessible={loading}
accessibilityLabel={loading ? accessibilityLabel : undefined}
accessibilityLiveRegion="polite"
accessibilityState={{ busy: loading }}
style={[styles.root, style]}
>
<Animated.View
pointerEvents={loading ? 'auto' : 'none'}
style={[styles.placeholder, placeholderStyle]}
>
<View
accessibilityElementsHidden
importantForAccessibility="no-hide-descendants"
style={styles.clip}
>
{placeholder}
<Animated.View
pointerEvents="none"
style={[styles.shimmer, shimmerStyle]}
>
<LinearGradient
colors={[
'rgba(255,255,255,0)',
'rgba(255,255,255,0.85)',
'rgba(255,255,255,0)',
]}
end={{ x: 1, y: 0.5 }}
start={{ x: 0, y: 0.5 }}
style={StyleSheet.absoluteFill}
/>
</Animated.View>
</View>
</Animated.View>
<Animated.View
accessibilityElementsHidden={loading}
importantForAccessibility={loading ? 'no-hide-descendants' : 'auto'}
pointerEvents={loading ? 'none' : 'auto'}
style={contentStyle}
>
{loading ? placeholder : children}
</Animated.View>
</View>
);
}
const styles = StyleSheet.create({
root: { position: 'relative' },
placeholder: {
bottom: 0,
left: 0,
position: 'absolute',
right: 0,
top: 0,
},
clip: { flex: 1, overflow: 'hidden' },
block: { backgroundColor: '#E7E8EE', overflow: 'hidden' },
shimmer: {
bottom: -80,
position: 'absolute',
top: -80,
width: 150,
},
});How the animation works
The sweep shared value travels from -1 to 1, then withRepeat restarts it forever while loading. interpolate maps that normalized phase to a horizontal translation wide enough to begin and end outside the clipped container. The highlight is taller than the card and rotated, creating a diagonal sweep without animating every placeholder separately.
Linear easing is important for a repeating shimmer. An ease-in or ease-out curve visibly slows at the edges and makes the restart feel like a pulse. The default duration is an example design choice; tune it to the surface and test for distracting flashes.
There is one continuously repeating shared value; a separate reveal value runs only when loading changes. The block layout is static React Native view geometry, and the native gradient moves on the UI thread. That is cheaper and more coherent than creating one repeating animation per line.
Which skeleton should you use?
Choose the loading pattern from the state you need to explain. These published pieces cover different jobs rather than three interchangeable shimmer effects:
| Pattern | Motion | Content transition | Streaming or AI | Dependencies | Reduced motion |
|---|---|---|---|---|---|
| Shimmer Skeleton | Shimmer | Fades from a matched placeholder | No | Reanimated and Expo LinearGradient | Static placeholder |
| Skeleton to Content | Morph and reveal | Coordinates placeholder-to-content handoff | No | Check the piece compatibility table | Still reveal |
| Streaming Skeleton Shell | Pulse and staged updates | Keeps a shell while partial content arrives | Yes, for streamed or generated content | Check the piece compatibility table | Static staged shell |
Use shimmer when a known layout is waiting for one response, a morphing handoff when the loaded layout deserves a deliberate reveal, and a streaming shell when text or sections arrive incrementally. The loaders collection groups these with progress and spinner patterns so you can compare the surrounding task.
Reusable list row, card, and profile header templates
Save this as SkeletonLayouts.tsx beside ShimmerSkeleton.tsx. All three layouts reuse the same SkeletonBlock. These are starting layouts: match their padding, image dimensions, and text line boxes to your actual components. The row example below uses the same geometry for its loaded state.
import { StyleSheet, Text, View } from 'react-native';
import { ShimmerSkeleton, SkeletonBlock } from './ShimmerSkeleton';
export function ListRowSkeleton() {
return (
<View style={layout.row}>
<SkeletonBlock width={48} height={48} variant="circle" />
<View style={layout.copy}>
<View style={layout.line}>
<SkeletonBlock width="72%" height={16} variant="text" />
</View>
<View style={layout.line}>
<SkeletonBlock width="48%" height={14} variant="text" />
</View>
</View>
</View>
);
}
export function CardSkeleton() {
return (
<View style={layout.card}>
<SkeletonBlock height={164} />
<SkeletonBlock width="80%" height={24} variant="text" />
<SkeletonBlock height={20} variant="text" />
<SkeletonBlock width="60%" height={20} variant="text" />
</View>
);
}
export function ProfileHeaderSkeleton() {
return (
<View style={layout.profile}>
<SkeletonBlock width={80} height={80} variant="circle" />
<SkeletonBlock width={160} height={28} variant="text" />
<SkeletonBlock width={220} height={20} variant="text" />
<View style={layout.stats}>
{[0, 1, 2].map((slot) => (
<SkeletonBlock key={slot} width={64} height={40} />
))}
</View>
</View>
);
}
export function ProfileHeader({
profile,
}: {
profile: { name: string; bio: string; stats: string[] } | null;
}) {
return (
<ShimmerSkeleton
loading={profile === null}
placeholder={<ProfileHeaderSkeleton />}
accessibilityLabel="Loading profile"
>
{profile ? (
<View style={layout.profile}>
<View
style={{
width: 80,
height: 80,
borderRadius: 40,
backgroundColor: '#E7E8EE',
}}
/>
<Text style={{ minHeight: 28, lineHeight: 28 }}>{profile.name}</Text>
<Text style={{ minHeight: 20, lineHeight: 20 }}>{profile.bio}</Text>
<View style={layout.stats}>
{profile.stats.map((stat, index) => (
<Text key={index} style={{ width: 64, minHeight: 40 }}>
{stat}
</Text>
))}
</View>
</View>
) : null}
</ShimmerSkeleton>
);
}
export const layout = StyleSheet.create({
row: {
flexDirection: 'row',
alignItems: 'center',
padding: 16,
gap: 12,
minHeight: 80,
},
copy: { flex: 1, gap: 4 },
line: { minHeight: 22, justifyContent: 'center' },
card: { padding: 20, gap: 14 },
profile: { alignItems: 'center', padding: 24, gap: 12 },
stats: { flexDirection: 'row', gap: 24 },
});Skeleton loading for a FlatList
This complete data boundary accepts an async loader instead of assuming a particular API. Save it as PeopleList.tsx. On initial load it renders six placeholder rows, an example count for a compact viewport, not a universal rule. Choose enough to cover your expected viewport rather than generating hundreds. FlatList keeps virtualization; never wrap it in a same-direction ScrollView.
import { useEffect, useState } from 'react';
import { FlatList, Pressable, Text, View } from 'react-native';
import { ShimmerSkeleton } from './ShimmerSkeleton';
import { layout, ListRowSkeleton } from './SkeletonLayouts';
export type Person = { id: string; name: string; detail: string };
type Row =
{ kind: 'placeholder'; id: string } | { kind: 'person'; person: Person };
type Result =
| { status: 'loading' }
| { status: 'error' }
| { status: 'ready'; people: Person[] };
const placeholders: Row[] = Array.from({ length: 6 }, (_, index) => ({
kind: 'placeholder',
id: 'placeholder-' + index,
}));
export function PeopleList({
loadPeople,
}: {
loadPeople: (signal: AbortSignal) => Promise<Person[]>;
}) {
const [result, setResult] = useState<Result>({ status: 'loading' });
const [attempt, setAttempt] = useState(0);
useEffect(() => {
const controller = new AbortController();
setResult({ status: 'loading' });
void (async () => {
try {
const people = await loadPeople(controller.signal);
if (!controller.signal.aborted) setResult({ status: 'ready', people });
} catch {
if (!controller.signal.aborted) setResult({ status: 'error' });
}
})();
return () => controller.abort();
}, [attempt, loadPeople]);
const loading = result.status === 'loading';
const rows: Row[] =
result.status === 'ready'
? result.people.map((person) => ({ kind: 'person', person }))
: loading
? placeholders
: [];
return (
<View style={{ flex: 1 }} accessibilityState={{ busy: loading }}>
<Text accessibilityLiveRegion="polite" style={{ minHeight: 24 }}>
{loading ? 'Loading people' : 'People'}
</Text>
<FlatList<Row>
accessibilityElementsHidden={loading}
importantForAccessibility={loading ? 'no-hide-descendants' : 'auto'}
data={rows}
keyExtractor={(row) =>
row.kind === 'placeholder' ? row.id : 'person-' + row.person.id
}
renderItem={({ item }) => (
<ShimmerSkeleton
loading={item.kind === 'placeholder'}
placeholder={<ListRowSkeleton />}
>
{item.kind === 'person' ? (
<View style={layout.row}>
<View
style={{
width: 48,
height: 48,
borderRadius: 24,
backgroundColor: '#E7E8EE',
}}
/>
<View style={layout.copy}>
<Text style={layout.line}>{item.person.name}</Text>
<Text style={layout.line}>{item.person.detail}</Text>
</View>
</View>
) : null}
</ShimmerSkeleton>
)}
ListEmptyComponent={
result.status === 'error' ? (
<View style={{ padding: 16 }}>
<Text accessibilityRole="alert">Could not load people.</Text>
<Pressable
accessibilityRole="button"
accessibilityLabel="Retry loading people"
onPress={() => setAttempt((value) => value + 1)}
style={{ minHeight: 48, justifyContent: 'center' }}
>
<Text>Try again</Text>
</Pressable>
</View>
) : (
<Text>No people yet.</Text>
)
}
/>
</View>
);
}Keep loadPeople stable with a module-level function or useCallback in the parent. For a fetch implementation, check the HTTP response before returning parsed, validated data. Aborting on cleanup also prevents stale results from replacing newer requests even if your data layer ignores the signal.
Placeholder keys are stable during loading; real rows use data IDs, never random keys or array positions. The key change deliberately remounts loaded rows, so this list performs a direct replacement rather than a crossfade across unrelated records. The shared row layout preserves positions for equivalent content. Text remains free to grow with Dynamic Type; if a name wraps or fewer than six records arrive, the total list height can change. Do not claim fixed-height behavior or use getItemLayout unless every row really has that height at supported font sizes.
Reveal content without layout shift
The ProfileHeader example expects three stat labels; its placeholder reserves three slots. For a card or profile with a stable identity, keep the same ShimmerSkeleton mounted and change its loading prop. Its invisible sizing branch contains the placeholder during loading, then the real children. The visible skeleton sits above it; a separate reveal value fades that overlay away. Finishing a request halfway through a sweep therefore never jumps the reveal to an unrelated shimmer phase. Both animations are canceled on cleanup.
The placeholder must match the final geometry: image aspect ratio, padding, text line boxes, and avatar size. A fade changes opacity, not layout. For variable text, reserve a design-appropriate minimum height or accept a measured size change; a generic minimum height cannot guarantee stability. Reserve image space before decoding, and include image readiness in the loading boundary if showing an empty image would be disruptive.
For a more elaborate feed, Skeleton to Content with morphing placeholders adds line-width morphs, image blur and scale, staggered reveals, and a pull-to-refresh interaction. It is a specific editorial feed; your application owns request success and errors. Its demo delay is not a recommended minimum waiting time.
Error, empty, and refresh states
A successful request with zero records is empty, not loading. The list renders an empty message; a rejected request renders a retry button, and an aborted request does not update state. In a real screen, explain why it is empty and offer the next useful action. For slow requests, offer recovery or cancellation according to your product rather than shimmering indefinitely.
During a background refresh, keep existing content visible and use pull-to-refresh feedback. Show skeletons for initial missing content. For known completion totals use a determinate progress bar; for generated text, AI streaming UI keeps partial content readable.
Skeleton loader without added dependencies
A skeleton does not require shimmer or Reanimated. This standalone StaticSkeleton.tsx uses only React Native and React, with ordinary Views and no animation loop. It reuses the same block idea without importing the earlier module, which would pull in Reanimated and LinearGradient. Supply the same row geometry as your loaded row.
import { View, useColorScheme } from 'react-native';
export function StaticSkeleton() {
const dark = useColorScheme() === 'dark';
const backgroundColor = dark ? '#30343B' : '#E7E8EE';
return (
<View
accessible
accessibilityLabel="Loading people"
accessibilityState={{ busy: true }}
>
<View
accessibilityElementsHidden
importantForAccessibility="no-hide-descendants"
style={{
flexDirection: 'row',
alignItems: 'center',
padding: 16,
gap: 12,
minHeight: 80,
}}
>
<View
style={{ width: 48, height: 48, borderRadius: 24, backgroundColor }}
/>
<View style={{ flex: 1, gap: 4 }}>
<View style={{ minHeight: 22, justifyContent: 'center' }}>
<View
style={{
width: '72%',
height: 16,
borderRadius: 8,
backgroundColor,
}}
/>
</View>
<View style={{ minHeight: 22, justifyContent: 'center' }}>
<View
style={{
width: '48%',
height: 14,
borderRadius: 7,
backgroundColor,
}}
/>
</View>
</View>
</View>
</View>
);
}| Approach | Use it when | Tradeoff |
|---|---|---|
| Static Views, no added dependencies | You need layout context and a simple loading boundary | No moving highlight; already suitable for reduced motion |
| React Native Animated opacity | You want a gentle pulse without adding animation packages | Use the native driver for opacity, stop loops on unmount, and honor AccessibilityInfo's reduced-motion preference |
| Reanimated plus LinearGradient | Your app already uses Reanimated or needs a coordinated shimmer and reveal | Requires SDK-compatible packages and animation setup |
A pulse is optional, not necessary to communicate loading. See the official React Native Animated API if you add one. Avoid adding an animation stack solely to make gray bars move.
Accessibility
A skeleton has no useful internal semantics, so hide its decorative blocks from screen readers. The wrapper exposes accessibilityState={{ busy: loading }} and a concise label such as “Loading profile.” Once content replaces the placeholder, the real headings, images, and controls become the accessible children.
The polite live region avoids interrupting whatever the user is currently hearing. For a full-screen critical load, you may announce completion separately, but avoid repeating “loading” on every shimmer cycle.
When useReducedMotion is true, this implementation stops the repeating travel and displays static placeholder blocks. The loading state remains visually distinct without continuous movement. Reduced Motion affects movement, not the amount of information presented.
Performance
Animate one overlay, not every block. Transforms and opacity are efficient animation properties, and Reanimated evaluates the style on the UI thread. There is no React update per frame and no JS timer powering the shimmer.
Keep the gradient modestly wider than the strongest highlight. A full-screen translucent overlay creates unnecessary overdraw, particularly in long lists. Render skeletons only for visible rows, give list items stable keys, and avoid nesting multiple shimmer providers around the same region.
Use a shared placeholder component for repeated cards, but tailor its dimensions to the actual card variant. Memoizing an entire placeholder tree may help very large lists, yet a few plain views are usually cheaper than the coordination overhead. Profile on a lower-end Android device before optimizing blindly.
Common pitfalls
- Animating every gray block independently. Unsynchronized highlights look noisy and multiply animation work. Sweep one gradient across the group.
- Using arbitrary placeholder geometry. The content jumps when loaded because its image, lines, or spacing do not match the skeleton.
- Leaving skeletons accessible. A screen reader may announce meaningless empty views. Hide the shapes and label the busy container.
- Running a JavaScript interval for frames. Reanimated's shared value can repeat on the UI thread without causing component rerenders.
- Forgetting clipping. Without
overflow: 'hidden', the bright strip travels outside the card and across neighboring content. - Shimmering forever after an error. Loading, success, empty, and error are separate states. Render recovery UI when the request fails.
- Making the highlight too bright. High contrast can look like flashing. Keep the base and highlight close enough to feel like reflected light.
For deeper timing behavior, see the official withRepeat API and useReducedMotion reference.
Skip the build: production-ready version
The free Shimmer Skeleton component source adds a reusable placeholder API, configurable material colors and duration, a polished content reveal, and a synchronized diagonal sheen across arbitrary block layouts. It includes reduced-motion and busy-state behavior. Each published piece is reviewed on physical iPhone and Android devices with Expo Go before release. For another loading pattern, compare the animated counter guide, where motion communicates changing data rather than missing data.
Refreshing existing content needs a different lifecycle from first-load placeholders: see pull to refresh. For text arriving in chunks, see AI streaming UI.
FAQ
What is a skeleton loader in React Native?
It is a temporary set of shapes that approximates the layout of content while data is loading. Unlike a generic spinner, it preserves spatial context and can reduce perceived waiting when it accurately matches the final screen.
How do I create a shimmer effect in React Native?
Place a narrow LinearGradient above the skeleton, clip it inside the container, and animate its horizontal transform with a repeating Reanimated shared value. One overlay can illuminate the entire placeholder group.
Skeleton vs. spinner: which should I use?
Use a skeleton when the destination layout is predictable, such as a profile or list. Use a spinner for an indeterminate action with no meaningful destination layout, such as submitting a form. Avoid showing both for the same content region: they duplicate the loading message and increase visual noise.
How long should a skeleton screen remain visible?
Only while the data is genuinely pending. There is no universal minimum display time. Render cached data immediately. If fast requests cause flicker, delay mounting the visual skeleton with a cancelable timer chosen from your own measurements; keep the loading announcement available and cancel the timer on completion or unmount. Never hold back ready content to finish a shimmer cycle.
Does shimmer work in dark mode?
Yes. Use a dark neutral base and a nearby, low-contrast highlight instead of the bright white gradient in the light-theme example. Pass a themed background through SkeletonBlock's style and replace the gradient colors with your theme tokens. Test both appearances on a device; a near-white streak on a dark surface can flash distractingly. The static alternative already reads the color scheme.
Can I use a skeleton loader in Expo Go?
Yes. Static Views need no extra native modules. For the shimmer example, Expo SDK 58 includes Reanimated and LinearGradient in Expo Go; install SDK-compatible versions with expo install and follow the linked setup instructions. Each published piece is reviewed on physical iPhone and Android devices with Expo Go before release.