Socket
Socket
Sign inDemoInstall

svelte-loading-skeleton

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-loading-skeleton

Customizable loading skeleton for Svelte


Version published
Maintainers
1
Weekly downloads
145
decreased by-38.82%

Weekly downloads

Readme

Source

Svelte loading skeleton

Also want to make svelte components? use the svelte-component-template!


Customizable loading skeleton for Svelte

Installing

yarn add svelte-loading-skeleton

Usage

<script>
  import { Skeleton } from 'svelte-loading-skeleton';
</script>

<!-- All properties below are default -->
<Skeleton 
  width="100%"
  height="25px" 
  borderRadius="4px" 
  baseColor="rgb(238, 238, 238)" 
  highlightColor="rgb(245, 245, 245)" 
  animationLength="1.2s" 
/>

<!-- Use default skeleton -->
<Skeleton />

<!-- For custom elements -->
<loading-skeleton
  width="100%"
  height="25px" 
  borderRadius="4px" 
  baseColor="rgb(238, 238, 238)" 
  highlightColor="rgb(245, 245, 245)" 
  animationLength="1.2s" 
/>

Keywords

FAQs

Last updated on 29 Oct 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc