How to Add HeadKit to a React or Next.js Application

Integrate HeadKit into Next.js App Router using the Next.js Script component without triggering SSR hydration mismatches.