Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svelte-spinner

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-spinner

A Svelte SVG loading spinner

  • 2.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
49
decreased by-61.42%
Maintainers
1
Weekly downloads
 
Created
Source

npm

Svelte Spinner

A Svelte SVG loading spinner.

Install

npm install --save svelte-spinner

Example

Look at the example folder for a basic working example.

Usage

<!-- App.html -->
<Spinner
  size="50"
  speed="750"
  color="#A82124"
  thickness="2"
  gap="40"
/>

<script>
  import Spinner from 'svelte-spinner';
</script>

API

The spinner component is the only export of the module.

import Spinner from 'svelte-spinner';
Properties
PropertyDefault ValueDescription
size25The height and width of the SVG spinner.
speed750How many milliseconds it will take for the spinner to complete one rotation.
color'rgba(0,0,0,0.4)'The color of the spinner.
thickness2The thickness of the spinner.
gap40How many percent of the spinner that will not be filled.

FAQs

Package last updated on 26 Nov 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc