Splash

Splash Dots

Scattered dots fly to the logo's outline and it fills in.

Preview

Installation

Terminal
npx @usefluid/cli add splash-dots

Usage

SplashDots.tsx
import { SplashDots } from "./SplashDots";

<SplashDots logo={logo} name="Acme" as="h1" finished={seen} onDone={remember} />

API reference

PropTypeDefaultDescription
logostring—Your logo path.
namestring—
as"h1" | "h2" | "p""p"
finishedbooleanfalse
skippablebooleantrue
onDone() => void—
playbooleantrue

Keyboard and screen readers

The name is read as text. Reduced motion shows the final screen.

Notes

It fills the screen by default; set --fluid-splash-height to fit it in a box.

Every colour comes from the --fluid-* variables, and the piece is yours to change.

How it is made

These are the same points the engine uses for the morph, now visible. Each one starts at a place picked with a fixed seed, so the scene is always the same, and flies to the outline on a spring curve with a small delay. Then the logo fills and the name comes in.

For your agent

For your agent

Add Splash Dots to my project with the Fluid library. Build my product's opening with SplashDots, my logo and the brand name. Read my project first. Use my logo, my colours and my font through the --fluid-* variables. Keep 44px touch targets, visible focus and reduced motion. If I have no SVG logo, ask before making one up.