This example shows how you can build forms with Next.js and Server Actions.
Execute create-next-app
with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example next-forms next-forms-app
yarn create next-app --example next-forms next-forms-app
pnpm create next-app --example next-forms next-forms-app
Deploy it to the cloud with Vercel (Documentation).