Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@squiz/xaccel-skeleton-loading
Advanced tools
The SkeletonLoading component is a versatile and user-friendly UI element designed to enhance the user experience during data loading periods. It provides a visual placeholder that mimics the structure of the content being loaded, offering a seamless transition and reducing perceived loading times.
Property | Property description | Property type | Default value | Is required |
---|---|---|---|---|
width | width | string or number | 100% | |
height | height | string or number | 1rem | |
borderRadius | The border radius style | string or number | 0.25rem | |
style | Additional styles to add to element | CSSProperties | ||
className | Overwrite ClassName | classNameOverride |
import { SkeletonLoading } from '@squiz/xaccel-skeleton-loading';
<SkeletonLoading />
import { SkeletonLoading } from '@squiz/xaccel-skeleton-loading';
<SkeletonLoading width={150} height={30} />
import { SkeletonLoading } from '@squiz/xaccel-skeleton-loading';
<SkeletonLoading type='circle' width={50} height={50} />
import { SkeletonLoading } from '@squiz/xaccel-skeleton-loading';
<SkeletonLoading style={{ borderRadius: 10 }}/>
import { SkeletonLoading } from '@squiz/xaccel-skeleton-loading';
<SkeletonLoading
className={{
className: 'item',
cssModule: styles,
retainMissingModuleClasses: true,
}} />
For more information about className
please visit packages/utility/functions/src/generateClasses.js
FAQs
A component that provides a skeleton loading.
We found that @squiz/xaccel-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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.