AI Web Builder Prompts
30+ ChatGPT prompts to accelerate web development. Generate responsive layouts, production-ready code, design systems, and complete website frameworks using AI.
Website Layout & Design Generation
AI prompts for creating modern website layouts, component systems, and design frameworks.
Hero Section Designer
Design a modern hero section for a SaaS product landing page. Include a compelling headline, subheading, CTA button, and hero image placeholder. Use Tailwind CSS and ensure mobile responsiveness. The hero should convey trust, innovation, and ease of use.
Navigation Bar Builder
Create a responsive navigation bar component that works on desktop and mobile. Include logo, navigation links, and mobile hamburger menu. Use React and Tailwind CSS. The navbar should be sticky, support dark mode, and have smooth animations.
Card Component Generator
Generate a flexible card component system with multiple variants (featured, compact, transparent). Each card should support image, title, description, and call-to-action. Include hover effects and animations. Make it fully customizable with Tailwind CSS.
Form Layout Designer
Design a multi-step form for user registration. Include progress indicator, form fields, validation messages, and submission handler. Use React hooks for state management. Ensure accessibility and mobile-friendly layout with Tailwind CSS.
Footer Component Creator
Create a comprehensive footer with company info, links, newsletter signup, social media icons, and legal links. Design it to be responsive, visually appealing, and conversion-focused. Use semantic HTML and Tailwind CSS.
Grid Layout Generator
Generate a responsive grid layout system for displaying products, articles, or portfolio items. Include filtering options, search functionality, and infinite scroll. Adapt layout based on screen size and ensure images load efficiently.
React & Next.js Code Generation
Prompts for generating production-ready React components and Next.js pages.
API Integration Component
Create a React component that fetches data from a REST API endpoint. Include loading state, error handling, and retry logic. Use React hooks (useState, useEffect) and fetch or axios. Display data in a formatted table with pagination.
Authentication Flow Setup
Generate a complete authentication flow for a Next.js app including login, signup, password reset, and protected routes. Use NextAuth.js or similar library. Include form validation, error handling, and session management.
State Management Solution
Create a custom hook for managing complex state using useContext and useReducer. Include example components that consume this state. Make it reusable across the application without requiring external libraries like Redux.
Real-time Data Component
Build a React component that displays real-time data using WebSockets or Server-Sent Events. Include connection status indicator, auto-reconnection logic, and data visualization. Optimize for performance with memoization.
E-commerce Product Page
Generate a complete product page component with image gallery, variant selection, reviews, related products, and add-to-cart functionality. Include state management for selected options and quantity. Use Next.js Image component for optimization.
Dashboard Layout Template
Create a dashboard layout with sidebar navigation, header, and main content area. Include responsive design that collapses sidebar on mobile. Add theme toggle and user profile dropdown. Use React and Tailwind CSS.
Responsive Design & Mobile Optimization
Prompts for creating mobile-first designs and responsive web experiences.
Mobile-First Layout
Design a mobile-first layout for an e-commerce site. Start with single column on mobile, expand to 2 columns on tablet, 4 columns on desktop. Include touch-friendly buttons and optimized images. Use CSS media queries or Tailwind breakpoints.
Responsive Typography System
Create a typography system that scales responsively from mobile to desktop. Define font sizes, line heights, and spacing for headings, body text, and small text. Use CSS variables or Tailwind config for easy maintenance.
Flexible Grid System
Build a custom CSS grid system that works across all devices. Include support for different column counts, gaps, and alignment options. Make it easy to use with CSS classes or React components. Ensure proper fallbacks for older browsers.
Touch-Optimized Components
Design UI components optimized for touch interaction with larger tap targets (minimum 48x48px). Include visual feedback for touch events. Make hover states work well on touch devices with fallbacks.
Image Optimization Strategy
Create a system for serving optimized images across different screen sizes. Use Next.js Image component or modern img elements with srcset and sizes attributes. Include WebP format support with fallbacks.
Mobile Navigation Patterns
Design different navigation patterns for mobile (hamburger menu, bottom nav, drawer). Include smooth transitions and touch-friendly sizes. Show when each pattern works best and provide implementation code.
Design Systems & Component Libraries
Prompts for building scalable design systems and reusable component libraries.
Design System Setup
Create a complete design system documentation structure including color palette, typography, spacing scale, and component guidelines. Include Figma-ready specifications and code examples. Make it scalable and maintainable.
Component Library Framework
Set up a React component library with TypeScript, Storybook, and proper export structure. Create example components (Button, Input, Modal). Include setup for publishing to npm and versioning strategy.
Theming System
Build a flexible theming system that supports light and dark modes plus custom themes. Use CSS-in-JS or CSS variables. Make it easy to switch themes at runtime and persist user preference.
Icon System
Create a scalable icon system using SVG sprites or icon font. Include sizing options, color variations, and animation states. Show how to integrate with React components. Document naming conventions.
Accessibility Guidelines
Develop comprehensive accessibility guidelines for a design system including WCAG compliance checklist, color contrast requirements, keyboard navigation patterns, and screen reader testing procedures.
Component Documentation Template
Create a template for documenting components including usage examples, props documentation, accessibility notes, and related components. Include variant showcase and edge case examples.
Advanced Web Techniques & Performance
Prompts for implementing advanced features and optimizing web performance.
SEO Optimization Setup
Configure Next.js for optimal SEO with meta tags, Open Graph data, structured data, and sitemaps. Generate SEO metadata for dynamic pages. Include canonical URLs and robots.txt configuration.
Performance Monitoring
Implement performance monitoring using Web Vitals API. Track Core Web Vitals metrics and send to analytics service. Create dashboard to visualize performance trends and identify issues.
Internationalization Setup
Set up i18n (internationalization) in a Next.js app with support for multiple languages and locales. Include language switching UI, locale detection, and translation file structure. Show best practices for managing translations.
Analytics Implementation
Integrate Google Analytics, Mixpanel, or similar platform into a web app. Track custom events, user journeys, and conversion funnels. Create reusable hooks for event tracking across components.
Progressive Web App Setup
Convert a web app to a PWA with service workers, manifest.json, and offline support. Include installation prompts and cache strategies. Test with Lighthouse PWA audit.
Error Handling & Logging
Implement comprehensive error handling with error boundaries, fallback UI, and error logging service. Include stack trace capture and user-friendly error messages. Set up alerts for critical errors in production.
Frequently Asked Questions
Related Prompt Collections
AI Translation Prompts
30+ prompts for document translation and localization
AI Writing Assistant
30+ prompts for content creation and editing
AI for Musicians
30+ prompts for music composition and production
AI for Gaming
30+ prompts for game design and development
AI Research Assistant
30+ prompts for research and analysis
AI Study Prompts
30+ prompts for learning and education
AI Poem Generator
30+ prompts for poetry and creative writing
AI Free Art Prompts
30+ prompts for visual art generation