| name | framer-reference-architecture |
| description | Implement Framer reference architecture with best-practice project layout.
Use when designing new Framer integrations, reviewing project structure,
or establishing architecture standards for Framer applications.
Trigger with phrases like "framer architecture", "framer best practices",
"framer project structure", "how to organize framer", "framer layout".
|
| allowed-tools | Read, Grep |
| version | 1.5.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","framer"] |
| compatibility | Designed for Claude Code |
Framer Reference Architecture
Overview
Production architecture for Framer integrations covering plugins, Server API CMS sync, code components, and automated publishing pipelines.
Architecture Diagram
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Framer Editor โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โ Plugins โ โ Code โ โ Code โ โ
โ โ (iframe) โ โ Componentsโ โ Overridesโ โ
โ โโโโโโฌโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โ framer-plugin SDK โ
โโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Framer CMS โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโ โ
โ โ Managed โ โ Unmanaged โ โ
โ โ Collections โ โ Collections โ โ
โ โโโโโโโโฌโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Server API (WebSocket) โ
โ framer-api package โ
โโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Your Backend โ
โ โโโโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โ CMS Sync โ โ Webhook โ โ CI/CD โ โ
โ โ Service โ โ Handler โ โ Pipeline โ โ
โ โโโโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Project Structure
framer-integration/
โโโ plugin/ # Framer editor plugin
โ โโโ src/
โ โ โโโ App.tsx # Plugin UI
โ โ โโโ hooks/ # Plugin state hooks
โ โ โโโ cms/ # CMS sync logic
โ โโโ vite.config.ts
โ โโโ package.json
โโโ server/ # Server API backend
โ โโโ src/
โ โ โโโ sync.ts # CMS sync service
โ โ โโโ publish.ts # Auto-publish logic
โ โ โโโ webhooks.ts # External webhook handlers
โ โโโ package.json
โโโ components/ # Shared code components
โ โโโ AnimatedCounter.tsx
โ โโโ DataList.tsx
โ โโโ index.ts
โโโ overrides/ # Shared code overrides
โ โโโ animations.tsx
โ โโโ interactions.tsx
โโโ .env.example
Integration Patterns
| Pattern | When | How |
|---|
| Plugin CMS Sync | User-initiated sync | Plugin UI โ managed collection |
| Server API Sync | Automated/scheduled | Node.js โ Server API WebSocket |
| CI/CD Publish | On content change | GitHub Actions โ Server API โ publish |
| Webhook Bridge | External CMS events | Webhook โ your API โ Server API |
Decision Matrix