
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-skeletons
Advanced tools
Create beautiful and animated loading skeletons as your views load
npm install --save react-skeletons
import Skeleton from 'react-skeletons';
<Skeleton count={4} />
import React from 'react';
import Skeleton, { Box, Line } from 'react-skeletons;
const Grid = ({ ...props }) => (
<div style={{
display: 'grid',
gridTemplateColumns: 'repeat(3, 200px)',
gridColumnGap: 16
}}>
{props.children}
</div>
);
<SkeletonTheme color='#FF4E50' highlight='#F9D423'>
<Grid>
{[0, 1, 2].map((_, index) =>
<div key={index} style={{ width: 210 }}>
<Box width={210} height={120} />
<Skeleton count={2} />
</div>
)}
</Grid>
</SkeletonTheme>
View the storybook to see other possible configurations
npm run storybook
| Prop | Type | Description | Default |
|---|---|---|---|
| count | Number | How many lines should be rendered | 3 |
| animated | Boolean | Should the skeleton be animated | true |
| Prop | Type | Description | Default |
|---|---|---|---|
| animated | Boolean | Should the line be animated | true |
| Prop | Type | Description | Default |
|---|---|---|---|
| animated | Boolean | Should the line be animated | true |
| auto | Boolean | Fill container; set's width and height to 100% | false |
| height | Number | Height of box (in px) | 72 |
| width | Number | Width of box (in px) | 72 |
| Prop | Type | Description | Default |
|---|---|---|---|
| color | String | Background color | #F2F2F2 |
| highlight | String | Primary color | #E3E3E3 |
FAQs
Beautiful, animated loading skeletons to show while your view loads
The npm package react-skeletons receives a total of 1 weekly downloads. As such, react-skeletons popularity was classified as not popular.
We found that react-skeletons 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.