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

@friendofsvelte/progress

v0.0.8

Published

A **super smooth and customizable** **navigation progress bar** for **Svelte 5**, powered by: - **๐ŸŒ€ Svelte 5 Runes** (`$state`, `$derived`) - **๐ŸŒŠ svelte/motion** (`Tween`) - **๐ŸŽจ TailwindCSS v4** - **๐Ÿ”ฎ tailwind-variants & tailwind-merge** for ultimate

Readme

Svelte 5 Navigation Progress Bar ๐Ÿš€

A super smooth and customizable navigation progress bar for Svelte 5, powered by:

  • ๐ŸŒ€ Svelte 5 Runes ($state, $derived)
  • ๐ŸŒŠ svelte/motion (Tween)
  • ๐ŸŽจ TailwindCSS v4
  • ๐Ÿ”ฎ tailwind-variants & tailwind-merge for ultimate styling flexibility.

โœจ Features

โœ… Beautiful animated navigation progress
โœ… Fully customizable ๐Ÿ–Œ๏ธ (Size & Color Variants)
โœ… Super optimized with Svelte 5 runes โšก
โœ… Smooth easing animations with cubicOut ๐ŸŽข
โœ… No dependencies (except Tailwind utilities) ๐ŸŽฏ


๐Ÿ“ธ Preview

image


๐Ÿš€ Installation

If you're using this in a SvelteKit project, install the necessary dependencies first:

npm install @friendofsvelte/progress

๐Ÿ› ๏ธ Usage

Import the component & customize it!

<script>
	import { Progress } from "@friendofsvelte/progress";
</script>

<Progress size="md" color="green" />

You can also control it dynamically:

<script>
	const size = "lg";
	const color = "rose";
</script>

<Progress {size} {color} />

๐ŸŽจ Customization

๐ŸŒŸ Sizes

| Variant | Height | |---------|--------| | "sm" | 0.5rem | | "md" (default) | 1rem | | "lg" | 1.5rem |

๐ŸŒˆ Colors

| Variant | Gradient | |---------|----------| | "blue" | from-sky-700 to-indigo-700 | | "rose" | from-rose-700 to-rose-500 | | "amber" | from-amber-700 to-amber-500 | | "green" | from-green-700 to-green-500 | | "purple" | from-purple-700 to-purple-500 | | "indigo" | from-indigo-700 to-indigo-500 | | "red" | from-red-700 to-red-500 | | "yellow" | from-yellow-700 to-yellow-500 |


Sure! Here's a cute and fun way to let them know they can customize the navigation logic, but seriously, why would they? because this component is already perfect! ๐Ÿ˜Žโœจ


๐ŸŽจ Custom component (but like, do you even need to?) ๐Ÿ’…

Okay, okayโ€”we get it. You love control. You want to tweak everything.

๐ŸŒŸ Guess what? You can! If you're feeling adventurous, you can create your own progress component using let nav state.

<script lang="ts">
    type Nav = {
      is_navigating: boolen,
      progress: Tween, 
    }
	import { nav } from "@friendofsvelte/progress";
</script>
<div custom-nav-progress ...></div>

But let's be realโ€” you probably wonโ€™t need to.
Why? Because this component already does all the magic for you! ๐Ÿช„โœจ

Unless you have some wild navigation setup (like, interdimensional travel? ๐Ÿš€), you can just sit back, relax, and let this super smooth, stylish progress bar do all the heavy lifting for you.

"Customization is great, but perfection is effortless. Let Progress do its thing." โ€“ Some wise Svelte Wizard ๐Ÿง™โ€โ™‚๏ธ

๐Ÿ’– Why Use This?

Because who doesnโ€™t love a beautiful, animated progress bar? ๐Ÿ˜
It makes navigation feel smoother, more dynamic, and polished!

"Good UI is invisible, but you can definitely feel when it's missing!" ๐Ÿš€


๐Ÿ“œ License

๐Ÿ“ MIT โ€“ use it however you like! Just give some love back โค๏ธ


๐Ÿค Contributing

๐Ÿ‘‹ Found a bug or have an idea? Open an issue or PR โ€“ Iโ€™d love to see your improvements!