In this video, I’ll show you how to build a modern, type-safe form using ShadCN UI’s Field component and TanStack Form, with Zod validation in a Next.js + TypeScript project.
React Hook Form has been the go-to library for years, but TanStack Form brings a fresh, modern approach — simpler, more flexible, and designed for the future.
Clone the code:
https://github.com/candraKriswinarto/...
Part 1:
• Stop Using Form from ShadCN! The NEW Field...
🛠️ Tools & Packages Used:
[Nextjs]: https://nextjs.org/
[Shadcn]: https://ui.shadcn.com/
[Tanstack form]: https://tanstack.com/
🌐 Check out more content:
My Portfolio: https://www.cand.site/
Medium: / ckriswinarto
💻 Get the Source Code:
GitHub:
https://github.com/candraKriswinarto/...
🌐 Recommended Digital Tools (Affiliate Links):
Hostinger: Get 20% Off on Web Hosting - https://dub.sh/zrpWarU
👍 If you found this video helpful, please like, and subscribe!
❓ Any questions? Drop them in the comments below!
#shadcn #nextjs