
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
react-native-basic-skeleton
Advanced tools
npm install react-native-basic-skeleton
or
yarn add react-native-basic-skeleton
import BasicSkeleton from 'react-native-basic-skeleton';
Name | Type | Default | Description |
---|---|---|---|
visible | bool | required | Shows the Skeleton when true |
loadingBackground | Array[] | required ["transparent", "rgba(0,0,0,0.05)", "transparent"] | Shows the Skeleton linear color |
height | number | required 100 | Shows the Skeleton bones height |
width | number | required 100 | Shows the Skeleton bones width |
duration | number | 1000 ms | Duration of one cycle of animation |
style | object | The style applied to the View containing | |
backgroundColor | string | required "rgba(0,0,0,0.12)" | The style applied to the View containing color |
Note: If react-native-linear-gradient is not installed in the project, you need to install it.
export default function Placeholder () {
return (
<BasicSkeleton
height={200}
width={200}
backgroundColor="rgba(0,0,0,0.12)"
duration={4000}
loadingBackground={["transparent", "rgba(0,0,0,0.05)", "transparent"]}
style={{borderRadius: 30}}
visible={true}>
/>
)
}
Issues are welcome. Please add a screenshot of bug and code snippet. Quickest way to solve issue is to reproduce it on one of the examples.
Pull requests are welcome. If you want to change API or making something big better to create issue and discuss it first.
FAQs
Basic Skeleton Loader for react-native
The npm package react-native-basic-skeleton receives a total of 4 weekly downloads. As such, react-native-basic-skeleton popularity was classified as not popular.
We found that react-native-basic-skeleton demonstrated a not healthy version release cadence and project activity because the last version was released 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.