
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
react-wizr
Advanced tools
React library for building declarative wizards
const App = () => (
<Wizard
onStepChanged={({ activeStepIndex }) =>
console.log(`Step changed: ${activeStepIndex}`)
}
>
<Steps>
<Step id="first">
<section>
Minions ipsum tulaliloo la bodaaa tatata bala tu la bodaaa. Aaaaaah
para tĂş aaaaaah hahaha ti aamoo! Bappleees belloo! Tatata bala tu
bappleees. Uuuhhh para tĂş underweaaar poopayee hahaha chasy me want
bananaaa! Potatoooo ti aamoo! Baboiii.
</section>
</Step>
<Step id="second">
<section>
Belloo! tatata bala tu chasy poopayee ti aamoo! Para tĂş bee do bee do
bee do belloo! Tatata bala tu hahaha bappleees me want bananaaa!
Belloo! Hana dul sae belloo! Tatata bala tu gelatooo. Chasy tank yuuu!
Underweaaar belloo! Gelatooo.
</section>
</Step>
<Step id="third">
<section>
Poopayee poulet tikka masala potatoooo aaaaaah pepete gelatooo baboiii
daa. Bananaaaa potatoooo poulet tikka masala hana dul sae uuuhhh
tulaliloo. Poopayee jiji tank yuuu! Jiji potatoooo bappleees belloo!
Uuuhhh bappleees chasy.
</section>
</Step>
</Steps>
<Navigation
render={({ activeStepIndex, goToNextStep, goToPrevStep, totalSteps }) => (
<div>
{activeStepIndex > 0 && <button onClick={goToPrevStep}>Back</button>}
{activeStepIndex < totalSteps - 1 && (
<button onClick={goToNextStep}>Next</button>
)}
</div>
)}
/>
</Wizard>
);
class App extends Component {
state = {
activeStepIndex: 0
};
render() {
return (
<Wizard
activeStepIndex={this.state.activeStepIndex}
onStepChanged={({ activeStepIndex }) => {
this.setState({ activeStepIndex });
console.log(`Step changed: ${activeStepIndex}`);
}}
>
<Steps>
<Step id="first">
<section>
Minions ipsum tulaliloo la bodaaa tatata bala tu la bodaaa.
Aaaaaah para tĂş aaaaaah hahaha ti aamoo! Bappleees belloo! Tatata
bala tu bappleees. Uuuhhh para tĂş underweaaar poopayee hahaha
chasy me want bananaaa! Potatoooo ti aamoo! Baboiii.
</section>
</Step>
<Step id="second">
<section>
Belloo! tatata bala tu chasy poopayee ti aamoo! Para tĂş bee do bee
do bee do belloo! Tatata bala tu hahaha bappleees me want
bananaaa! Belloo! Hana dul sae belloo! Tatata bala tu gelatooo.
Chasy tank yuuu! Underweaaar belloo! Gelatooo.
</section>
</Step>
<Step id="third">
<section>
Poopayee poulet tikka masala potatoooo aaaaaah pepete gelatooo
baboiii daa. Bananaaaa potatoooo poulet tikka masala hana dul sae
uuuhhh tulaliloo. Poopayee jiji tank yuuu! Jiji potatoooo
bappleees belloo! Uuuhhh bappleees chasy.
</section>
</Step>
</Steps>
<Navigation
render={({
activeStepIndex,
goToNextStep,
goToPrevStep,
totalSteps
}) => (
<div>
{activeStepIndex > 0 && (
<button onClick={goToPrevStep}>Back</button>
)}
{activeStepIndex < totalSteps - 1 && (
<button onClick={goToNextStep}>Next</button>
)}
</div>
)}
/>
</Wizard>
);
}
}
const App = () => (
<Router>
<Switch>
<Route
path="/steps"
render={({ history, match: { url } }) => (
<Wizard
history={history}
baseUrl={url}
onStepChanged={({ activeStepIndex }) =>
console.log(`Step changed: ${activeStepIndex}`)
}
>
<Steps>
<Step id="first">
<section>
Minions ipsum tulaliloo la bodaaa tatata bala tu la bodaaa.
Aaaaaah para tĂş aaaaaah hahaha ti aamoo! Bappleees belloo!
Tatata bala tu bappleees. Uuuhhh para tĂş underweaaar poopayee
hahaha chasy me want bananaaa! Potatoooo ti aamoo! Baboiii.
</section>
</Step>
<Step id="second">
<section>
Belloo! tatata bala tu chasy poopayee ti aamoo! Para tĂş bee do
bee do bee do belloo! Tatata bala tu hahaha bappleees me want
bananaaa! Belloo! Hana dul sae belloo! Tatata bala tu
gelatooo. Chasy tank yuuu! Underweaaar belloo! Gelatooo.{' '}
</section>
</Step>
<Step id="third">
<section>
Poopayee poulet tikka masala potatoooo aaaaaah pepete gelatooo
baboiii daa. Bananaaaa potatoooo poulet tikka masala hana dul
sae uuuhhh tulaliloo. Poopayee jiji tank yuuu! Jiji potatoooo
bappleees belloo! Uuuhhh bappleees chasy.
</section>
</Step>
</Steps>
<Navigation
render={({
activeStepIndex,
goToNextStep,
goToPrevStep,
totalSteps
}) => (
<div>
{activeStepIndex > 0 && (
<button onClick={goToPrevStep}>Back</button>
)}
{activeStepIndex < totalSteps - 1 && (
<button onClick={goToNextStep}>Next</button>
)}
</div>
)}
/>
</Wizard>
)}
/>
<Redirect from="/" to="/steps" />
</Switch>
</Router>
);
This project is licensed under the MIT License - see the LICENSE.md file for details
FAQs
React library for building declarative wizards
We found that react-wizr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.