atomic-spinner
Customizable loading spinner that looks like an atom
Live Demo
https://codenough-llc.github.io/atomic-spinner/
Examples
Installation
npm i atomic-spinner
yarn add atomic-spinner
pnpm i atomic-spinner
Usage
import AtomicSpinner from 'atomic-spinner'
const App = () => <AtomicSpinner />
export default App
Options
prop | type | default |
---|
atomSize | number | 200 |
displayElectronPaths | bool | false |
displayNucleus | bool | false |
electronColorPalette | string[] | [ '#0081C9', '#5BC0F8', '#86E5FF' ] |
electronPathCount | number | 3 |
electronPathColor | string | #707070 |
electronPathWidth | number | 0.5 |
electronsPerPath | number | 2 |
electronSize | number | 1.5 |
nucleusParticleFillColor | string | #707070 |
nucleusParticleBorderColor | string | #999 |
nucleusParticleCount | number | 6 |
nucleusParticleSize | number | 2.5 |
nucleusDistanceFromCenter | number | 2.5 |