120 AI Prompts for Frontend & UI

The best Frontend & UI prompts in the Coding library. Tested on ChatGPT, Claude, Gemini and every major model.

Browse the prompts

Popular
## Role

You are an expert full-stack developer and web designer specializing in production-ready portfolio sites that combine modern frontend engineering with visual storytelling.

## Task

Create a complete, production-ready React portfolio application using TypeScript, Tailwind CSS, and Framer Motion. Build a professional digital experience that balances bold design with flawless functionality.

## Context

{{portfolio-content}}

Include: personal brand/headline, 3-5 featured projects with descriptions, technical skills and expertise areas, professional background/story, and contact information with social links.

## Output

Deliver complete, functional components structured across these sections:

### Foundation Setup
Project structure, Tailwind configuration, and theme system

### Core Layout and Navigation
Glassmorphism navigation with scroll effects

### Hero Section
Animated grad

React Portfolio Website Builder

Generates a complete, production-ready React portfolio application with TypeScript, Tailwind CSS, and Framer Motion animations. Runs on ChatGPT, Claude, and Cursor to deliver accessible, deployment-ready code.

1.4K
Popular
## Role

You are an expert frontend developer and mathematical software architect guiding the creation of a professional scientific calculator web application using HTML5, CSS3, and vanilla JavaScript.

## Context

This is a sophisticated mathematical tool that rivals physical scientific calculators used by engineers and students. The application must handle complex mathematical operations with precision, provide an intuitive user experience across all devices, and include advanced features like calculation history, memory operations, and accessibility options.

**Development context:**
- Current web development experience: {{experience-level}}
- Mathematical background: {{math-familiarity}}
- Target users and primary use cases: {{target-users}}

## Task

Provide comprehensive technical specifications, implementation strategies, and code architecture guidance for building this feature-ri

Scientific Calculator Web App Builder

Generates a complete technical specification and step-by-step implementation guide for building a professional scientific calculator web application in HTML, CSS, and vanilla JavaScript. Runs on ChatGPT, Claude, Gemini, and Grok.

654
Popular

Minimalist Company Website Builder Prompt

Generates a complete, single-file HTML website with embedded CSS and JavaScript tailored to your business context. Runs on ChatGPT, Claude, and other code-capable models to produce production-ready, mobile-responsive sites.

599
Popular

Admin Dashboard Design Specification Prompt

Generates a complete admin dashboard specification following Apple's Human Interface Guidelines for web, with information architecture, component layouts, and interaction patterns. Runs on ChatGPT, Claude, Gemini, and Grok.

400

UI/UX Design Guidelines Generator for Digital Products

Generates a comprehensive, structured design guideline document covering color, typography, layout, navigation, accessibility, and interaction patterns. Runs on ChatGPT, Claude, and Gemini to produce ready-to-implement standards for design teams.

269
## Role

You are an expert full-stack web developer and UI/UX architect building production-ready web applications.

## Task

Create a comprehensive implementation guide for a professional-grade markdown notes application that runs entirely in the browser without backend dependencies. This is a complete knowledge management system competing with Obsidian and Notion, featuring real-time rendering, persistent storage, advanced organization, and export capabilities.

## Context

The application must handle complex markdown syntax (tables, code blocks, mathematical equations) while maintaining performance. Users expect desktop-application quality with intuitive workflows, keyboard-driven efficiency, and zero data loss. Balance feature richness with clean, maintainable code architecture.

**Technical specifications:**
- Stack: HTML5, CSS3, vanilla JavaScript with modular ES6 modules and clear

Build Markdown Notes App Prompt for ChatGPT

Generates a complete implementation guide for a browser-based markdown notes application with split-screen preview, hierarchical organization, auto-save, and export capabilities, built in vanilla JavaScript. Runs on ChatGPT, Claude, Gemini, and Grok.

259
## Role

You are a senior UI/UX engineer specializing in transforming legacy interfaces into modern, high-performing products.

## Task

Refactor the provided dashboard code into a polished, production-ready implementation that:

- Applies a cohesive design system (color, typography, spacing, visual hierarchy)
- Reduces cognitive load through improved information architecture
- Implements micro-interactions, loading states, and interaction feedback
- Meets WCAG 2.1 AA accessibility standards
- Optimizes performance (lazy loading, memoization, efficient re-renders)
- Uses modern patterns (React 18+ hooks, Tailwind CSS utilities, responsive design)
- Maintains 100% feature parity with the original

## Context

{{dashboard-specification}}

Include: complete component code or file contents, current tech stack and libraries, specific UX/design pain points to resolve, brand colors (or indicate

UI Modernization Prompt for Dashboard Refactoring

Generates production-ready React code that transforms legacy dashboard interfaces into modern, accessible, high-performing UIs while maintaining 100% feature parity. Runs on ChatGPT, Claude, and Cursor.

201

WebGL Landing Page Design Prompt

Generates a complete creative direction and visual system specification for a scroll-reactive, shader-based landing page built on Three.js and WebGL. Runs on ChatGPT, Claude, Gemini, and Grok to produce developer-ready design documentation.

171

Recreate Mobile App UI Designs From Screenshots

Generates pixel-perfect, production-ready UI code from a mobile app screenshot with a full forensic breakdown of colors, typography, spacing, and component specifications. Runs on ChatGPT, Claude, Gemini, and Grok.

159
## Role

You are an expert creative technologist and motion graphics engineer specializing in animated screensavers and kinetic digital experiences.

## Task

Design and develop a fully animated, professional-grade screensaver with smooth animations, dynamic effects, and seamless platform integration. Provide a comprehensive, step-by-step implementation plan with technical specifications, code frameworks, and deployment guidance.

## Context

**Theme**: {{screensaver-theme}}

**Target platform(s)**: {{target-platform}}

**Technical requirements and skill level**: {{requirements-and-skill-level}}

## Output

Structure your screensaver development plan with these sections:

ā— **Theme Analysis & Visual Concept Design** – Translate the theme into concrete visual elements, color palettes, and motion principles that create captivating idle-screen experiences

ā— **Animation Architecture & Techn

Animated Screensaver Design and Development Prompt

Generates a complete implementation plan for building animated screensavers, including code frameworks, animation architecture, performance optimization, and platform deployment. Runs on ChatGPT, Claude, and Cursor.

156
## Role

You are a senior full-stack engineer and UI architect specializing in production-ready admin dashboards.

## Task

Build a complete, production-ready admin dashboard system with multi-page layout, data management capabilities, and professional UI design.

First, ask discovery questions to understand requirements, then design the information architecture and implement core features including navigation, data tables, forms, charts, user management, and settings.

## Context

{{dashboard-requirements}}

The dashboard must handle complex data relationships and user management while being sophisticated enough to scale with business growth. It should work immediately for production deployment without additional configuration.

## Technical Stack & Standards

- **Framework**: React 18 with TypeScript, Tailwind CSS
- **Libraries**: Recharts, React Hook Form, Tanstack Table
- **Design**:

Admin Dashboard Generator for React and TypeScript

Generates a complete, production-ready admin dashboard system with multi-page layout, data tables, charts, user management, and responsive UI. Runs on ChatGPT, Claude, and Cursor to output React 18 + TypeScript code with Tailwind CSS.

145

WordPress Theme Builder for Specific Industries

Generates a complete, installable WordPress theme package with custom templates, conversion-focused UI components, and industry-tailored functionality. Runs on ChatGPT, Claude, and Cursor to deliver production-ready PHP, CSS, and JavaScript code.

142

Build Carousel Sliders

Generates production-ready carousel slider code following Nielsen Norman Group usability guidelines, with accessible navigation, keyboard support, and user-controlled interactions. Runs on ChatGPT, Claude, and Cursor for HTML, CSS, and JavaScript output.

137

Design System Style Guide Generator

Generates a production-ready, interactive style guide as a single-file React application with Tailwind CSS, including brand foundations, component libraries, design tokens, and implementation instructions. Runs on ChatGPT, Claude, and Cursor.

133
## Role

You are a form optimization specialist applying established UX research and behavioral psychology to maximize completion rates while minimizing user friction.

## Task

Create a comprehensive contact form implementation plan that balances high completion rates, security, and proper data handling.

## Context

{{form-requirements}}

{{integration-details}}

Design for mobile-first completion, minimize abandonment through smart validation and clear error messaging, and ensure accessibility. Every field must justify its existence—prioritize only essential fields.

## Output

Deliver a complete implementation plan organized as:

**Form Structure**
Field-by-field breakdown with labels, input types, and justification for inclusion. Group related fields logically.

**Validation Rules**
For each field: validation logic, trigger timing (on blur vs. on submit), and specific error message 

Contact Form Builder Prompt for ChatGPT

Generates a complete contact form implementation plan optimized for high completion rates, mobile-first UX, and secure data handling. Runs on ChatGPT, Claude, Gemini, and Grok.

132
## Role
You are an expert frontend developer specializing in shader-based animations, WebGL effects, and high-performance interactive UI.

## Task
Create a complete, production-ready single-file HTML website with shader-driven animations, mouse-interactive effects, gradient overlays, dithering textures, and wavy motion design. The site must balance maximalist visual richness with professional credibility and smooth performance.

## Context
{{business-context}}

The website should feature 4-5 sections including a shader-animated hero plus additional sections (services showcase, about overview, portfolio grid, testimonials, process explanation, or call-to-action). Every section must incorporate visual effects that enhance the message.

## Technical Requirements
- Single-file HTML with all CSS and JavaScript inline
- WebGL/Canvas shader effects for hero text and key visual elements
- Respon

Maximalist Website Generator With Shader Animations

Generates a complete single-file HTML website featuring WebGL shader animations, mouse-interactive effects, and maximalist visual design. Outputs production-ready code for ChatGPT, Claude, or Cursor.

132

URL Shortener App Builder Prompt

Generates a complete full-stack URL shortening application with responsive frontend, backend API integration, QR code generation, custom aliases, analytics dashboard, and security features. Runs on ChatGPT, Claude, Gemini, and Grok.

129

React TypeScript UI Designer and Code Generator

Generates production-ready React + TypeScript + Tailwind CSS interfaces with shadcn/ui components, complete accessibility, and micro-interactions. Runs on ChatGPT, Claude, and Cursor.

125
## Role

You are an expert front-end architect and food-tech UX specialist building a complete recipe finder application that combines discovery, personalization, meal planning, and practical cooking assistance.

## Task

Create a comprehensive technical implementation blueprint for a feature-rich recipe application that transforms API data into an engaging cooking companion. Deliver a structured, step-by-step development guide covering architecture, UI/UX, and advanced features—all implementable without backend infrastructure.

## Context

**User requirements:**
- Coding experience level: {{coding-experience}}
- Preferred recipe API: {{recipe-api}}
- Target audience: {{target-audience}}
- Design preferences: modern, appetite-driven visuals with large food photography, warm accent colors, and clean responsive grid (recommend specific palette and typography if none specified)
- Developmen

Recipe Finder App Front-End Blueprint Prompt

Generates a complete front-end technical implementation guide for building a recipe finder web application with search, meal planning, nutrition tracking, offline mode, and social sharing. Runs on ChatGPT, Claude, Gemini, and Grok.

120
## Role
You are an expert front-end developer and UX designer specializing in image gallery experiences.

## Task
Guide the user through building a complete Lightbox-style image gallery with:

- Thumbnail grid with lazy loading
- Modal overlay with proper z-index and backdrop
- Navigation: previous/next arrows, keyboard support, touch gestures
- UI elements: close button, image counter, caption display
- Smooth transitions and loading states
- Responsive design across device sizes
- Accessibility features for screen readers

## Context
{{technical-context}}

Begin by confirming the image source approach and technical preferences, then systematically build each component from grid to modal interactions.

## Output
Structure your response with clear section headings. Provide all code examples in properly formatted code blocks with syntax highlighting. Organize implementation steps as numbe

Lightbox Image Gallery Builder

Builds a complete Lightbox-style image gallery with thumbnail grids, modal overlays, navigation, and accessibility features. Generates production-ready frontend code for ChatGPT, Claude, or Cursor.

106

Interactive Countdown Timer Builder

Generates production-ready countdown timer web applications with smooth animations, celebration effects, and responsive design. Runs on ChatGPT, Claude, and Cursor to output complete code with state persistence and accessibility features.

105

Minimalist Project Dashboard Builder for React

Generates a complete React + TypeScript project management dashboard with drag-and-drop, dark mode, and Linear-inspired minimalist UI. Runs on ChatGPT, Claude, and code-focused LLMs.

104

Color Wheel Application Generator

Generates a complete, production-ready React color wheel application with advanced color theory mathematics, harmony generation, and smooth canvas interactions. Built for ChatGPT, Claude, and Cursor to output TypeScript code matching Adobe and Figma standards.

99
## Role
You are a design systems architect who builds production-ready UI component libraries that scale across products and teams.

## Task
Generate a complete, systematic UI kit with design tokens, component library, and implementation guidelines.

## Context
{{project-requirements}}

Include:
- CSS framework (ShadCN, Tailwind, custom CSS, or other)
- Design style preference (modern, minimal, bold, classic, etc.)
- Primary use case (web app, marketing site, dashboard, e-commerce, etc.)
- Brand colors if specific (otherwise use a professional default palette)
- Target device priorities (desktop, mobile, tablet)

## Requirements
- Create foundational design tokens: color palettes with semantic naming, typography scales, spacing systems (4px or 8px base), sizing scales
- Build component variations: buttons (primary, secondary, ghost, danger) with hover/active/disabled states and three siz

UI Component Library Builder Prompt for ChatGPT

Generates a complete, production-ready UI component library with design tokens, component code, and implementation guidelines. Runs on ChatGPT, Claude, and Cursor to output systematic CSS/framework code for scalable design systems.

94

What are AI prompts for Frontend & UI?

AI prompts for Frontend & UI are engineered instructions that already work. These are not one-line questions. Each one fixes the role, the context, the task and the output format before you type a word, so you get a usable result on the first run instead of the fourth.

They cover the work Frontend & UI actually get asked for: research and briefs, copy and content, analysis and reporting, planning, outreach and the admin that eats the day. Open a card to see the full prompt and the output it returns.

Popular on this page right now: "React Portfolio Website Builder", "Scientific Calculator Web App Builder", "Minimalist Company Website Builder Prompt".

120 on this page, every one scoped to Frontend & UI. Free to read, free to copy.

Why these prompts work for Frontend & UI

A weak prompt costs you the hour you were trying to save: you rewrite it three times, get something generic, then finish the job by hand. An engineered prompt front-loads that thinking once.

In Frontend & UI that means first drafts you can send, analysis you can act on, and the repetitive work handed off, so the time goes into judgement instead of typing.

Every prompt here was written for a real job and tested against the models people actually use. Nothing scraped from a thread.

How to use these prompts

Open a prompt, copy it, and replace the [bracketed] variables with your own product, audience or topic. The structure around them stays as is. That structure is the part doing the work.

Paste it into ChatGPT, Claude, Gemini, Grok or the model you already use. If the output drifts, tighten the context line instead of rewriting the whole prompt.

No account needed to copy one. No setup, no extension, nothing to install.

Which AI tool works best for Frontend & UI prompts?

Text prompts here run well in ChatGPT, Claude, Gemini and Grok; image prompts target Midjourney and Nano Banana. Each card lists the models it was tested with.

Are these AI prompts free to use?

A big part of the library is free: open a prompt, copy it, use it. Premium packs and the Complete AI Bundle unlock the full collection with lifetime updates.

How do I adapt these prompts to my use case?

Start with the [variables]: niche, audience, constraints. If the result still misses, add one example of the output you want. A single good example beats three extra instructions.

For a prompt built from scratch, the Start Now card above opens the custom prompt generator.

Related resources

Get smarter on AI every week

One email a week with the best new prompts, tools, and model updates. Unsubscribe anytime.

Join 100,000+ subscribers. One email a week, real prompts, tools, and model updates. Unsubscribe anytime.

About Frontend & UI prompts

Frontend and UI prompts build the components and screens a user touches: a form with validation, a data table with sorting and empty states, a responsive layout, a design token set, a page from a screenshot, an accessibility pass on an existing component. They name the framework, the styling approach, the states to handle and the breakpoints, and they forbid new dependencies unless asked, so the output drops into your codebase rather than beside it.

Frontend developers use them for the repetitive parts (states, responsiveness, keyboard support) that are easy to specify and tedious to write. Designers use the screen prompts to turn a mock into working markup for a review. Product teams use the audit prompts to find the layout breaks and accessibility gaps before users do. Paste the component back after generation and ask for the three most likely bugs; that second pass catches most of what the first one missed.

UI prompts for real components

UI prompts fail when they describe a mood instead of a component. The prompts here name the component, its states, the breakpoints and the library in use, so the output is code you can run, not a screenshot you cannot. A good UI prompt also says what the component must not do: no new dependencies, no inline styles, no placeholder text.

Build a [component] in [React/Vue/Svelte] with [Tailwind/CSS modules]. States: default, hover, focus, disabled, loading, error. Mobile first, breakpoints at 640 and 1024. Accessible: keyboard reachable, visible focus ring, aria labels where needed. No new dependencies. Return the component file only, with a short comment on each prop.

Follow with a second prompt that pastes the output back and asks for the three most likely bugs. The review pass catches most layout breaks before you see them.