UI
A lightweight record that carries global UI settings: the browser tab title, favicon, and the default home route. Use it when you need to configure these properties fluently without using the @UI annotation.
@Builderpublic record UI(String favicon, String pageTitle, String homeRoute) {}Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
favicon | String | URL of the browser favicon |
pageTitle | String | Browser tab title |
homeRoute | String | Default route shown when navigating to the root |
UI.builder() .pageTitle("My App") .favicon("/assets/favicon.ico") .homeRoute("/dashboard") .build()