30+ ChatGPT prompts to accelerate web development. Generate responsive layouts, production-ready code, design systems, and complete website frameworks using AI.
AI prompts for creating modern website layouts, component systems, and design frameworks.
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.
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.
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.
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.
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.
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.
Prompts for generating production-ready React components and Next.js pages.
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.
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.
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.
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.
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.
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.
Prompts for creating mobile-first designs and responsive web experiences.
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.
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.
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.
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.
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.
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.
Prompts for building scalable design systems and reusable component libraries.
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.
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.
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.
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.
Develop comprehensive accessibility guidelines for a design system including WCAG compliance checklist, color contrast requirements, keyboard navigation patterns, and screen reader testing procedures.
Create a template for documenting components including usage examples, props documentation, accessibility notes, and related components. Include variant showcase and edge case examples.
Prompts for implementing advanced features and optimizing web performance.
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.
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.
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.
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.
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.
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.
30+ prompts for document translation and localization
30+ prompts for content creation and editing
30+ prompts for music composition and production
30+ prompts for game design and development
30+ prompts for research and analysis
30+ prompts for learning and education
30+ prompts for poetry and creative writing
30+ prompts for visual art generation