https://github.com/albertarakelyan/genx-react
Generate React components in seconds—like Angular's ng generate but for React.
https://github.com/albertarakelyan/genx-react
Last synced: 4 months ago
JSON representation
Generate React components in seconds—like Angular's ng generate but for React.
- Host: GitHub
- URL: https://github.com/albertarakelyan/genx-react
- Owner: AlbertArakelyan
- License: mit
- Created: 2025-03-29T19:32:35.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-29T20:01:22.000Z (10 months ago)
- Last Synced: 2025-06-17T02:05:18.936Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ⚡ genx-react
*Generate React components in seconds—like Angular's `ng generate` but for React.*
[](https://www.npmjs.com/package/genx-react)
[](https://opensource.org/licenses/MIT)
### **What gives `genx-react`?**
- 🚀 **Generate components in seconds** (like Angular's `ng generate`)
- 📦 **Standardized patterns** (no more folder structure debates)
- 🔥 **Supports**:
- Single-file components (`Component.tsx`)
- Container/View pattern (`Component/Container.tsx`)
## **Quick Start**
```bash
npx genx-react
```
Then follow the prompts!
### Templates Included
| Template Name | Description | Files Generated |
| --- | --- | --- |
| `basic` | Generates a single React component file | `Button/Button.tsx` |
| `container` | Generates a pair of files | `Button/Container.tsx`, `Button/Button.tsx`, `Button/index.ts` |