
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
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.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600Ă faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.