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

overstepper-vue

v1.0.1

Published

A Vue 3 stepper component

Readme

OverStepper-vue

OverStepper-vue is a small, Vue 3 stepper component library inspired by the working StatusSection.vue prototype.

It is designed to be easy to drop into a project, while still giving you enough control for real workflows:

  • horizontal or vertical layout
  • configurable step transitions through a dependency list
  • info and error badges on any step
  • v-model support
  • onChange callback before the step is committed
  • optional plugin install

Quick start

Install the package:

npm install overstepper-vue

Use it in a component:

<script setup lang="ts">
import { ref } from 'vue'
import OverStepper from 'overstepper-vue'
import type { OverStepperBadge, OverStepperDependency, OverStepperStep } from 'overstepper-vue'

const currentStep = ref(1)

const steps: OverStepperStep<number>[] = [
  { value: 1, title: 'Draft', description: 'Initial state' },
  { value: 2, title: 'Review', description: 'Waiting for approval' },
  { value: 3, title: 'Done', description: 'Final state' }
]

const dependencies: OverStepperDependency<number>[] = [
  { from: 1, to: 2 },
  { from: 2, to: 3 }
]

const badges: OverStepperBadge<number>[] = [
  {
    value: 2,
    type: 'info',
    title: 'Heads up',
    description: 'This step needs extra attention.'
  },
  {
    value: 3,
    type: 'error',
    title: 'Blocked',
    description: 'This step is currently blocked.'
  }
]

function handleChange(payload) {
  console.log('changed:', payload)
}
</script>

<template>
  <OverStepper
    v-model="currentStep"
    :steps="steps"
    orientation="horizontal"
    :dependencies="dependencies"
    :badges="badges"
    :on-change="handleChange"
  />
</template>

The package injects its styles automatically when you import overstepper-vue. If you prefer to load the CSS manually, you can also import overstepper-vue/style.css. The package now reads theme colors from your app's CSS variables first (--background, --foreground, --primary, etc.), so it follows your light/dark theme instead of forcing a white palette.

Props

modelValue

The currently selected step value.

steps

The ordered list of steps to show.

orientation

Choose between:

  • horizontal
  • vertical

dependencies

Controls which steps can be reached from the current step.

Each item is a pair:

{ from: 1, to: 2 }

When dependencies are provided, the component allows both directions for that pair:

  • 1 -> 2
  • 2 -> 1

This makes it easy to support workflows where users can move forward and back.

badges

Attach a badge to any step value.

Supported badge types:

  • info
  • error

onChange

A callback that runs before the new step is applied.

Return false to cancel the change.

disabled

Disables all user interaction.

linear

Fallback mode that allows only the next step when no dependencies are defined.

Plugin usage

If you prefer global registration:

import { createApp } from 'vue'
import OverStepperVue from 'overstepper-vue'
import App from './App.vue'

createApp(App).use(OverStepperVue).mount('#app')

Local demo

This repository also includes a small demo page so you can try the component locally.

Run:

npm run dev

The demo shows:

  • horizontal stepper with dependency rules
  • vertical stepper with string values
  • linear fallback mode
  • info and error badges
  • the onChange callback in action

Build

npm run build

Package name

The npm package name is overstepper-vue.