On This Page
A Mateu micro frontend. Due to the design of Mateu, everything is consumable as a micro frontend in any Mateu UI.
- Fluent
- Declarative
MicroFrontend.builder()
.baseUrl("/fluent")
.route("/components/card")
.consumedRoute("")
.build()
There is no declarative thing for badges. Just use a Micro frontend record as in imperative.
Available properties
This is the list of available properties for a micro frontend component:
| Property | Description | Notes |
|---|---|---|
| id | id for this component | |
| cssClasses | list of css classes | content of the css attribute |
| style | inline style attributes | content of the style attribute |
| baseUrl | base url | true/false |
| route | micro frontend’s route | |
| consumedRoute | useful in case the micro frontend route is par of an app |