Use the prompt
Include the component's states, interaction requirements, and existing design conventions. An empty state or error state often reveals requirements that a single visual mockup misses.
Build UI components matching design specs with proper accessibility and responsiveness.
For GitLab Duo
Create a [COMPONENT TYPE] component:
Requirements:
[DESCRIBE FUNCTIONALITY]
Design specs:
[DESCRIBE VISUAL REQUIREMENTS]
Include:
1. Component code
2. Props interface
3. Styling
4. Accessibility features
5. Usage examplesInclude the component's states, interaction requirements, and existing design conventions. An empty state or error state often reveals requirements that a single visual mockup misses.