Mateu

Mateu is a way to define business UIs once, agnostically:
- one model, authored as YAML, in the visual editor (IntelliJ / VS Code), or in code —
Java (Spring Boot MVC & WebFlux, Quarkus, Micronaut, Helidon MP), C# (ASP.NET Core) or Python
(FastAPI). All of them produce the same model;
- rendered anywhere: on the web with Vaadin or Oracle Redwood (also embedded in Visual Builder
apps), on phones with the Mateu mobile app, on the desktop inside IntelliJ;
- served by any backend, or by none: a server in any of those languages, or a static bundle on a
CDN that calls your REST APIs straight from the browser;
- composable: UIs owned by different teams and domains federate into one console.
The backend is an option, not the definition. Docs: https://mateu.io — start at
Choose your path.
See everything running: the Mateu Explorer shows every component,
page template, archetype and pattern live, next to its code. Designing first? Duplicate the
Mateu UI Kit on Figma
Community and import your screens as YAML.
Why Mateu
An LLM will write you a React admin panel in a minute. So "less code" is no longer the point.
The point is what happens on day 200.
Generated code derives from your model and then diverges from it: the moment someone edits
it, it is theirs to maintain, and it drifts. Mateu does not generate the UI — it derives it, so
it cannot drift. Change the model and the screen is already correct.
That is one distinction, and it is the whole framework:
Source of truth vs artifact. You maintain the declaration. Everything downstream — the UI, the
API contract it implies, a static bundle — is derived, and nobody edits it.
Start from whatever you already have
| |
|---|
| A domain model? | Declare view classes in Java, C# or Python (@UI / [UI] / @ui) — inside-out |
| A design or a mockup? | Draw it in the visual editor — outside-in |
| An existing REST API? | Point the screens at it |
| Prefer data over code? | Declare it in YAML — type: UI mounts, routes.yaml, layout definitions |
They all land on the same declaration. Code-first tools cannot start from a design; design-first
low-code tools cannot start from your domain model.
And the UI travels with the domain
Each service ships its own screens with it — a jar, a .NET or Python service, or a folder of YAML —
and they aggregate into one shell, or embed into an IDE, a mobile app, a Visual Builder app or
another product's page. Eight teams can own, version and deploy their slice of the same back office
independently.
That is micro-frontends without the micro-frontend tax: what federates is a declaration, not a
JS bundle, so there is one framework version, no runtime composition and no CSS collisions.
Example: the same screen, three ways
As data (no code) — specs/ui/products.yaml, by hand or written by the visual editor:
type: Listing
title: Products
searchable: true
rowsSource:
ref: products # an endpoint named once in sources.yaml
columns:
- {type: GridColumn, id: name, label: Name}
- {type: GridColumn, id: price, label: Price}
- {type: GridColumn, id: status, label: Status, dataType: status}
In Java (a full CRUD over a record):
record Product(
@EditableOnlyWhenCreating @NotEmpty String id,
@NotEmpty String name,
@Min(0) double price,
@NotNull ProductStatus status
) implements Identifiable {}
@UI("")
public class Products extends AutoCrud<Product> {
@Override
public CrudStore<Product> store() {
return ProductStore.INSTANCE; // findById, save, findAll, deleteAllById
}
}
In C# ([UI("products")] class Products : Crud<Product>) or Python (@ui("products") class Products(Crud[Product])) — see starters/dotnet and
starters/python.
Each becomes a searchable listing (the code versions also get create, detail, edit and delete,
validated on both sides), in any renderer:

Quickstart: three front doors