
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
react-native-shimmer-text
Advanced tools
Cross‑platform Shimmer Text component for React Native (iOS/Android) and Web.
💡 Building a full mobile app?
Check out Ship Mobile Fast - The #1 React Native Expo boilerplate to build and ship mobile apps in days, not weeks.
Authentication • Payments • AI Integration • And More!
Cross-platform shimmer text component for React Native (iOS, Android, Web) with customizable animations and theme support.
npm install react-native-shimmer-text
expo install react-native-reanimated @react-native-masked-view/masked-view
import ShimmerText from "react-native-shimmer-text";
export default function Example() {
return (
<ShimmerText size="lg" duration={3} direction="ltr">
Thinking...
</ShimmerText>
);
}
| Prop | Type | Default | Description |
|---|---|---|---|
children | string | undefined | Text content |
style | TextStyle | undefined | Text styles |
shimmerStyle | ViewStyle or WebShimmerStyle | undefined | Shimmer effect styles |
containerStyle | ViewStyle | undefined | Container styles |
duration | number | 3 | Animation duration (seconds) |
bold | boolean | true | Bold text |
highlightWidth | number | undefined | Shimmer width percentage (0-100) |
direction | 'ltr' or 'rtl' | 'ltr' | Animation direction |
angle | number | 100 | Gradient angle (degrees) |
size | TextSize | 'md' | Text size ('xs' to '9xl') |
colors | { light?: ShimmerColors, dark?: ShimmerColors } | undefined | Theme colors |
width | number | undefined | Custom width |
height | number | undefined | Custom height |
TextSize'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '7xl' | '9xl'
ShimmerColorsinterface ShimmerColors {
text: string;
shimmer: {
start: string;
middle: string;
end: string;
};
}
const customColors = {
light: {
text: "#333333",
shimmer: { start: "#e0e0e0", middle: "#f5f5f5", end: "#e0e0e0" },
},
dark: {
text: "#cccccc",
shimmer: { start: "#424242", middle: "#616161", end: "#424242" },
},
};
<ShimmerText size="2xl" colors={customColors}>
Custom Colors
</ShimmerText>;
MIT
FAQs
Cross‑platform Shimmer Text component for React Native (iOS/Android) and Web.
The npm package react-native-shimmer-text receives a total of 1,513 weekly downloads. As such, react-native-shimmer-text popularity was classified as popular.
We found that react-native-shimmer-text demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.