A blazingly fast way to bootstrap react components
Create your react components quickly & easily with a straightforward GUI
Download the extension by -
- Searching for React GUI by pradeepselva on your vscode extensions.
- Visit the extension's home page at
https://marketplace.visualstudio.com/items?itemName=pradeepselva.react-gui
and download it.
-
Component creation -
Open the component creation form from sidebar and fill it up as shown in the above demo. Click create and get started with producing logic for your component, without worrying about boilerplate. visit this link if the demo doesn't load.
-
Definition file initialization -
- Highlight a list of props that you want to create a definition file (.d.ts) from.
- Press ctrl+shift+p and search
Initialize Definition File
. - Press the
React GUI: Initialize Definition File
option.
eg: You may highlight the props from lists like the following. The highlighted text in the following cases must be
label, placeholder, value
.const {label, placeholder, value} = this.props;
const InputField = ({label, placeholder, value}) =>
- Typescript
- Svelte
- HTML/CSS
- Yo
- Clone the repo using
git clone https://github.com/Pradeep-selva/react-gui
. - install dependencies using
yarn
ornpm install
. - Run
yarn watch
in your root directory. - In your root directory press f5 and select
npm compile
.