Bring your own design system
Mateu’s frontend and backend communicate through a simple, documented JSON API. Any frontend that implements this API becomes a valid Mateu renderer.
How it works
Section titled “How it works”The Mateu backend exposes a small REST API describing the UI:
GET /mateu/uis/{uiId} → full UI definition (routes, menus, metadata)GET /mateu/uis/{uiId}/steps → component tree for the current routePOST /mateu/uis/{uiId}/actions → execute a user actionA renderer:
- fetches the UI definition and component tree
- renders it using its own component library
- sends user interactions back as action requests
- applies the response (state updates, navigation, messages)
Starting point
Section titled “Starting point”Clone one of the existing renderer repositories and adapt it to your component library. The Vaadin renderer source is the most complete reference implementation.
When to use this
Section titled “When to use this”- You want Mateu UIs to match your company’s proprietary design system
- You are embedding Mateu in a platform with its own mandatory component library
- You want to render Mateu UIs in a non-browser environment (native mobile, desktop)