SusSplashScreenContent

Boot splash — indeterminate spinner + title banner; set title via SetTitle.
Package
SusGame · Screens (commercial)
Props
| Name | Type | Default | |
|---|---|---|---|
Title | Prop<string> | "Loading..." | |
SpinnerStyle | Prop<string> | "circular" | |
Gone | Prop<bool> | false |
Slots
No slots.
Events
No public events.
Style hooks
USS class contract — override appearance without touching C#. States toggle via these classes:
sus-splashsus-splash--gonesus-splash-brandsus-splash-enteringsus-splash-spinnersus-splash-status
Usage
The splash shows a brand wordmark, a busy indicator and a status caption. Set the brand after create; the caption and the indicator style are props.
xml
<template>
<sus:SusSplashScreenContent Title="Loading..." SpinnerStyle="dual" />
</template>csharp
var splash = new SusSplashScreenContent();
splash.SetBrand("My Game"); // wordmark above the spinner
splash.SpinnerStyle.Value = "dual"; // "circular" (default) · "spinner" · "dual"
splash.SetTitle("Connecting..."); // status caption under the spinner| Prop / API | Role |
|---|---|
SetBrand(brand) | Game or studio wordmark above the spinner (BrandBanner). The default word is a placeholder name and is not translated — set your own |
Title | Status caption under the spinner. Default "Loading..." goes through SusGameText, so it is translated; your own text is shown as is |
SetTitle(title) | Same as setting Title — passing the stock "Loading..." keeps its translation |
SpinnerStyle | "circular" (default): the SusProgressCircular ring. "spinner": a kit SusSpinner (size lg, class sus-splash-spinner) replaces the ring, which is hidden by class. "dual": the same spinner with Dual. Back to "circular" removes the spinner node; empty or unknown values read as "circular" |
Gone | true fades the whole splash out (sus-splash--gone) before the host changes route, instead of a hard cut. Default false |
BrandBanner / TitleBanner / Spinner | Built parts (SusBrandLockup / Label / SusProgressCircular). Spinner stays the ring in every SpinnerStyle |
Notes
- USS includes an opacity transition (
sus-splash/sus-splash-entering) for enter fades from the host. - Content-only — the host owns the duration and the route to the menu or loading screen.