To render a React component only on client-side in Next.js, use next/dynamic with { ssr: false }.
{ ssr: false }