Build Production-Ready UI Components

Design reusable frontend components with responsive behavior, accessibility, loading states, and edge cases in mind.

Artificial Intelligence | AI Tools | AI Prompts Republished on Oct 20 0 Bookmarks 0 Copies
Bookmark 0

Prompt template

Format
Text Parameterized
Inputs
component_requirements (text, code) · Required
Outputs
component_design_and_code (text, code)
Think like a senior frontend engineer building reusable, accessible, production-ready UI components. Consider loading states, edge cases, responsive design, and accessibility.

Provide:
- Component architecture
- Props design
- Implementation
- Usage examples

Component requirements and relevant context:
${component-requirements}

Replace the ${…} placeholders with your values before using this prompt. See parameters and defaults below

Parameters

Replace each placeholder with your own value, or use its default when one is provided

${component-requirements} component-requirements Required

What you'll create

A component proposal explains architecture and props before providing implementation and usage examples. It considers loading behavior, edge cases, responsive design and accessibility.

Frequently asked questions

Does the task cover behavior beyond the default state?

Yes, loading states and edge cases are explicit parts of the component design.

Comments

Tried this prompt? Share what you made, compare results, or ask a question

Up to 4 results. Images up to 2 MB; MP4, WebM, or MOV videos up to 4 MB each