Intro Loader
An Apple-inspired multilingual welcome splash and intro loader that rapidly cycles localized greetings with fluid blur transitions, progress tracking, and accessible skip controls.
Hello
Hello
Installation
Add the component directly to your repository using shadcn CLI:
npx shadcn@latest add Surajmaurya1/easyui/intro-loader
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| greetings | (string | GreetingItem)[] | ['Hello', 'Hola', 'Bonjour', ...] | Array of localized greeting strings or objects with text and lang to cycle through |
| fullScreen | boolean | true | Whether to render as a fixed full-screen overlay or inline container |
| intervalMs | number | 240 | Milliseconds per greeting cycle |
| showProgress | boolean | true | Whether to display the Apple-style hairline progress bar |
| showLangBadge | boolean | true | Whether to display country language badges |
| allowSkip | boolean | true | Whether to enable ESC key and Skip button dismissals |
| speedMultiplier | number | 1 | Speed multiplier for the animation sequence |
| onComplete | () => void | undefined | Callback fired when welcome sequence completes |