This setup uses this GitHub repo as a reference

https://github.com/CarterH93/nextjs-firebase-template

Follow in order

Create nextjs app

Create new Firebase Project

Install reactformhook

Install shadcn ui

Add components into auto generated shadecn folder

Copy Files from github repo

Host your app