Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 12 months ago

Multi-Step form with Zod validation | React Hook Form | Tailwind CSS

react, tailwind-css, zod, vite
Javier de Santiago•110
@javierdesant
A solution to the Multi-step form challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I happy with the overall final design. However, I’m considering using some Headless UI components next time to streamline the styling and make it more flexible. That said, just finishing this project feels like a major accomplishment on its own, and I’m happy with how it turned out!

What challenges did you encounter, and how did you overcome them?

Managing the state of the multistep form was a challenge, but I was able to address it by implementing a form provider. I also made the decision to replace the phone input with an imported component, as I wasn’t sure how to properly handle validation using Zod without it... what do you think?

What specific areas of your project would you like help with?

I had some trouble implementing the footer navigation bar for mobile screens, and it still isn’t working as expected. If anyone has tips or advice on this issue (or any other part of my code, really) feel free to comment and share your feedback!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Javier de Santiago's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License