1.5.0 • Published 1 year ago

react-onboarding v1.5.0

Weekly downloads
6
License
MIT
Repository
github
Last release
1 year ago

react-onboarding npm.io

Simple wizard component for React.js

  • TypeScript ready

size npm.io

NPM | Github | Feature request

Preview

Preview

Installation

  • npm install --save react-onboarding
  • yarn add react-onboarding

How To Use

First import this component where you want to use it

import Wizard from "react-onboarding"

Then just render it

<Wizard />

Props

PropertyDescriptiontypeDefault value
rulearray rules for wizardWizardStep[]
isShowSets view modeboolean?true
prevButtonTitletitle for previous buttonstring?Prev
nextButtonTitletitle for next buttonstring?Next
closeButtonTitleText on Close buttonstring?Close
closeButtonElementReactNode?<button>
pinColorstring?1787fc
lineColorstring?1787fc
isScrollToElementboolean?false

Example

import React, { Component } from "react";
import Wizard from "react-onboarding";

const rule = [
    {
        elementId: 'elementId1',
        title: 'Title 1',
        description: 'description 1',
    },
    {
        elementId: 'elementId2',
        title: 'Title 2',
        description: 'description 2',
    },
]

const App = () => {
    return (
        <Wizard rule={rule} />
    );
}

export default App;
1.5.0

1 year ago

1.5.0-alpha.0

1 year ago

1.4.0-alpha.0

1 year ago

1.4.0-alpha.1

1 year ago

1.4.0-alpha.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.0-alpha.0

1 year ago

1.3.0-alpha.2

1 year ago

1.3.0-alpha.1

1 year ago

1.3.0-alpha.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.18

5 years ago

1.2.19

5 years ago

1.2.8

5 years ago

1.2.5

5 years ago

1.2.10

5 years ago

1.2.17

5 years ago

1.2.0

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.1.19

5 years ago

1.1.18

6 years ago

1.1.17

6 years ago

1.1.16

6 years ago

1.1.15

6 years ago

1.1.14

6 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago