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

minimal-progress

v0.1.0

Published

A minimal, beautifully animated progress bar component with smooth transitions and spring physics.

Readme

smooth-progress

A minimal, beautifully animated progress bar component library for React. Smooth transitions, spring physics, and multiple visual variants — all under 5KB gzipped.

Install

pnpm add smooth-progress

Quick Start

import { ProgressBar } from "smooth-progress";

function App() {
  return <ProgressBar value={65} />;
}

Components

ProgressBar

Linear progress bar with smooth width transitions.

<ProgressBar value={75} variant="gradient" size="md" />
<ProgressBar value={50} spring duration={300} />
<ProgressBar indeterminate variant="glow" />

Props:

| Prop | Type | Default | Description | |------|------|---------|-------------| | value | number | — | Progress value (0–100) | | max | number | 100 | Maximum value | | variant | "default" \| "gradient" \| "glow" \| "striped" \| "pulse" | "default" | Visual style | | size | "xs" \| "sm" \| "md" \| "lg" | "md" | Height preset | | showLabel | boolean | false | Show percentage inside bar | | spring | boolean | false | Use spring physics | | duration | number | 250 | Transition duration (ms) | | color | string | — | Custom fill color | | indeterminate | boolean | false | Loading state |

ProgressCircle

Circular progress indicator with animated stroke.

<ProgressCircle value={80} size="lg" showLabel />
<ProgressCircle value={45} color="#10b981" spring />
<ProgressCircle indeterminate size="sm" />

Props:

| Prop | Type | Default | Description | |------|------|---------|-------------| | value | number | — | Progress value (0–100) | | size | "sm" \| "md" \| "lg" \| "xl" | "md" | Diameter preset | | strokeWidth | number | auto | Stroke width in px | | showLabel | boolean | false | Show percentage in center | | spring | boolean | false | Use spring physics | | color | string | — | Custom stroke color | | indeterminate | boolean | false | Spinning loading state |

ProgressSteps

Multi-step progress with animated transitions.

<ProgressSteps
  steps={[
    { label: "Cart" },
    { label: "Shipping" },
    { label: "Payment" },
    { label: "Done" },
  ]}
  currentStep={2}
/>

Animation Philosophy

Built on principles from animations.dev:

  • ease-in-out for on-screen morphing (progress fill changes)
  • ease-out for elements entering (checkmarks, step completions)
  • Spring physics option for interruptible, natural transitions
  • GPU-accelerated — uses scaleX transforms instead of width
  • Reduced motion — fully respects prefers-reduced-motion
  • Under 300ms — all transitions stay within perceptible UI range

Styling

Works with Tailwind CSS out of the box. Uses CSS variables for theming:

  • --primary — default fill color
  • --foreground — label text
  • --muted-foreground — secondary text

For the striped animation, import the companion CSS:

import "smooth-progress/styles.css";

License

MIT