r/learnreactjs • u/cseigel • Jul 20 '22
Question Suggested reactJS component for boxes/buttons (that a user would click) that have dependencies (must click in certain order)
I am looking to build something like what turbo tax has, where you do steps in order, where some steps you must complete the previous step(s) first. Really it would just be a series of buttons or boxes they would click... ANYWAYS... I realize this is probably a custom component I should build, but looking at bootstrap and material I don't really see any boxes connected by lines that I could use as a starting point. If any of this makes sense, please tell me if you think there is a component out there somewhere I could build upon, or if I need to build the wheel from scratch. Also feel free to tell me I'm just rambling and I need to go back to the drawing board. thanks for reading!
View all comments
Show parent comment
3
u/cseigel Jul 21 '22
After a great suggestion by u/Crazyloon88
I am going to go with this one: https://www.npmjs.com/package/react-step-progress/v/1.0.2
https://codesandbox.io/s/pbs5n?file=/src/App.js:79-98