Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
react-loading-skeleton-placeholders
Advanced tools
Simple, animated loading placeholders that automatically adapt to the context of your app.
Simple, animated loading placeholders that automatically adapt to the context of your app.
npm install react-loading-skeleton-placeholders
import { Skeleton } from 'react-loading-skeleton-placeholders';
<Skeleton amount={5} /> //Simple, five line loading placeholder
<Skeleton amount={3} skull={true} /> //Circle and 3 line loading placeholder
The <Bone />
component is designed to be used directly in your components, in place of content while it is loading. Using a <Bone />
will ensure the loading state remains up-to-date with any changes to your layout or typography. The <Skeleton />
component is designed to be used as a generic placeholder for body text.
class Article extends Component {
render() {
return (
<div style={{fontSize: 20, lineHeight: 2}}>
<h1>{this.props.title || <Bone />}</h1>
{this.props.body || <Skeleton count={10}/>}
</div>
);
}
}
Clone this repo, install dependencies and use npm start
to run project.
Dig into the dirt and get to know the Skeleton with the documentation. Component Documentation
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
FAQs
Simple, animated loading placeholders that automatically adapt to the context of your app.
We found that react-loading-skeleton-placeholders 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.