← Back to directory

React Component Scaffold

Generate a complete React component with TypeScript types, props interface, error boundary, loading states, and test file.

reacttypescriptscaffold
87345 importsby @alex
Preview
Create a React component called {{component_name}} for {{framework}} (React/Next.js/Expo).

Requirements:
- TypeScript with explicit props interface
- {{description}}
- Loading and error states
- Accessibility (ARIA labels, keyboard nav)
- Co-located test file with happy path + edge cases

Use named exports, functional components, and hooks.

Variables (3)

{{component_name}}{{framework}}{{description}}

Similar Prompts