Promptly Studio is an all-in-one platform that transforms text prompts or Figma/Adobe XD designs into fully functional React applications with TailwindCSS. It comes with a local component library, zero-configuration setup, and a powerful integrated code editor.
- Transform a text prompt → complete React application (components, styles, logic).
- Transform a Figma / Adobe XD design → production-ready React app.
- Provide a community component library (Rwanda Dev Community UI).
- Offer a zero-configuration experience: everything works out-of-the-box (templates, dependencies, editor).
- Generate front-end applications without complex setup.
- Provide an integrated code editor for editing, previewing, and exporting.
- Allow direct import of Figma/XD designs to React + Tailwind code.
- Provide a local component library.
- Facilitate sharing and customization of templates.
- Integrated code editor (Monaco Editor).
- Prompt-to-code generation → React + Tailwind.
- Figma/XD design import via API.
- Pre-integrated Rwanda Dev Community UI.
- Full project export with one-time installation.
- Backend: Node.js + Express
- Database: Supabase or Firebase
- AI & Code Generation: OpenAI / Anthropic API
- Design Parsing: Figma API, html-to-jsx parser
- Dev Tools: GitHub Actions, Docker
| Phase | Duration | Description |
|---|---|---|
| Phase 1 | 2 weeks | Design & Architecture |
| Phase 2 | 3 weeks | Technical foundation (Vite, Tailwind, editor shell, generation pipeline) |
| Phase 3 | 4 weeks | Prompt-based generation |
| Phase 4 | 4 weeks | Figma/XD design import |
| Phase 5 | 3 weeks | Packaging & Marketplace |
| Phase 6 | 2 weeks | Testing & Launch |
- React.js
- TailwindCSS
- Framer Motion
- Vite
git clone https://github.com/yourusername/promptly-studio.git
cd promptly-studio
corepack enable
pnpm i
pnpm dev # Start web UI
pnpm dev:api # Start backend APICreate .env from .env.example and fill your API keys.
---
## 🏗 Monorepo Structure
promptly-studio/
├─ apps/
│ ├─ web/ # React + Vite app (Editor + Preview + Export)
│ └─ api/ # Express API (codegen, Figma import, export)
├─ packages/
│ ├─ ui/ # Rwanda Dev Community UI components
│ ├─ editor/ # Monaco editor wrapper + preview runtime
│ ├─ codegen/ # Prompt → React + Tailwind pipeline
│ ├─ design-importer/ # Figma/XD → React converter
│ └─ common/ # Shared types, utils, schema validators
├─ .github/
│ └─ workflows/ci.yml # Lint + Typecheck + Build + Test
├─ docker/
│ ├─ api.Dockerfile
│ └─ web.Dockerfile
├─ .env.example
├─ package.json
├─ pnpm-workspace.yaml
├─ README.md
├─ CONTRIBUTING.md
├─ CODE_OF_CONDUCT.md
├─ LICENSE (MIT)
└─ .gitignore
- apps/web → React + Vite (UI, editor, preview)
- apps/api → Express API (codegen, design import)
- packages/editor → Monaco editor wrapper
- packages/codegen → Prompt → React + Tailwind pipeline
- packages/design-importer → Figma/XD → React
- packages/ui → Local component library
- packages/common → Shared types & utils
pnpm dev→ start web UIpnpm dev:api→ start API backendpnpm build→ build all packagespnpm lint→ lint all packagespnpm typecheck→ TypeScript type checkpnpm test→ run tests
See CONTRIBUTING.md for instructions on forking, coding, testing, and PRs.
Having trouble? Get help in the official React JS Discord.
See CODE_OF_CONDUCT.md. Please be respectful and collaborative.
This project is licensed under the MIT License – see LICENSE for details.
- Phase 1 – Design & Architecture: data model, UX flows, component library tokens
- Phase 2 – Technical Foundation: Monaco integration, export to ZIP, API scaffolding
- Phase 3 – Prompt Generation: templates, model adapters, HTML → JSX
- Phase 4 – Figma/XD Import: API fetch, node mapping, styles
- Phase 5 – Packaging & Marketplace: component registry, versioning
- Phase 6 – Testing & Launch: E2E tests, docs site
- Prewired paths
@promptly/*from web → packages - Single
pnpm iinstalls everything pnpm devstarts the web UI;pnpm dev:apistarts the API- Minimal
.envsetup for MVP; advanced features require API keys
- Initialize a GitHub repository and paste these files.
- Run
corepack enable && pnpm i. - Duplicate
.env.example→.envand fill API keys. - Start
pnpm dev+pnpm dev:api. - Open PRs for new templates, Figma node mapping, or export enhancements.