Calm motion: animations on this site only fade, with no movement
Splash
First-visit overlay
A brief welcome over the first load: a key visual, a logo moment. It delays people, so keep it short, skippable and rare (once).
Basic
Shown once per visitor (localStorage key).
- It takes focus onto Skip, so Enter or Esc leaves at once, and it is skipped entirely under reduced motion.
durationauto-dismisses (0 = only Skip closes it).onceremembers it was seen.labelnames it.
Usage
ts
import { BlessSplash } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
once | string | — | localStorage key; splash shows once per key. Omit to show every load |
duration | number | 2500 | auto-dismiss after ms; 0 = manual only |
label | string | "Welcome" | the dialog's accessible name |
labels | Partial<{ skip: string; }> | — |
Events
| Name | Payload | Description |
|---|---|---|
finish | [] |
Slots
| Name | Scope | Description |
|---|---|---|
default | { dismiss: () => void; } |
Exposed
| Name | Type | Description |
|---|---|---|
dismiss | () => void |