More cursor effects in Pro
Cursor trails and pointer effects that give a site its own feel.
logos | LogoItem[] | required | Logos to show. Each item is either { node } for any React node, like an icon, or { src, alt } for an image. Both accept an optional title, href and hoverColor, the brand color a logo takes on when hovered. |
speed | 120 | Speed in pixels per second. Negative values reverse the direction. | |
direction | 'left' | 'right' | 'up' | 'down' | 'left' | Which way the logos travel. |
width | number | string | '100%' | Width of the loop. |
logoHeight | 28 | Height of each logo in pixels. | |
gap | 32 | Space between logos in pixels. | |
hoverSpeed | undefined | Speed while the loop is hovered or a logo has keyboard focus. 0 pauses it and a small value slows it down. By default it pauses. | |
pauseOnHover | undefined | Set to false to keep full speed on hover. Ignored when hoverSpeed is set. | |
fadeOut | Fades the logos out softly at both ends. It is a transparent mask, so it works on any background. | ||
fadeOutWidth | 0.12 | Size of each fade as a fraction of the length, from 0 to 0.5. | |
scaleOnHover | Grows the hovered logo slightly. | ||
layout | 'line' | 'wave' | 'arc' | 'orbit' | 'line' | Path the logos travel along: a straight line, a wave, an arc, or a ring that turns in 3D. |
bend | 0.5 | How strongly the path bends, from -1 to 1. It sets the height of the wave, the curve of the arc or the tilt of the orbit. Negative values flip it. | |
focus | A lens in the middle, from 0 to 1. Logos grow and make room as they pass the center while the outer ones dim. | ||
magnify | Dock-style magnification under the cursor, from 0 to 1. Nearby logos move aside to make room. | ||
tiltX | Tilts the loop back or forward in 3D, in degrees. | ||
tiltY | Turns the loop to the side in 3D, in degrees. | ||
step | Moves one logo at a time and pauses, centering each logo in turn. Speed sets the pace. | ||
muted | Greys out and dims the logos until one is hovered or centered, from 0 to 1. | ||
labels | 'none' | 'inline' | 'below' | 'hover' | 'none' | Shows each logo's title beside it, below it, or as a small caption when it is hovered or centered. |
draggable | Lets people drag or swipe the loop and fling it. Links still open with a normal click. | ||
scrollBoost | Speeds the loop up while the page scrolls and reverses it when scrolling up, from 0 to 1. | ||
| Logos fade and rise in from left to right the first time the loop comes into view. | |||
renderItem | (item: LogoItem, key: React.Key) => React.ReactNode | undefined | Custom render function for each logo, for full control over how it looks. |
ariaLabel | 'Partner logos' | Accessible name for the loop. | |
undefined | Extra class names for the container. | ||
| React.CSSProperties | undefined | Inline styles for the container. |
logosLogoItem[]Logos to show. Each item is either { node } for any React node, like an icon, or { src, alt } for an image. Both accept an optional title, href and hoverColor, the brand color a logo takes on when hovered.
requiredspeednumberSpeed in pixels per second. Negative values reverse the direction.
120direction'left' | 'right' | 'up' | 'down'Which way the logos travel.
'left'widthnumber | stringWidth of the loop.
'100%'logoHeightnumberHeight of each logo in pixels.
28gapnumberSpace between logos in pixels.
32hoverSpeednumberSpeed while the loop is hovered or a logo has keyboard focus. 0 pauses it and a small value slows it down. By default it pauses.
undefinedpauseOnHoverbooleanSet to false to keep full speed on hover. Ignored when hoverSpeed is set.
undefinedfadeOutbooleanFades the logos out softly at both ends. It is a transparent mask, so it works on any background.
fadeOutWidthnumberSize of each fade as a fraction of the length, from 0 to 0.5.
0.12scaleOnHoverbooleanGrows the hovered logo slightly.
layout'line' | 'wave' | 'arc' | 'orbit'Path the logos travel along: a straight line, a wave, an arc, or a ring that turns in 3D.
'line'bendnumberHow strongly the path bends, from -1 to 1. It sets the height of the wave, the curve of the arc or the tilt of the orbit. Negative values flip it.
0.5focusnumberA lens in the middle, from 0 to 1. Logos grow and make room as they pass the center while the outer ones dim.
magnifynumberDock-style magnification under the cursor, from 0 to 1. Nearby logos move aside to make room.
tiltXnumberTilts the loop back or forward in 3D, in degrees.
tiltYnumberTurns the loop to the side in 3D, in degrees.
stepbooleanMoves one logo at a time and pauses, centering each logo in turn. Speed sets the pace.
mutednumberGreys out and dims the logos until one is hovered or centered, from 0 to 1.
labels'none' | 'inline' | 'below' | 'hover'Shows each logo's title beside it, below it, or as a small caption when it is hovered or centered.
'none'draggablebooleanLets people drag or swipe the loop and fling it. Links still open with a normal click.
scrollBoostnumberSpeeds the loop up while the page scrolls and reverses it when scrolling up, from 0 to 1.
introbooleanLogos fade and rise in from left to right the first time the loop comes into view.
renderItem(item: LogoItem, key: React.Key) => React.ReactNodeCustom render function for each logo, for full control over how it looks.
undefinedariaLabelstringAccessible name for the loop.
'Partner logos'Extra class names for the container.
undefinedstyleReact.CSSPropertiesInline styles for the container.
undefined


