1.0.6 • Published 12 months ago

react-step-by-step v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

react-step-by-step

Introducing react-step-by-step, a delightful and charming npm package that offers a seamless way to navigate through components with captivating animations. With its user-friendly interface, react-step-by-step allows you to effortlessly traverse each step, creating an engaging and interactive experience for your users. Enhance your projects with this delightful package and let the enchanting animations guide your audience through a delightful journey.

NPM JavaScript Style Guide

Install

yarn add react-step-by-step

Usage

import React, { Component } from 'react'

import { StepsContainer, Step, OutlinedInput } from 'react-step-by-step'
import 'react-step-by-step/dist/index.css'

const [activeStep, setActiveStep] = useState(0)

  <StepsContainer
    fullArea={true}
    borderRadius='5px'
    activeStep={activeStep}
    setActiveStep={setActiveStep}
  >
  <Step title='Step 1' buttonText='Next Step' hideTitle={true}>
    <div>Customize Here</div>
    <OutlinedInput placeholder='E-mail' />
  </Step>
  <Step
    title='Step 2'
    customNextStepFunction={() => console.log('delightful journey')}
    buttonText='Step 2'
    hideTitle={true}
  >
    <div>Customize Here</div>
  </Step>
  <Step
    title='Step 3 !'
    onLastStep={() => console.log('button is hide here')}
    hideButton={true}
  >
    <div>Customize Here</div>
  </Step>
</StepsContainer>

Example Video

example video

License

MIT © kursatsmsek

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago

0.0.1

5 years ago