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

fumadocs-enhanced-steps

v0.1.0

Published

Enhanced Steps component for Fumadocs with lettered increments, icons, and titles

Readme

fumadocs-enhanced-steps

Visual comparison of default steps versus our enhanced steps

Enhanced Steps component for Fumadocs with support for lettered increments, custom icons, and step titles.

Features

  • Multiple counter types: decimal (1, 2, 3), letters (a, b, c or A, B, C), roman numerals (i, ii, iii or I, II, III)
  • Custom icons: Replace numbers/letters with any React node
  • Step titles: Add titles with configurable heading levels
  • Fumadocs theming: Seamless integration with fumadocs color variables
  • Dark mode: Automatic dark mode support
  • Accessible: Proper ARIA roles for screen readers

Installation

npm install fumadocs-enhanced-steps
# or
pnpm add fumadocs-enhanced-steps
# or
yarn add fumadocs-enhanced-steps

Usage

Basic Usage

import { Steps, Step } from 'fumadocs-enhanced-steps';
import 'fumadocs-enhanced-steps/styles/steps.css';

<Steps>
  <Step title="First Step">
    Content for the first step.
  </Step>
  <Step title="Second Step">
    Content for the second step.
  </Step>
  <Step title="Third Step">
    Content for the third step.
  </Step>
</Steps>

Lettered Steps

<Steps type="lower-alpha">
  <Step title="Step A">First step content.</Step>
  <Step title="Step B">Second step content.</Step>
  <Step title="Step C">Third step content.</Step>
</Steps>

Counter Types

| Type | Output | |------|--------| | decimal (default) | 1, 2, 3... | | lower-alpha | a, b, c... | | upper-alpha | A, B, C... | | lower-roman | i, ii, iii... | | upper-roman | I, II, III... |

Custom Icons

import { CheckIcon } from 'lucide-react';

<Steps>
  <Step title="Completed" icon={<CheckIcon />}>
    This step is complete!
  </Step>
  <Step title="In Progress">
    Working on this...
  </Step>
</Steps>

Title Heading Levels

<Steps titleSize="h3">
  <Step title="Important Step">
    The title will render as an h3 element.
  </Step>
</Steps>

Props

Steps

| Prop | Type | Default | Description | |------|------|---------|-------------| | type | 'decimal' \| 'lower-alpha' \| 'upper-alpha' \| 'lower-roman' \| 'upper-roman' | 'decimal' | Counter style for step indicators | | titleSize | 'p' \| 'h2' \| 'h3' | 'p' | Default heading level for titles | | className | string | - | Additional CSS classes |

Step

| Prop | Type | Default | Description | |------|------|---------|-------------| | title | ReactNode | - | Title displayed next to the indicator | | icon | ReactNode | - | Custom icon (replaces number/letter) | | titleSize | 'p' \| 'h2' \| 'h3' | inherited | Heading level for this step's title | | className | string | - | Additional CSS classes |

Styling

The component uses fumadocs CSS variables for theming:

  • --color-fd-secondary - Indicator background
  • --color-fd-secondary-foreground - Indicator text
  • --color-fd-border - Connecting line
  • --color-fd-foreground - Title text
  • --color-fd-muted-foreground - Body text

If these variables aren't defined, sensible fallback colors are used.

License

MIT