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

steppify

v1.1.1

Published

A content stepper implementation for the react.

Downloads

16

Readme

steppify Build Status

A content stepper implementation for the react.

Installation

npm install steppify

Usage

import Steppify from 'steppify'

const mockData = [
  {
    title: 'Evaluate Yourself',
    content: <div>
      <p>Why do you want to start a business? Use this question to guide what kind of business you want to start. 
      If you want extra money, maybe you should start a side hustle. 
      If you want more freedom, maybe it´s time to leave your 9-to-5 job and start something new.</p>
      <ul>
        <li>What skills do you have?</li>
        <li>Where does your passion lie?</li>
        <li>Where is your area of expertise?</li>
        <p>Be brutally honest with your answers.</p>
      </ul>
    </div>
  },
  {
    title: 'Think of a business idea.',
    content: <div>
      <p>Do you already have a killer business idea? If so, congratulations, you can proceed to the next section. 
      If not, there are a ton of ways to start brainstorming for a good idea. 
      An article on Entrepreneur, “8 Ways to Come Up With a Business Idea,” helps people break down potential business ideas. 
      Here are a few pointers from the article:</p>
      <ul>
        <li>Ask yourself what´s next. What technology or advancement is coming soon, 
        and how will that change the business landscape as we know it? Can you get ahead of the curve?</li>
        <li>Fix something that bugs you. People would rather have less of a bad thing than more of a good thing. 
        If your business can fix a problem for your customers, they´ll thank you for it.</li>
      </ul>
      <p>Also, go out and meet people and ask them questions, seek advice from other entrepreneurs, 
      research ideas online or use whatever method makes the most sense to you.</p>
    </div>
  }
]

export default class Root extends Component {
  render () {
    return (
      <Steppify position='top' contents={mockData} showTitles />
    )
  }
}

Edit 9o3pww6l9o

Features

It's quite easy to get started with the steppify! All you need to do is create an array of json objects which have the structure that specified down below.

{
  title: 'Your title',
  content: <div>
              Your custom content here
          </div>
}

You also can decide where to display your stepper!

//That would render stepper at the top of the page, you can omit that though. It's default configuration.
<Steppify position='top' contents={mockData} />
//Similarly, that would render the stepper at the bottom of the page.
<Steppify position='bottom' contents={mockData} />

Also, stepper is able to track your scroll position and accordingly will highlight the current step to help your users to follow the steps even more easier. You also can go to the specific step by clicking that on the stepper.

//This will display the title of the each step.
<Steppify position='top' contents={mockData} showTitles/>

Styling

No front-end framework has utilized on this component. Feel free to experiment with its styling according to your own imagination! :zap:

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate. Thanks :raised_hands:

License

GPL