@techaxis/formnex-start
v1.0.8
Published
CLI tool to add contact and waitlist components to Next.js apps
Readme
Formnex Starter
A CLI tool to add contact and waitlist starter forms to Next.js apps.
Overview
Pre-made components to get you started with Formnex.
- Contact form with Server Action
- Waitlist form with Server Action
Usage
- Create a form endpoint in your Formnex dashboard.
- Create a Next.js app (typescript, tailwind, shadcn/ui, Next15)
- Use the npx command to install the components
npx @techaxis/formnex-startIt will add the following files to your project:
- app/contact/page.tsx
- app/contact/form.tsx
- app/contact/action.ts
- app/waitlist/page.tsx
- app/waitlist/form.tsx
- app/waitlist/action.ts
Make sure to add the following to your .env.local file:
FORMNEX_API_KEY=your_api_key
FORMNEX_ENDPOINT_URL=your_endpoint_urlYou can always reference the example project in this repo for more details.
