
Research
Security News
The Landscape of Malicious Open Source Packages: 2025 MidβYear Threat Report
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
rn-skeleton-loading
Advanced tools
I'm piecing together a detailed description for a "rn-skeleton-loading." The goal is to highlight this tool's simplicity and effectiveness in creating animated skeleton components for better user experience during content loading, aiming for a clear, enga
A lightweight, customizable, and fast skeleton loading component for React Native.
π₯ Supports shimmer animation & fully customizable UI elements.
You can install it using npm or yarn:
npm install rn-skeleton-loading
or
yarn add rn-skeleton-loading
Here is a basic usage example:
import { Skeleton } from "rn-skeleton-loading";
import { View } from "react-native";
export default function App() {
return (
<View style={{ padding: 20 }}>
<Skeleton width="90%" height={20} />
<Skeleton width="80%" height={20} />
<Skeleton width={60} height={60} borderRadius={30} />
</View>
);
}
You can customize the skeleton UI by passing props.
Prop | Type | Default | Description |
---|---|---|---|
width | string / number | "100%" | Width of the skeleton |
height | number | 20 | Height of the skeleton |
borderRadius | number | 4 | Border radius |
color | string | "#E0E0E0" | Base color of the skeleton |
highlightColor | string | "#F5F5F5" | Shimmer effect color |
duration | number | 1000 | Duration of shimmer animation in ms |
import { Skeleton } from "rn-skeleton-loading";
import { View } from "react-native";
export default function ProfileSkeleton() {
return (
<View style={{ padding: 20 }}>
<Skeleton width={100} height={100} borderRadius={50} color="#ccc" />
<Skeleton width="80%" height={15} style={{ marginTop: 10 }} />
<Skeleton width="60%" height={15} style={{ marginTop: 5 }} />
</View>
);
}
β Lightweight & Fast
β Customizable Width, Height, Colors, Border Radius
β Works on both iOS & Android
β Supports shimmer animation
β Perfect for loading states in lists, cards, and avatars
Pull requests are welcome! If you find a bug or have a feature request, please open an issue. π
MIT License β You are free to use, modify, and distribute this package!
π π‘ Happy Coding ππ π
FAQs
I'm piecing together a detailed description for a "rn-skeleton-loading." The goal is to highlight this tool's simplicity and effectiveness in creating animated skeleton components for better user experience during content loading, aiming for a clear, enga
The npm package rn-skeleton-loading receives a total of 0 weekly downloads. As such, rn-skeleton-loading popularity was classified as not popular.
We found that rn-skeleton-loading demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 0 open source maintainers 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.
Research
Security News
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.