Skip to content

SusSplashScreenContent ​

SusSplashScreenContent

Boot splash — indeterminate spinner + title banner; set title via SetTitle.

Package

SusGame · Screens (commercial)

Open in Playground

SusGame · Screens

Props

NameTypeDefault
TitleProp<string>"Loading..."
SpinnerStyleProp<string>"circular"
GoneProp<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-splash
  • sus-splash--gone
  • sus-splash-brand
  • sus-splash-entering
  • sus-splash-spinner
  • sus-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 / APIRole
SetBrand(brand)Game or studio wordmark above the spinner (BrandBanner). The default word is a placeholder name and is not translated — set your own
TitleStatus 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"
Gonetrue fades the whole splash out (sus-splash--gone) before the host changes route, instead of a hard cut. Default false
BrandBanner / TitleBanner / SpinnerBuilt 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.