🎨

React Component from Sketch Description

Turn a natural-language UI description into a polished React component

Beginner🎨 Frontendclaude
prompt template
Build a React component based on this description:

**Component:** [COMPONENT_NAME]
**Description:** [DESCRIBE_WHAT_IT_LOOKS_LIKE_AND_DOES]

Requirements:
- Use TypeScript with proper prop types
- Style with Tailwind CSS (no external UI libraries)
- Make it fully responsive (mobile-first)
- Include hover/focus states and smooth transitions
- Handle loading and empty states
- Add proper aria labels for accessibility
- Export as a named export

Return the complete component file. Include a brief usage example in a comment at the bottom showing how to use it with sample props.

How to Use This Prompt

  1. 1Copy the prompt template above
  2. 2Paste into claude
  3. 3Replace [bracketed placeholders] with your specific project details
  4. 4Iterate on the AI output to refine and customize the results