Skip to content

Salesforce Lightning (SLDS 2)

The Salesforce renderer is built on SLDS 2 (@salesforce-ux/design-system-2, Cosmos theme) — a global CSS framework of slds-* classes and --slds styling hooks, applied to Mateu’s own light-DOM markup. Use it when your UIs need to look like Salesforce or when they will be embedded inside an existing Salesforce application.

Demo: https://slds2.mateu.io/

<dependency>
<groupId>io.mateu</groupId>
<artifactId>slds-lit</artifactId>
<version>3.0-alpha.219</version>
</dependency>
  • Matches the Salesforce Lightning (SLDS 2 / Cosmos) look and feel
  • Good choice for ISVs building on the Salesforce platform
  • Pure CSS framework — no Salesforce-platform runtime required