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

atomic-spinner

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atomic-spinner

Loading spinner that looks like an atom

  • 1.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
143
increased by24.35%
Maintainers
1
Weekly downloads
 
Created
Source

npm npm bundle size

atomic-spinner

Customizable loading spinner that looks like an atom

Examples

example-atom-1 example-atom-2

Installation

npm i atomic-spinner
yarn add atomic-spinner
pnpm i atomic-spinner

Usage

import AtomicSpinner from 'atomic-spinner'

function MyComponent() {
  return (
    <AtomicSpinner
      atomSize={200}
      displayElectronPaths
      displayNucleus
      electronColorPalette={[ '#0081C9', '#5BC0F8', '#86E5FF' ]}
      electronPathCount={3}
      electronPathColor="#707070"
      electronPathWidth={0.5}
      electronsPerPath={2}
      electronSize={1.5}
      nucleusParticleFillColor="#707070"
      nucleusParticleBorderColor="#999"
      nucleusParticleCount={6}
      nucleusParticleSize={2.5}
      nucleusDistanceFromCenter={2.5}
    />
  )
}

export default MyComponent

Keywords

FAQs

Package last updated on 04 Jan 2023

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