10 interactive business strategy matrices — editable, bilingual, and exportable to PDF.
- 10 Frameworks: SWOT/FODA, BCG, Ansoff, McKinsey, Eisenhower, RACI, Risk, Value vs Effort, How Might We, Empathy Map
- Bento Grid Layout: Randomized card arrangements that change on each visit
- Paper & Highlighter Design: Hand-drawn borders, grid paper background, highlighter colors
- Bilingual: Spanish (default) and English with live switching
- PDF Export: Download any matrix as a clean PDF
- Editable: Inline editing with lock/unlock toggle
- Responsive: Works on mobile, tablet, and desktop
- React + TypeScript
- Vite
- Tailwind CSS
- html-to-image (PDF export)
- Vitest + React Testing Library (unit tests)
- Playwright (E2E tests)
npm install
npm run devOpen http://localhost:5173 in your browser.
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Production build |
npm run preview |
Preview production build |
npm run test |
Run unit tests |
npm run test:watch |
Run unit tests in watch mode |
npm run test:e2e |
Run E2E tests with Playwright |
bmatrix/
├── src/
│ ├── components/
│ │ ├── matrices/ # Matrix components (SWOT, BCG, etc.)
│ │ ├── MatrixCard.tsx # Bento grid card component
│ │ ├── LanguageToggle.tsx
│ │ └── PdfDownloadButton.tsx
│ ├── pages/
│ │ ├── Home.tsx # Landing page with bento grid
│ │ └── MatrixPage.tsx # Individual matrix view
│ ├── i18n/ # Translations (ES/EN)
│ ├── data/ # Templates and bento layouts
│ ├── hooks/ # Custom hooks (PDF export)
│ └── types/ # TypeScript interfaces
├── e2e/ # Playwright E2E tests
└── screenshot.png
MIT License - see LICENSE for details.
