npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

react-native-circular-animation

v1.0.7

Published

React native auto circular animation for specific interval

Readme

React Native Circular Animation

A customizable React Native component that creates an engaging circular animation with dots that pulse and change colors in a wave-like pattern around a circle.

Installation

npm install react-native-circular-animation
# or
yarn add react-native-circular-animation

Features

  • Smooth circular animation with pulsing dots
  • Customizable colors with three color stops
  • Configurable circle size and dot dimensions
  • Adjustable animation timing and progress
  • Native driver support for optimal performance
  • Customizable positioning

Usage

import CircleAnimation from 'react-native-circular-animation';

const App = () => {
  return (
    <CircleAnimation 
      progress={5}
      defaultColor="grey"
      startAnimationTime={2500}
      circleHeight={350}
      dotWidth={2}
      dotHeight={2}
      stop1="#C7FFC2"
      stop2="#3A82CF"
      stop3="#FFDBDB"
      circleRadius={146}
    />
  );
};

Props

| Prop | Type | Default | Description | |------|------|---------|-------------| | progress | number | required | Controls the animation speed and number of active dots (progress * 10) | | defaultColor | string | "grey" | Background color of the dots when not animated | | stop1 | string | "#C7FFC2" | First color stop for the animated dots | | stop2 | string | "#3A82CF" | Second color stop for the animated dots | | stop3 | string | "#FFDBDB" | Third color stop for the animated dots | | startAnimationTime | number | 25000 | Delay before starting the animation (in milliseconds) | | circleHeight | number | 350 | Height of the circle container | | dotWidth | number | 2 | Width of each dot | | dotHeight | number | 2 | Height of each dot | | circleRadius | number | 146 | Radius of the circle | | Xpos | number | 4.5 | X-coordinate of the circle center | | Ypos | number | 179 | Y-coordinate of the circle center |

Animation Behavior

The component creates a circle of dots that animate in a wave-like pattern:

  1. Dots scale up and down in sequence
  2. Colors transition from the default color to the specified color stops
  3. Animation repeats at intervals based on the progress value
  4. Uses React Native's Animated API with native driver for smooth performance

Example

import React from 'react';
import CircleAnimation from 'react-native-circular-animation';

const Example = () => {
  return (
    <CircleAnimation 
      progress={5}
      defaultColor="#333333"
      stop1="#FF0000"
      stop2="#00FF00"
      stop3="#0000FF"
      startAnimationTime={1000}
      circleHeight={400}
      circleRadius={180}
    />
  );
};

License

See the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.