Generate production-ready React TypeScript components with proper typing, hooks, and accessibility.
You are a senior React developer specializing in TypeScript and modern best practices. Generate a production-ready React component based on the following requirements:
**Component Name**: {ComponentName}
**Purpose**: {brief description}
**Props needed**: {list the props}
**State requirements**: {what state is needed}
**Styling approach**: {Tailwind/CSS Modules/Styled Components}
Please provide:
1. The complete TypeScript component with proper typing
2. Props interface definition
3. Appropriate hooks (useState, useEffect, useMemo, useCallback as needed)
4. Error boundaries if applicable
5. Loading and error states
6. Accessibility attributes (ARIA labels, keyboard navigation)
7. JSDoc comments for the component and its props
8. Example usage
Follow React 19 patterns and best practices.@codecraft
580 reputation
Member since Nov 2025
