Salesforce Lightning (preview)
The Salesforce renderer draws any Mateu UI with the Lightning Design System (SLDS,
@salesforce-ux/design-system, code under BSD-3-Clause): the Global Header and Context Bar shell,
record-home page headers, cards, the data table, the combobox, the datepicker and timepicker, Path,
modals, docked panels, toasts and SLDS’s utility icons. SLDS publishes blueprints — markup plus
CSS — and Salesforce’s own Lightning Base Components are not open source outside the platform, so
the interaction (keyboard, focus, ARIA) is Mateu’s, written to each blueprint’s documented
behaviour.
It is a preview: it draws the whole wire catalogue and passes the Core, Standard and Full conformance fixtures, but its API surface may still change. Available since 3.0.8.


Both screens are demo/demo-space, an app authored entirely in YAML; the same app is drawn by
every renderer, with nothing changed but the renderer dependency.
The shell is Lightning Experience’s: the global header with its search, the app launcher grid and the app’s navigation bar; a listing is a list view (its object icon, title and actions in the header, with the list’s search and its Filter, Views and Columns controls under them) and a record page a record-home header.
Add to your project
Section titled “Add to your project”Use it instead of mateu-vaadin:
<dependency> <groupId>io.mateu</groupId> <artifactId>mateu-slds</artifactId> <version>3.0.14</version></dependency>and say so in the project descriptor, so the visual editor, Play and a static bundle agree with the served app (the server warns at startup when they differ):
type: Projectrenderer: sldsThe served page is the usual Mateu page; the renderer’s files are served from /assets/ like any
web renderer’s — under a context path or a proxy prefix too. A C# server serves it with MATEU_UI
pointing at the jar (or its static/ folder), a Python one with add_mateu(ui=…).
To serve it from a CDN or any static host instead of the backend, upload the jar’s static/ folder
— it carries a deployable index.html (since 3.0.9) — and see
The renderer on a CDN.
Licences
Section titled “Licences”- SLDS’s code is BSD-3-Clause. Its icons and images are CC BY-ND 4.0: the jar ships them
unmodified (the utility sprite as the package publishes it), with the attribution and the licence
in its
THIRD-PARTY-LICENSES.txtandMETA-INF/NOTICE. - Salesforce Sans is not shipped: the page uses the system font stack, which SLDS 2 allows. If you have the right to use Salesforce Sans, add it to your page yourself.
- SLDS’s logo class is never used: its default image is Salesforce’s own mark.
What it draws
Section titled “What it draws”The same screens as every Mateu web renderer — the app shell in every menu variant, the full page header, listings in every layout with filters, saved views and the column chooser, dashboards, wizards, boards, overlays, built-in sign-in and static bundles — in SLDS’s markup. Its own texts are in English, Spanish, French, German, Portuguese and Italian.
Known gaps
Section titled “Known gaps”- Light only: SLDS 2 publishes no dark theme, so
themeToggledraws nothing. - The visual editor’s canvas previews an
sldsproject with Vaadin for now. - A lookup opens a search popover rather than SLDS’s inline lookup; a multi-select is the multi-selection combobox, not the dueling picklist; rich text, file upload, slider and colour fields keep the renderer’s own widgets inside an SLDS form element.
Bpmnis read-only (as on Vaadin).
Trademarks
Section titled “Trademarks”Salesforce and Lightning are trademarks of Salesforce, Inc. Mateu is not affiliated with or endorsed by Salesforce; the renderer uses the open-source Lightning Design System under its licences (above).