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 🙏

© 2024 – Pkg Stats / Ryan Hefner

stepper-react

v0.0.9

Published

![version](https://img.shields.io/npm/v/stepper-react?color=brightgreen) ![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/NishantArgade/stepper-react/Release/master) ![David](https://img.shields.io/david/NishantArgade/stepp

Downloads

43

Readme

Stepper-React

version GitHub Workflow Status (branch) David David License Downloads

Stepper-React is a flexible, customizable step progress indicator for your React applications. It's designed to be easy to use and integrate into your projects, with a clean and modern design.

stepper-react

Features

  • Fully customizable steps
  • Responsive design
  • Easy to integrate
  • Supports both TypeScript and JavaScript
  • Lightweight: The package is designed to be lightweight and efficient, ensuring it doesn't add unnecessary bloat to your project.

Installation

You can install Stepper-React using npm:

npm install stepper-react

Usage

Here's a basic example of how to use Stepper-React:

import Stepper from 'stepper-react';

const steps = [
  {topLabel: 'Step 1', bottomLabel: 'Start', content: 'This is the first step.'},
  {topLabel: 'Step 2', bottomLabel: 'Process', content: 'This is the second step.'},
  {topLabel: 'Step 3', bottomLabel: 'Finish', content: 'This is the final step.'},
];

function App() {
  return <Stepper steps={steps} />;
}

Stepper Props

| Prop | Type | Default | Description | | --- | --- | --- | --- | | activeStep | number | 1 | The current active step. | | steps | array of Step objects | [] | The steps for the stepper. Each step is an object with topLabel, bottomLabel, and content properties. | | containerWidth | number | 7 | The width of the container. | | heightforMobileStepper | string | "5rem" | The height for the stepper in mobile view. | | topLabelFontSize | string | "0.7rem" | The font size of the top label. | | bottomLabelFontSize | string | "0.7rem" | The font size of the bottom label. | | contentFontSize | string | "0.7rem" | The font size of the content. | | topLabelFontColor | string | "rgb(114, 114, 114)" | The color of the top label. | | bottomLabelFontColor | string | "rgb(114, 114, 114)" | The color of the bottom label. | | contentFontColor | string | "rgb(114, 114, 114)" | The color of the content. | | stepperWrapperBackgroundColor | string | "rgb(255, 255, 255)" | The background color of the stepper wrapper. | | stepperContentWrapperBackgroundColor | string | "rgb(255, 255, 255)" | The background color of the stepper content wrapper. |

Each Step object in the steps array has the following properties: | Property | Type | Description | | --- | --- | --- | | topLabel | string | The top label for the step. | | bottomLabel | string | The bottom label for the step. | | content | ReactNode | The content for the step. |

Contributing

We welcome contributions!

License

Stepper-React is MIT licensed.