Build Production-Ready UI Components
Design reusable frontend components with responsive behavior, accessibility, loading states, and edge cases in mind.
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