Field notes, October
Slow light over the bay
Shot in the last minutes of daylight, when the clouds turn and the water goes still.

The walk out
The pier is a twenty minute walk from the station. Most evenings it is empty by the time the sky starts to change, so you get the whole thing to yourself.

The good light lasts about four minutes. You learn to wait for it.

More from the coast next spring.
More cursor effects in Pro
Cursor trails and pointer effects that give a site its own feel.
children | ReactNode | The content to fade in. | |
container | string | HTMLElement | window | Scroll container that drives the fade, as a selector or an element. Defaults to the page. |
effect | 'fade' | 'focus' | 'develop' | 'dissolve' | 'mist' | 'pixel' | 'fade' | How the content appears: a plain fade, out of focus, from washed-out gray, through fine grain, through drifting mist, or block by block. |
blur | boolean | number | Extra blur the content starts from, in px. true adds 10px. | |
duration | Length of the fade, in seconds. Values above 10 are read as milliseconds. | ||
ease | 'power2.out' | Any GSAP ease, such as 'power3.out', 'expo.out' or 'none'. | |
delay | Wait before the fade starts, in seconds. Values above 10 are read as milliseconds. | ||
threshold | 0.1 | How far into the viewport the top of the content must be before it fades in, from 0 to 1. | |
initialOpacity | Opacity the content starts from. | ||
stagger | Fades each direct child in turn, this many seconds apart. Great for lists and grids. | ||
staggerFrom | 'start' | 'end' | 'center' | 'edges' | 'random' | 'start' | Which child goes first when staggering. |
trigger | 'scroll' | 'mount' | 'scroll' | Fade in when the content scrolls into view, or right away. |
once | Fades in once. Turn off to fade back out whenever the content scrolls back below the view. | ||
exit | Fades the content back out as it scrolls off the top, and in again when it comes back. | ||
scrub | boolean | number | Ties the fade to the scroll position instead of playing it. A number smooths it, in seconds. | |
disappearAfter | Fades the content out again this many seconds after it appears. 0 keeps it shown. | ||
disappearDuration | 0.5 | Length of the fade out, in seconds. | |
disappearEase | 'power2.in' | GSAP ease of the fade out. | |
onStart | () => void | Called when the fade starts. | |
onComplete | () => void | Called when the fade finishes. | |
onDisappearanceComplete | () => void | Called when the fade out finishes. | |
| Extra class names for the wrapper. | |||
| Inline styles for the wrapper. |
childrenReactNodeThe content to fade in.
containerstring | HTMLElementScroll container that drives the fade, as a selector or an element. Defaults to the page.
windoweffect'fade' | 'focus' | 'develop' | 'dissolve' | 'mist' | 'pixel'How the content appears: a plain fade, out of focus, from washed-out gray, through fine grain, through drifting mist, or block by block.
'fade'blurboolean | numberExtra blur the content starts from, in px. true adds 10px.
durationnumberLength of the fade, in seconds. Values above 10 are read as milliseconds.
easestringAny GSAP ease, such as 'power3.out', 'expo.out' or 'none'.
'power2.out'delaynumberWait before the fade starts, in seconds. Values above 10 are read as milliseconds.
thresholdnumberHow far into the viewport the top of the content must be before it fades in, from 0 to 1.
0.1initialOpacitynumberOpacity the content starts from.
staggernumberFades each direct child in turn, this many seconds apart. Great for lists and grids.
staggerFrom'start' | 'end' | 'center' | 'edges' | 'random'Which child goes first when staggering.
'start'trigger'scroll' | 'mount'Fade in when the content scrolls into view, or right away.
'scroll'oncebooleanFades in once. Turn off to fade back out whenever the content scrolls back below the view.
exitbooleanFades the content back out as it scrolls off the top, and in again when it comes back.
scrubboolean | numberTies the fade to the scroll position instead of playing it. A number smooths it, in seconds.
disappearAfternumberFades the content out again this many seconds after it appears. 0 keeps it shown.
disappearDurationnumberLength of the fade out, in seconds.
0.5disappearEasestringGSAP ease of the fade out.
'power2.in'onStart() => voidCalled when the fade starts.
onComplete() => voidCalled when the fade finishes.
onDisappearanceComplete() => voidCalled when the fade out finishes.
Extra class names for the wrapper.
Inline styles for the wrapper.
Dependencies
1 required package
npm install gsap


