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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mreyesh85/apple-rings

v0.1.4

Published

Apple Activity-style rings for React Native and Expo apps.

Readme

@mreyesh85/apple-rings

Apple Activity-style animated rings for React Native and Expo apps.

Visual Examples

| Bright Activity Rings | Balance Ring With Arc Labels | | --- | --- | | Bright activity rings showing single and multi-ring progress states | Balance ring with center amount and curved label text | | Build bold Apple Activity-inspired progress views with one or many rings. | Promote focused metrics with center content, curved labels, and smooth progress. |

Installation

pnpm add @mreyesh85/apple-rings @shopify/react-native-skia react-native-reanimated react-native-svg

For Expo apps, install native peer dependencies with Expo so versions match your SDK:

npx expo install @shopify/react-native-skia react-native-reanimated react-native-svg
pnpm add @mreyesh85/apple-rings

Make sure Reanimated is configured in the consuming app.

Usage

import { Rings } from '@mreyesh85/apple-rings';
import { Text, View } from 'react-native';

export function BalanceRing() {
  return (
    <Rings
      backgroundColor='transparent'
      size={320}
      strokeWidth={36}
      top='CARD BALANCE: $2,046.54'
      bottom='INTEREST CHARGE ON APR 30'
      arcTextColor='#000'
      arcTextSize={12}
      rings={[
        {
          background: 'gray',
          progress: 53,
          start: 'rgb(249, 18, 78)',
          end: 'rgb(249, 56, 133)',
        },
      ]}
    >
      <View>
        <Text style={{ color: '#000', fontSize: 42, fontWeight: 'bold' }}>
          $924.88
        </Text>
        <Text style={{ color: '#f5bf55', textAlign: 'center', fontSize: 26 }}>
          $16.33
        </Text>
      </View>
    </Rings>
  );
}

More Examples

Render the default activity rings at a larger display size:

<Rings size={320} backgroundColor='transparent' strokeWidth={32} />

Render a compact custom ring with a pink gradient:

<Rings
  size={160}
  rings={[
    {
      progress: 90,
      start: 'rgb(249, 18, 78)',
      end: 'rgb(249, 56, 133)',
    },
  ]}
/>

Props

| Prop | Type | Default | Description | | --- | --- | --- | --- | | ring | 'red' \| 'yellow' \| 'green' | undefined | Render one default ring instead of all default rings. | | rings | RingInput[] | default activity rings | Custom ring definitions. | | size | number | 80 | Overall square size. | | strokeWidth | number | responsive | Ring thickness. | | ringGap | number | 0 | Gap between multiple rings. | | backgroundColor | string | 'black' | Canvas/container background. | | duration | number | 3000 | Animation duration in milliseconds. | | animated | boolean | true | Enables or disables the draw animation. | | top | ReactNode | undefined | Top arc text or custom slot. | | bottom | ReactNode | undefined | Bottom arc text or custom slot. | | arcTextColor | string | 'rgba(255, 255, 255, 0.55)' | Color for arc text. | | arcTextSize | number | responsive | Font size for arc text. | | arcInset | number | 20 | Distance from ring edge to arc text. | | arcSweep | number | 145 | Arc text sweep in degrees. | | children | ReactNode | undefined | Center content. |

RingInput

| Field | Type | Description | | --- | --- | --- | | name | string | Ring name used for React keys and defaults. | | colors | [string, string] | Start and end gradient colors. | | start | string | Start color shortcut. | | end | string | End color shortcut. | | background | string | Track/background color. | | progress | number | Percent progress, where 53 means 53%. | | totalProgress | number | Raw progress revolutions, where 1.25 means one full loop plus 25%. | | size | number | Override this ring's diameter. |