Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>React Create ComponentNew to Visual Studio Code? Get it now.
React Create Component

React Create Component

Javier Gutierrez

|
5,314 installs
| (2) | Free
Generate your components quickly, with multiple easily customizable templates. 🚀
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

React Create Component

Generate your components quickly, with multiple easily customizable templates

Features

  • Create a component depending on the selected language.
  • Create a style file depending on the type of style or extension selected.
  • You can create styles per module.
  • You can create a component with built-in style import.
  • It generates a barrel in your folder.
  • In the tsx files, integrate the interface.

Commands

Command Description context keybindings
RCC: Create Component Create a component in the path that you select palette command ctrl + shift + l
RCC: Delete cache Delete the cache of the component creator palette command
RCC: Create page Create a page in the path that you select menu context

Integrations

Integrations Technologies
Framework or library React, React Native
Language Javascript, Typescript
Style extensions CSS, SASS, SCSS
Styles options CSS Module, styled-component, tradicional
Extras Storybook, Test Testing Library

How does it work?

Use from a specific path

https://github.com/JavGt/vscode-component-creator/assets/82567321/5043597c-17ea-4b66-9d5d-72c48691cb4a

You can use it by clicking on the folder where you want your component to be and clicking on the "Create Component" option.

Use by entering the path

https://github.com/JavGt/vscode-component-creator/assets/82567321/20b7775c-bd6c-4d9f-9a8b-5990f4508770

You can also use it by giving it by executing the "Create Component" command from the command palette To create a component it can also be executed with the following keys (ctrl + shift + l)

Quick suggestions

https://github.com/JavGt/vscode-component-creator/assets/82567321/6adf1fdd-3e8d-429a-9428-db1634b1ea3f

Settings

Ejemplo de resultado en Typescript

You can change the configurations of the templates to make the creation more customizable and faster, for more information go to the configuration documentation

Structure Results

ComponentFolder
│
│── Component.{jsx, tsx}
│
|── styles(.module).{css, scss, sass}
│
|── Component.stories.{jsx, tsx} [optional]
│
|── Component.test.{jsx, tsx} [optional]
│
└── index.{js, ts}

Example of output with traditional CSS

Typescript

Ejemplo de resultado en Typescript

CSS

Ejemplo de resultado de CSS

Barrel

Ejemplo de resultado de Barrel

Testing

Ejemplo de resultado de test

Storybook

Ejemplo de resultado de storybook

License

React Create Component is MIT licensed.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft