Uploaded November 2024 | Updated November 2026, 3 hours ago
Learn how to add type safe form inputs to react-hook-form by creating custom inputs with shadcn/ui. In this 6th lesson of the Next.js Full Stack project series, your forms will provide immediate user feedback and type safety.
⭐ Use the code "davegray" for 3 months free on the Team plan of Sentry for any new accounts:
- Sentry Homepage: bit.ly/sentry-dg
- Sentry Sign-up: bit.ly/try-sentry-dg
- Sentry Next.js: bit.ly/sentry-nextjs-dg
- Sentry Next.js Docs: bit.ly/sentry-docs-dg
🔥 Neon Postgres: https://fyi.neon.tech/davegray
🔒 Kinde Auth: kinde.com/dgray-nextjsstack
👉 Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
💖 Support me on Patreon ➜ patreon.com/davegray
🚩 Subscribe ➜ bit.ly/3nGHmNn
📬 Course Updates ➜ https://courses.davegray.codes/
❓ Ask Questions & Discuss on Discord ➜ discord.gg/neKghyefqh
☕ Buy Me A Coffee ➜ buymeacoffee.com/davegray
🔗 Next.js Full Stack Project playlist: youtube.com/playlist?list=PL0Zuz27SZ-6PCLz7VMP2QQdeKa83rshe5
👇 Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
🔗 Course Resources: github.com/gitdagray/nextjs-full-stack-project
Type Safe Form Inputs with React-Hook-Form, ShadCN/ui - Next.js Full Stack Project
(0:00:00) Intro
(0:01:10) Tech Stack
(0:01:30) User Stories Checklist
(0:02:02) Installing Dependencies
(0:04:01) Anatomy of the Form Components
(0:05:28) Text Input component
(0:15:31) Customer Form
(0:28:09) Textarea component
(0:35:51) States Array constant
(0:38:32) Select component
(0:52:19) Ticket Form
(1:04:46) Checkbox component
📚 Tutorial References:
🔗 Next.js: nextjs.org
🔗 ShadCN/ui: ui.shadcn.com
🔗 Sentry Next.js: bit.ly/sentry-nextjs-dg
🔗 Tailwind CSS: tailwindcss.com
🔗 TypeScript: typescriptlang.org
🔗 Drizzle ORM: https://orm.drizzle.team/
🔗 Neon Postgres: https://fyi.neon.tech/davegray
🔗 Kinde Auth: kinde.com/dgray-nextjsstack
Was this type safe form input tutorial with react hook form, shadcn/ui and Next.js helpful? If so, please share. Let me know your thoughts in the comments.
#nextjs #form #input
Learn how to add type safe form inputs to react-hook-form by creating custom inputs with shadcn/ui. In this 6th lesson of the Next.js Full Stack project series, your forms will provide immediate user feedback and type safety.
⭐ Use the code "davegray" for 3 months free on the Team plan of Sentry for any new accounts:
- Sentry Homepage: bit.ly/sentry-dg
- Sentry Sign-up: bit.ly/try-sentry-dg
- Sentry Next.js: bit.ly/sentry-nextjs-dg
- Sentry Next.js Docs: bit.ly/sentry-docs-dg
🔥 Neon Postgres: https://fyi.neon.tech/davegray
🔒 Kinde Auth: kinde.com/dgray-nextjsstack
👉 Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
💖 Support me on Patreon ➜ patreon.com/davegray
🚩 Subscribe ➜ bit.ly/3nGHmNn
📬 Course Updates ➜ https://courses.davegray.codes/
❓ Ask Questions & Discuss on Discord ➜ discord.gg/neKghyefqh
☕ Buy Me A Coffee ➜ buymeacoffee.com/davegray
🔗 Next.js Full Stack Project playlist: youtube.com/playlist?list=PL0Zuz27SZ-6PCLz7VMP2QQdeKa83rshe5
👇 Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
🔗 Course Resources: github.com/gitdagray/nextjs-full-stack-project
Type Safe Form Inputs with React-Hook-Form, ShadCN/ui - Next.js Full Stack Project
(0:00:00) Intro
(0:01:10) Tech Stack
(0:01:30) User Stories Checklist
(0:02:02) Installing Dependencies
(0:04:01) Anatomy of the Form Components
(0:05:28) Text Input component
(0:15:31) Customer Form
(0:28:09) Textarea component
(0:35:51) States Array constant
(0:38:32) Select component
(0:52:19) Ticket Form
(1:04:46) Checkbox component
📚 Tutorial References:
🔗 Next.js: nextjs.org
🔗 ShadCN/ui: ui.shadcn.com
🔗 Sentry Next.js: bit.ly/sentry-nextjs-dg
🔗 Tailwind CSS: tailwindcss.com
🔗 TypeScript: typescriptlang.org
🔗 Drizzle ORM: https://orm.drizzle.team/
🔗 Neon Postgres: https://fyi.neon.tech/davegray
🔗 Kinde Auth: kinde.com/dgray-nextjsstack
Was this type safe form input tutorial with react hook form, shadcn/ui and Next.js helpful? If so, please share. Let me know your thoughts in the comments.
#nextjs #form #input