- Docs
- Components
- Backgrounds
- Minimal Ripple
Minimal Ripple
Quiet concentric ripples spreading outward from a still point
Customize
Props
26| Name | Type | Default | Description |
|---|---|---|---|
speed | number | 4 | How fast the rings travel outward. |
frequency | number | 26 | Number of rings packed into the field. |
thickness | number | 0.07 | Brightness of each ring core. |
softness | number | 0.02 | Softness of the ring falloff, small values sharpen it. |
radius | number | 0.95 | Radius at which the rings fade out. |
fade | number | 0.05 | Inner edge of the fade as a fraction of radius. |
decay | number | 0.8 | Exponential dimming with distance from the origin. |
gain | number | 1.3 | Overall brightness. |
contrast | number | 1 | Tone response curve, above 1 deepens the gaps. |
pulse | number | 0.15 | Depth of the slow brightness breath, 0 disables it. |
pulseRate | number | 0.6 | Speed of the brightness breath. |
grain | number | 0.05 | Film grain strength, 0 to 1. |
grainSize | number | 1 | Grain cell size in CSS pixels. |
grainRate | number | 24 | Grain refreshes per second. |
color | string | "#0e7490" | Colour of the dim part of a ring. |
hotColor | string | "#a5f3fc" | Colour reached at the ring core. |
backgroundColor | string | "#0a0a0a" | Panel backdrop, or "transparent" to show the page through. |
opacity | number | 1 | Master alpha. |
cursorInteraction | boolean | true | Let the rings radiate from the pointer. |
cursorFollow | number | 0.9 | How far the origin follows the pointer, 0 to 1. |
paused | boolean | false | Freeze the animation. |
adaptiveQuality | boolean | true | Scale back resolution when the frame budget slips. |
targetFps | number | 60 | Frame rate the quality meter aims to hold. |
dpr | number | 2 | Upper device pixel ratio bound. |
className | string | undefined | Extra classes for the panel. |
children | ReactNode | undefined | Content layered above the panel. |
speednumberHow fast the rings travel outward.
4frequencynumberNumber of rings packed into the field.
26thicknessnumberBrightness of each ring core.
0.07softnessnumberSoftness of the ring falloff, small values sharpen it.
0.02radiusnumberRadius at which the rings fade out.
0.95fadenumberInner edge of the fade as a fraction of radius.
0.05decaynumberExponential dimming with distance from the origin.
0.8gainnumberOverall brightness.
1.3contrastnumberTone response curve, above 1 deepens the gaps.
1pulsenumberDepth of the slow brightness breath, 0 disables it.
0.15pulseRatenumberSpeed of the brightness breath.
0.6grainnumberFilm grain strength, 0 to 1.
0.05grainSizenumberGrain cell size in CSS pixels.
1grainRatenumberGrain refreshes per second.
24colorstringColour of the dim part of a ring.
"#0e7490"hotColorstringColour reached at the ring core.
"#a5f3fc"backgroundColorstringPanel backdrop, or "transparent" to show the page through.
"#0a0a0a"opacitynumberMaster alpha.
1cursorInteractionbooleanLet the rings radiate from the pointer.
truecursorFollownumberHow far the origin follows the pointer, 0 to 1.
0.9pausedbooleanFreeze the animation.
falseadaptiveQualitybooleanScale back resolution when the frame budget slips.
truetargetFpsnumberFrame rate the quality meter aims to hold.
60dprnumberUpper device pixel ratio bound.
2classNamestringExtra classes for the panel.
undefinedchildrenReactNodeContent layered above the panel.
undefined