Starlight River
A river of fine strands and glitter that runs down one side of a hero, drawn as a long exposure, so the light keeps flowing and never repeats. Your hero sits over the open side, and the river can be flipped to either side.

Included with membership
Members install Starlight River with one command and get the full source, the usage code and the Framer remix, licensed for client work. One membership covers the whole library and the CLI.
When to use it
A dark hero that should feel alive without asking for attention: a fragrance, a jewellery line, an album, a night-time launch. It fills the element it is in, so give that a height, or pass a class that positions it.
- Give the element it is in a height. The river fills it.
- Pass a poster for visitors who prefer reduced motion. A screenshot of the river works well.
- Keep your copy on the left, the side the river leaves open.
- On narrow screens the river runs behind the copy, so lay a dark gradient between them to keep small text readable.
Avoid:
- Do not put it inside an element with no height. The river has nothing to fill and shows nothing.
- Do not put it on a light ground. The river is light added to black, and on a pale background the strands disappear.
Props
A river of fine strands and glitter that runs down one side of a hero, drawn as a long exposure. Each frame adds a little new light while the old light fades, so the river keeps flowing and never settles into a loop. Your hero sits over the open side.
<StarlightRiver />
The river, with your hero laid over it. Fills its parent, positioned relative, on black. A class you pass wins over those, so one that positions it works.
| Prop | Type | Default | Description |
|---|---|---|---|
flowSpeed | number | 1 | How fast the light travels down the river. |
intro | boolean | true | Pour the river in when it first appears. |
poster | string | — | Image shown where the scene cannot run: reduced motion, or a device below the floor. |
className | string | — | Class for the outer element. |
children | React.ReactNode | — | Your hero, over the open side of the river. |