A modern contact form application built with Next.js 15, TypeScript, and various cutting-edge technologies.
| Feature | Description |
|---|---|
| 🎨 Modern UI/UX | Beautiful and intuitive interface using Tailwind CSS |
| 🔒 Email Sending | Secure email sending with Resend and React Email |
| 📱 Responsive | Fully responsive design for all devices |
| ✍️ Contact Form | Easy-to-use contact form for user inquiries |
- Clone the repository
git clone https://github.com/yourusername/contact-form-resend-react-email.git
cd contact-form-resend-react-email- Install dependencies
npm install
# or
pnpm install
# or
yarn install- Set up environment variables
Create a
.envfile in the root directory and add:
RESEND_API_KEY=your_resend_api_key- Start the development server
npm run dev
# or
pnpm dev
# or
yarn dev-
Open your browser Navigate to http://localhost:3000 to see the application running.
-
Start React Email development server (optional)
npm run emailThis will start the React Email preview server at http://localhost:3001
Click to expand tech stack details
- Next.js 15 - React framework for production
- TypeScript - Static type checking
- Resend - Modern email delivery service
- React Email - Email template builder for React
- React Hook Form - Form validation
- Zod - TypeScript-first schema validation
- Next Safe Action - Type-safe server actions
- Tailwind CSS - Utility-first CSS framework
- Shadcn UI - Re-usable components
- Lucide Icons - Beautiful open-source icons
To run this project, you will need to add the following environment variables to your .env file:
| Variable | Description |
|---|---|
RESEND_API_KEY |
API key for Resend email service |
RESEND_API_KEY=

