Back to prompts
Web DevelopmentClaudeGPT-4

React component from description

Generates a complete React + Tailwind component from a plain-English spec.

Variables

Prompt(live preview)

Build a React component using TypeScript and Tailwind CSS that does the following:

{{description}}

Requirements: use functional components with hooks, no external state libraries unless I specify, accessible (semantic HTML, aria where needed, keyboard nav), mobile-first responsive, no inline styles. Export as default. Include a usage example in a comment at the top. If any UX choices are ambiguous, pick the most common modern pattern and note it briefly in a comment.

Comments

No comments yet. Be the first to share your experience with this prompt!

Sign in to leave a comment.