react-component
OfficialGenerate TypeScript React components
AuthorAIDotNet
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the creation of modern, accessible React components using TypeScript, hooks, and best practices, reducing boilerplate code and ensuring quality.
Core Features & Use Cases
- Component Generation: Creates functional React components with TypeScript, including props interfaces.
- Custom Hook Creation: Generates reusable custom hooks for common logic like data fetching.
- Context Provider Setup: Provides a boilerplate for setting up React Context for state management.
- Accessibility: Incorporates ARIA attributes and best practices for inclusive UI.
- Use Case: Quickly scaffold a new
Buttoncomponent with various states (loading, disabled) and styles, or set up auseFetchhook to manage API calls in your application.
Quick Start
Generate a TypeScript React functional component named 'UserProfile' with a 'name' and 'email' prop.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: react-component Download link: https://github.com/AIDotNet/MoYuCode/archive/main.zip#react-component Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.