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

@holmesdev/ponder-spinners

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@holmesdev/ponder-spinners

Spinners & Animations React Components Library We built this so you can enhance your UI effortlessly! ✨ View Demo Site ·

  • 1.0.30
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Spinners & Animations React Components Library

We built this so you can enhance your UI effortlessly! ✨

View Demo Site ·

Fully Released 🚀

Spinner Demo GIF1

Spinner Demo GIF2

Spinner Demo GIF3

Team DBUG DINGOES from Holmesglen Ponder Spinners has crafted a set of animated SVG spinners and loading indicators, so you don’t have to spend time coding and debugging UI components from scratch. Enhance your app's loading experience with visually captivating components!



Spinner Components Animation

This library includes various React components for spinners and animations, helping you enhance your UI effortlessly using styled-components for animations and customizations.


Current Components 🛠️

NameImport StatementDescription
Spinimport {Spin} from "@holmesdev/ponder-spinners"Rotating circular spinner with customizable speed, direction, and color.
Dotsimport {Dots} from "@holmesdev/ponder-spinners"Sequentially jumping dots creating a wave-like loading effect.
PulseBoximport {PulseBox} from "@holmesdev/ponder-spinners"Morphing boxes that shift between squares and circles in a sequence.
Waveimport {Wave} from "@holmesdev/ponder-spinners"Animated wave with customizable size, colors, speed, and opacity.
Circlesimport {Circles} from "@holmesdev/ponder-spinners"Animated set of morphing circles with customizable size, colors, and duration.

Installation

To install and set up the library, run:


npm i @holmesdev/ponder-spinners

Or using Yarn:


npm yarn @holmesdev/ponder-spinners

[!IMPORTANT] > Styled-components is the JavaScript CSS library used to build our components. To ensure that they work as intended, you will need to separately install styled-components within both the devDependencies & peerDependencies inside of your package.json upon installation of the package.

You MUST also ensure that you are:

  • Using React.js v18.3.1 or higher
  • Using styled-components v6.1.13 or higher

Latest Package Version

NameVersion
@holmesdev/ponder-spinnersNPM

Usage

Spin

import { Spin } from "@holmesdev/ponder-spinners";

<Spin
  color1="#FF6F61"
  color2="#ffa9a1"
  opacity1={0.5}
  opacity2={1}
  speed="1s"
  direction="360deg"
  size={100}
/>;

Dots

import { Dots } from "@holmesdev/ponder-spinners";

<Dots color1="#22333B" color2="#FF6F61" color3="#B7AEA3" />;

Pulse Box

import { PulseBox } from "@holmesdev/ponder-spinners";

<PulseBox
  color1="#22333B"
  color2="#FF6F61"
  color3="#ffa9a1"
  color4="#22333B"
/>;

Wave

import { Wave } from "@holmesdev/ponder-spinners";

<Wave size={70} color1="#22333B" color2="#EAE0D5" speed="2s" opacity={1} />;

Circles

import { Circles } from "@holmesdev/ponder-spinners";

<Circles
  size={90}
  color1="#FF6F61"
  color2="#22333B"
  color3="#ffa9a1"
  duration={3}
/>;

Component Properties 📋

Spin

PropertyTypeDescription
color1stringColor 1 of the circular spinner. Defaults to #FF6F61.
color2stringColor 2 of the circular spinner. Defaults to #ffa9a1.
opacity1numberOpacity of the color 1. Defaults to 1.
opacity2numberOpacity of the color 2. Defaults to 0.5.
speedstringSpeed of the rotation (e.g., 1s). Defaults to 1s.
directionstringDirection of rotation (e.g., 360deg). Defaults to -360deg.
sizestringThe size of the spinner (e.g., 100). Defaults to 100

Dots

PropertyTypeDescription
color1stringColor for the first dot. Defaults to "#22333B".
color2stringColor for the second dot. Defaults to "#EAE0D5".
color3stringColor for the third dot. Defaults to "#C6AC8F".

Pulse Box

PropertyTypeDescription
color1stringColor for the first box. Defaults to "#22333B".
color2stringColor for the second box. Defaults to "#FF6F61".
color3stringColor for the third box. Defaults to "#ffa9a1".
color4stringColor for the fourth box. Defaults to "#22333B".

Wave

PropertyTypeDescription
sizestringSize of the SVG (width and height). Defaults to 30px.
color1stringColor for the first wave. Defaults to "#22333B".
color2stringColor for the second wave. Defaults to "#EAE0D5".
speedstringSpeed of the animation (e.g., 2s). Defaults to 2s.
opacitynumberOpacity of the wave (0 to 1). Defaults to 1.

Circles

PropertyTypeDescription
sizenumberSize of the circles. Defaults to 90.
color1stringColor of the first circle. Defaults to "#FF6F61".
color2stringColor of the second circle. Defaults to "#22333B".
color3stringColor of the third circle. Defaults to "#ffa9a1".
durationnumberDuration of the animation cycle in seconds. Defaults to 3s.



Inspiration 💡

This library is inspired by various popular UI/UX components and spinners to ensure optimal user experience while loading content. Special thanks to the open-source community for their contributions to animated UI libraries.

Special Thanks 🎉

Our Mentors for guiding us through the development process; Alex, Amberle and Daniel

License

MIT License

Available for open-source consumption under MIT licensing. See MIT License for more information.

Keywords

FAQs

Package last updated on 15 Nov 2024

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