Knowledge Base updated: 2026-11-22
Frappe UI knowledge base
Frappe UI is a Vue component library and application toolkit for Frappe-backed interfaces. Its main areas are reusable UI components, Frappe-aware data access, charting, design tokens and Tailwind integration, build tooling, experimental modules, and browser-facing utility services.
UI state primarily lives in component and composable boundaries; server-facing resource state is coordinated by the data-access composables and their cache/persistence mechanisms. Build-time configuration and generated integration artifacts connect consuming applications to the library.
flowchart TD
Apps[Consuming Vue applications] --> Components[Component library]
Apps --> Data[Data access layer]
Apps --> Styling[Styling and theming]
Apps --> Build[Build and framework integration]
Components --> Inputs[Input controls]
Components --> Overlays[Overlays and navigation]
Components --> Layout[Layout and feedback]
Components --> Molecules[Editor and list molecules]
Components --> CodeEditor[Code editor molecule]
Components --> RichText[Rich text editor molecule]
Data --> Transport[Frappe request transport]
Data --> Fetching[Data-fetching composables]
Data --> State[Document and list state]
Data --> Mutations[Remote actions and mutations]
Apps --> Experimental[Experimental features]
Glossary
- Frappe-aware composable: A composable that coordinates reactive client state with Frappe backend requests.
- Molecule: A stable composite UI export built from lower-level components and shared interaction contracts.
- Doctype: A Frappe data model used as the basis for document and list operations.
- Boot data: Server-provided application initialization data integrated through build tooling.
- Token drift: A mismatch between source design tokens and generated theme or Tailwind outputs.
Routing table
src/components/**-> Component librarysrc/components/Tree/**-> Component librarysrc/components/{Input,FormControl,Autocomplete,Select,Checkbox,Radio,DatePicker,FileUploader}/**-> Input and selection controlssrc/components/{Dialog,Popover,Dropdown,Tooltip,Sheet,Tabs,Sidebar,Navbar}/**-> Overlays and navigationsrc/components/{Page,Container,Stack,Alert,Toast,Progress,ErrorMessage,Loading}/**-> Layout and feedback componentssrc/components/{List,Table,Picker}/**-> Editor and list moleculessrc/components/CodeEditor/**-> Code editor moleculesrc/components/RichTextEditor/**-> Rich text editor moleculesrc/resources/**-> Data access layersrc/utils/request/**-> Frappe request transportsrc/resources/{document,doctype,list}/**-> Document and list statesrc/resources/{call,action}/**-> Remote actions and mutationssrc/composables/{useDocument,useList,useCall,useAction,useNewDocument}/**-> Data-fetching composablessrc/chart/**-> Charting systemsrc/chart/components/**-> Chart components and typessrc/styles/**-> Styling and themingtailwind/**-> Tailwind and token pipelinesrc/tailwind/**-> Tailwind and token pipelinevite.config.*-> Build and framework integrationpackages/vite-plugin-frappe/**-> Vite plugins and generatorspackages/vitepress/**-> VitePress integrationpackages/create-frappe-ui/**-> Application scaffoldingsrc/experimental/**-> Experimental featuressrc/experimental/ListView/**-> List viewsrc/experimental/Calendar/**-> Experimental calendarsrc/experimental/ThemeSwitcher/**-> Experimental theme switchersrc/experimental/Stepper/**-> Experimental steppersrc/utils/**-> Utility servicessrc/utils/fileUpload/**-> File upload lifecycle