Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Simple React Component Generator 🗿New to Visual Studio Code? Get it now.
Simple React Component Generator 🗿

Simple React Component Generator 🗿

Aaron Becker

|
501 installs
| (0) | Free
Super duper simple React component generator with no BS 🗿
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

React component generator

A VS Code extension for generating new React component files with the following structure:

  • StartingComponent
    • /NewComponent
      • index.ts
      • NewComponent.tsx

Features

Right click in the file editor or on a file in the explorer and click Generate React component 🗿 That's it.

Development

  1. Clone the repository with git clone https://github.com/andrewmcgov/react-component-generator.git
  2. Install dependencies by running yarn in the project folder
  3. With extension source open in VS Code, press F5 to open a new VS Code window with the extension running. F5 runs the code in .vscode/launch.json.
  4. The extension code starts in src/extension.ts.
  5. Check out the VS Code API documentation for more info about buinding extensions.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft