Introducing a new way to review your PRs.

Read the announcement

frappe / builder

Craft beautiful websites effortlessly with an intuitive visual builder and publish them instantly

View on GitHub

20 documents · Updated Nov 23, 2026

overview

Knowledge Base updated: 2026-11-22

Builder knowledge base

Orientation

Builder is a Frappe application and Vue frontend for authoring, configuring, and publishing websites from pages, components, blocks, assets, and design settings.

The frontend workspace owns interactive editing state: canvas selection and manipulation, block composition, inspector controls, navigation, history, client-side code, plugins, and AI-assisted authoring.

The server persists Builder DocTypes and settings, exposes APIs and events, runs the AI agent, and renders authored content into website responses. Durable authoring state lives in Builder documents; transient editor state lives in frontend stores and controllers.

flowchart LR
  Author[Author] --> UI[Vue Builder workspace]
  UI --> Canvas[Canvas and block editor]
  UI --> Inspector[Property inspector]
  UI --> AI[AI chat experience]
  UI --> Plugins[Plugin runtime]
  Canvas --> API[Frappe APIs and events]
  Inspector --> API
  AI --> Agent[AI agent runtime]
  Agent --> API
  API --> Docs[Builder DocTypes]
  API --> Config[Settings and design tokens]
  Docs --> Render[Website rendering]
  Config --> Render
  Render --> Site[Published website]
  Plugins --> UI

Glossary

  • Block: a composable authored unit in a page or component tree.
  • Builder DocType: a persisted Frappe document representing Builder content or configuration.
  • Canvas: the visual editing surface where authored blocks are selected and manipulated.
  • Design token: shared configurable design data, such as colors, typography, or CSS metadata.
  • AI turn: a user/agent interaction unit displayed in the Builder AI timeline.

Invariants

  • Authored page changes pass through the block-editor and Builder API model rather than being represented only as canvas DOM state (frontend/…/BlockEditor.vue, builder/).
  • Positioning controls and direct manipulation must agree on block positioning semantics (frontend/…/BlockPositionHandler.vue, frontend/…/PositionSection.ts).
  • AI-generated changes are mediated by the agent loop and artifact/application flow rather than applied directly from chat rendering (builder/…/loop.py, builder/…/artifact.py).
  • Shared authoring configuration is persisted server-side and consumed by rendering as well as editing (builder/, frontend/src/).
  • Published website behavior is derived from persisted Builder content and configuration (builder/, frontend/src/).

Routing table

Path or triggerDocumentation
frontend/src/components/{BlockEditor,BlockPositionHandler,BoxResizer}.vue, frontend/src/components/Pin{Diagram,Lines}.vueVisual builder workspace
frontend/src/components/BlockPropertySections/**, frontend/src/components/Controls/**Property and style editing
frontend/src/components/**Canvas**, frontend/src/components/**Selection**, frontend/src/components/**Drag**Editor canvas interaction
frontend/src/components/**Block**, frontend/src/**/blocks/**, frontend/src/**/BlockController*Block composition system
frontend/src/components/**Asset**, frontend/src/components/**Template**, builder/**/block_template/**Assets and block templates
frontend/src/pages/**, frontend/src/router/**, frontend/src/components/**Page**Page navigation and routing
frontend/src/stores/**, frontend/src/**/history/**, frontend/src/**/realtime/**Editing state and history
frontend/src/components/**Code**, frontend/src/**/data-loader/**, frontend/src/**/sandbox/**Client-side code and data blocks
frontend/src/plugins/**, builder/**/plugin/**, frontend/src/**/plugin/**Plugin extensibility
builder/**/doctype/**, builder/**/documents/**Builder server domain
builder/**/doctype/**, builder/**/models/**Builder content documents
builder/api/**, builder/hooks.py, builder/**/events/**Server API and events
builder/website/**, builder/**/render*, builder/**/publish*Website rendering and publishing
builder/**/fixtures/**, builder/**/patches/**, builder/install.py, builder/**/import*, builder/**/export*Content import, export, and setup
builder/**/settings/**, builder/**/token*, builder/**/font*, builder/**/domain*, frontend/src/**/token*Site configuration and design tokens
builder/**/analytics/**, builder/**/invite*, builder/**/access*, frontend/src/**/ReadOnly*Builder access and analytics
builder/ai/**, frontend/…/AIChatController.ts, frontend/src/components/ai/**AI-assisted building
builder/ai/agent/**, builder/…/prompts.py, builder/ai/skills/**AI agent runtime
frontend/src/components/ai/**, frontend/…/AIChatController.tsAI client experience