Learn how to integrate your Formbox form with Next.
Yes
for Tailwind CSS
and App Router
.
http://localhost:3000
. You should see a new Next application running.
Yes
for Tailwind CSS
, so it should already be set up in your project. If not, you can add it by following the guide linked above.
Once you have Tailwind CSS set up, let’s add our form.
Open up the page.tsx
file within the root of the app
directory and replace everything in the file with the following code block:
action
attribute as shown in the code block above.
Save the file and navigate to http://localhost:3000
in your browser. You should see a form that you can fill out and submit.