
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
skeleton-elements
Advanced tools
Skeleton elements (aka UI Skeletons, Skeleton Screens, Ghost Elements) - UI for improved perceived performance
Skeleton elements (aka UI Skeletons, Skeleton Screens, Ghost Elements) - UI for improved perceived performance
See the documentation with examples and API documentation.
With npm:
npm i skeleton-elements --save
Skeleton Elements requires stylesheet to be included:
<link rel="stylesheet" href="path/to/skeleton-elements.css" />
With bundler (like webpack) you can import styles directly from JavaScript:
import 'skeleton-elements/css';
Or it can be included for each component separately:
skeleton-elements/css
- All stylesskeleton-elements/css/core
- Core stylesskeleton-elements/css/block
- Block componentskeleton-elements/css/text
- Text componentskeleton-elements/css/image
- Image componentskeleton-elements/css/avatar
- Avatar componentskeleton-elements/css/effects
- EffectsSCSS
styles are also included:
skeleton-elements/scss
- All stylesskeleton-elements/scss/core
- Core stylesskeleton-elements/scss/block
- Block componentskeleton-elements/scss/text
- Text componentskeleton-elements/scss/image
- Image componentskeleton-elements/scss/avatar
- Avatar componentskeleton-elements/scss/effects
- EffectsSee the documentation for more examples and API documentation.
<style>
.user-avatar .skeleton-block {
width: 120px;
height: 120px;
border-radius: 50%;
}
</style>
<div id="app">
...
<div class="user">
<div class="user-avatar">
<div class="skeleton-block skeleton-effect-fade"></div>
</div>
<div class="user-name">
<span class="skeleton-text skeleton-effect-fade">John Doe</span>
</div>
</div>
...
</div>
Yes please! See the contributing guidelines for details.
This project is licensed under the terms of the MIT license.
FAQs
Skeleton elements (aka UI Skeletons, Skeleton Screens, Ghost Elements) - UI for improved perceived performance
We found that skeleton-elements 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
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.