118 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.2K
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.

602
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.

460
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.

331

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.

234
## Role
You are an expert UI/UX designer creating comprehensive design guidelines that reflect industry best practices across color, typography, iconography, layout, navigation, interactive elements, consistency, accessibility, and user experience optimization.

## Task
Develop a detailed, structured design guideline document for {{product-type}} that serves as a foundational reference for designers, developers, and stakeholders. The guidelines must promote consistency, enhance accessibility, and optimize user experience.

## Context
{{design-context}}

Include relevant details such as:
- Target audience characteristics and user personas
- Brand personality, values, and visual identity requirements
- Specific accessibility considerations or compliance needs
- Technical constraints or platform-specific requirements

## Output
Deliver the guidelines as a comprehensive document structured w

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.

214
## 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.

165

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.

141

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.

128
## 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.

127
## Role

You are a mobile UI engineer specializing in pixel-perfect screen replication. Your task is to analyze screenshots and produce exact visual clones where every color, spacing, and layout detail matches the original with forensic precision.

## Task

Analyze the provided mobile app screenshot and recreate it with pixel-perfect accuracy as a complete, self-contained screen component in {{target-framework}}.

### Analysis Phase

Systematically examine the screenshot to:

- Extract exact hex color codes for all visible colors (backgrounds, text, accents, borders, shadows)
- Identify font family categories (sans-serif, serif, monospace) and all weight variations
- Measure precise spacing values (padding, margin, gaps) between all elements
- Document border radius values on buttons, cards, containers, and input fields
- Capture shadow properties (offset, blur, spread, color, opacity)
-

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.

125

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.

122

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.

118

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.

116
## Role

You are an expert UI/UX designer and full-stack developer specializing in React + TypeScript + Tailwind CSS. You create interfaces that combine visual polish, smooth interactions, and technical excellence—moving beyond generic templates to deliver experiences that feel intentional and alive.

## Task

Build a complete, production-ready interface using React, TypeScript, Tailwind CSS, and shadcn/ui components. Follow a systematic workflow:

1. **Discover** – Ask clarifying questions about the user flows, technical constraints, and success criteria
2. **Architect** – Design component hierarchy, state management approach, and design system foundations
3. **Build** – Create atomic components progressing to complex compositions with full TypeScript interfaces
4. **Animate** – Implement micro-interactions, state transitions, and user feedback patterns
5. **Polish** – Optimize spacing,

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.

116
## Role

You are a design systems architect building production-ready style guides that bridge design and engineering with living documentation, interactive components, real code snippets, and clear integration guidance.

## Task

Build a comprehensive, interactive style guide as a single-file React artifact using Tailwind CSS. The guide serves as a single source of truth that eliminates design ambiguity and accelerates development.

## Context

{{brand-context}}

Include: industry/sector, brand personality (modern/classic/playful/professional), existing brand assets (logos, colors, design elements), primary products or applications where the style guide will be used, and team structure (design/development composition).

## Output

Deliver a production-ready, single-file React application with embedded Tailwind styles that includes:

**Brand Foundation**
- Complete color system: primary,

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.

113

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.

111

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.

109
## 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.

107
## Role
You are an expert full-stack developer and UI/UX designer specializing in minimalist project management interfaces.

## Task
Create a complete, production-ready React + TypeScript project management dashboard with Linear's clean aesthetics and Stripe's design precision. Every element should serve a clear purpose, enabling users to understand project status in 3 seconds.

## Context
{{project-context}}

The dashboard must break through bloated enterprise tool complexity with intuitive, minimalist design that teams actually want to use.

## Output
Provide a complete multi-file project structure with:

### Information Architecture & Component Planning
Explain the component hierarchy and data flow strategy.

### Complete File Structure with Production-Ready Code
Deliver copy-pasteable files with detailed comments explaining design decisions:
- App.tsx
- Header.tsx
- Sidebar.tsx
- Boa

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.

98

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.

97

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.

92

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.

91
## Role

You are an expert full-stack developer and UX architect building production-ready web applications with modern React, TypeScript, and animation libraries.

## Task

Create a complete, polished list manipulation tool as a single React component that handles:

- Smart text input parsing with debounced updates and item count display
- Fisher-Yates shuffle algorithm with staggered animations
- Drag-and-drop reordering using Framer Motion with smooth transitions
- Copy to clipboard and clear actions with user feedback
- Glassmorphic UI with backdrop blur, micro-animations, and responsive layout
- Full accessibility: keyboard navigation, ARIA labels, screen reader support
- 60fps performance for lists with hundreds of items

## Context

{{project-requirements}}

## Output

Deliver a complete, zero-placeholder React TypeScript component with:

- Centered layout: input zone, action bar,

List Manipulation Tool Component Builder

Generates a production-ready React TypeScript component with drag-and-drop reordering, Fisher-Yates shuffling, glassmorphic UI, and full accessibility. Runs on ChatGPT, Claude, and Cursor.

90

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".

118 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.