smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Svelte · Browser Ai

AILoadingOverlay

Shows a full-screen overlay while AI models are being downloaded/initialized. Wraps the generic LoadingOverlay with AI-specific state management.

Public export

typescript
import { AILoadingOverlay } from '@happyvertical/smrt-svelte/browser-ai/svelte';
Import path
@happyvertical/smrt-svelte/browser-ai/svelte
Props
5
Props described
5 of 5
Bindable state
0
Callback events
1
Verified release
0.62.10

Props

NameTypeRequiredDescription
messagestringNoCustom loading message (overrides auto-detected phase label)
showbooleanNoWhether to show the overlay (auto-detected from state if not provided)
dismissiblebooleanNoAllow dismissing the overlay
classstringNoCustom CSS class
ondismiss() => voidNoCallback when dismissed

Bindable state

This component has no bindable public state.

Callback events

  • ondismiss() => void

Examples and explanation