SplashScreen

App

Full-screen overlay shown during app initialisation. Accepts a logo slot, optional progress bar, and fades out when visible=false.

Logo + message + progress

Preview
Acme
Loading…

Loading your workspace…

Code
<SplashScreen
  visible={true}
  logo={<span className="text-4xl font-black text-primary">Acme</span>}
  message="Loading your workspace…"
  progress={65}
/>

Spinner only (no logo)

Preview
Loading…

Please wait…

Code
<SplashScreen visible={true} message="Please wait…" />

Interactive fade-out

Preview

App content here

Acme
Loading…

Starting up…

Code
const [visible, setVisible] = useState(true);

<SplashScreen
  visible={visible}
  logo={<span className="text-4xl font-black text-primary">Acme</span>}
  message="Starting up…"
/>
<Button onClick={() => setVisible(false)}>Dismiss</Button>
Sourcemodules/app/SplashScreen.tsx