The Pier

Concrete and open water under a bright morning sky.

Tiles
160
Tile Size
0.63
Roundness
0.2
Zoom
1.65
Pull Back
Stretch
0.6
Inertia
0.6
Autoplay
3s
Dim
0.5

More components in Pro

Galleries, cards and interactive pieces for pages that need more than the basics.

View all 255
21 properties
itemsArray<{ image: string; title?: string; description?: string; link?: string }>[]Items to show. They repeat around the sphere when there are fewer items than tiles.
count160Number of tiles on the sphere.
tileSize0.63Tile size relative to the space around it. Lower values leave wider gaps.
roundness0.2Tile shape, from 0 for squares to 1 for circles.
zoom1.65How close the camera sits to the active tile when the sphere is at rest.
pullBackHow far the camera pulls back while you drag. 0 keeps it still.
stretch0.6How much the tiles stretch with fast motion.
inertia0.6How long the sphere keeps spinning after you let go, from 0 to 1.
autoplay3Seconds between automatic steps to the next tile. 0 turns it off. Pauses on hover and focus.
grayscaleShows every tile except the active one in grayscale.
dim0.5Fades the tiles around the active one toward the background once the sphere settles, which keeps the text readable. From 0 to 1.
Spins the sphere into place when it loads.
showInfoShows the title, description and link button of the active item.
renderInfo(item, index, moving) => ReactNodeReplaces the default title, description and button with your own overlay.
theme'dark' | 'light''dark'Colors of the text, the button and the placeholder tiles.
accentColorBackground of the link button.
backgroundColorBackground behind the sphere. Transparent by default.
onActiveChange(item, index) => voidCalled when a new item settles in front.
onItemClick(item, index) => voidCalled when the active tile or its button is clicked, or Enter is pressed.
Extra class names for the container.
Inline styles for the container.
itemsArray<{ image: string; title?: string; description?: string; link?: string }>

Items to show. They repeat around the sphere when there are fewer items than tiles.

Default[]
countnumber

Number of tiles on the sphere.

Default160
tileSizenumber

Tile size relative to the space around it. Lower values leave wider gaps.

Default0.63
roundnessnumber

Tile shape, from 0 for squares to 1 for circles.

Default0.2
zoomnumber

How close the camera sits to the active tile when the sphere is at rest.

Default1.65
pullBacknumber

How far the camera pulls back while you drag. 0 keeps it still.

stretchnumber

How much the tiles stretch with fast motion.

Default0.6
inertianumber

How long the sphere keeps spinning after you let go, from 0 to 1.

Default0.6
autoplaynumber

Seconds between automatic steps to the next tile. 0 turns it off. Pauses on hover and focus.

Default3
grayscaleboolean

Shows every tile except the active one in grayscale.

dimnumber

Fades the tiles around the active one toward the background once the sphere settles, which keeps the text readable. From 0 to 1.

Default0.5
introboolean

Spins the sphere into place when it loads.

showInfoboolean

Shows the title, description and link button of the active item.

renderInfo(item, index, moving) => ReactNode

Replaces the default title, description and button with your own overlay.

theme'dark' | 'light'

Colors of the text, the button and the placeholder tiles.

Default'dark'
accentColorstring

Background of the link button.

backgroundColorstring

Background behind the sphere. Transparent by default.

onActiveChange(item, index) => void

Called when a new item settles in front.

onItemClick(item, index) => void

Called when the active tile or its button is clicked, or Enter is pressed.

Extra class names for the container.

Inline styles for the container.