genx-react
v0.1.0
Published
CLI to generate React components (like Angular's ng generate). Supports TypeScript, Container pattern, and custom templates. Perfect for Next.js, Gatsby, and React apps.
Downloads
10
Maintainers
Readme
⚡ genx-react
Generate React components in seconds—like Angular's ng generate but for React.
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)
- Single-file components (
Quick Start
npx genx-reactThen 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 |
