More components in Pro
Galleries, cards and interactive pieces for pages that need more than the basics.
items | Array<{ image: string; title?: string; description?: string; link?: string }> | [] | Items to show. They repeat around the sphere when there are fewer items than tiles. |
count | 160 | Number of tiles on the sphere. | |
tileSize | 0.63 | Tile size relative to the space around it. Lower values leave wider gaps. | |
roundness | 0.2 | Tile shape, from 0 for squares to 1 for circles. | |
zoom | 1.65 | How close the camera sits to the active tile when the sphere is at rest. | |
pullBack | How far the camera pulls back while you drag. 0 keeps it still. | ||
stretch | 0.6 | How much the tiles stretch with fast motion. | |
inertia | 0.6 | How long the sphere keeps spinning after you let go, from 0 to 1. | |
autoplay | 3 | Seconds between automatic steps to the next tile. 0 turns it off. Pauses on hover and focus. | |
grayscale | Shows every tile except the active one in grayscale. | ||
dim | 0.5 | Fades 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. | |||
showInfo | 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' | 'dark' | Colors of the text, the button and the placeholder tiles. |
accentColor | Background of the link button. | ||
backgroundColor | 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. |
itemsArray<{ image: string; title?: string; description?: string; link?: string }>Items to show. They repeat around the sphere when there are fewer items than tiles.
[]countnumberNumber of tiles on the sphere.
160tileSizenumberTile size relative to the space around it. Lower values leave wider gaps.
0.63roundnessnumberTile shape, from 0 for squares to 1 for circles.
0.2zoomnumberHow close the camera sits to the active tile when the sphere is at rest.
1.65pullBacknumberHow far the camera pulls back while you drag. 0 keeps it still.
stretchnumberHow much the tiles stretch with fast motion.
0.6inertianumberHow long the sphere keeps spinning after you let go, from 0 to 1.
0.6autoplaynumberSeconds between automatic steps to the next tile. 0 turns it off. Pauses on hover and focus.
3grayscalebooleanShows every tile except the active one in grayscale.
dimnumberFades the tiles around the active one toward the background once the sphere settles, which keeps the text readable. From 0 to 1.
0.5introbooleanSpins the sphere into place when it loads.
showInfobooleanShows 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'Colors of the text, the button and the placeholder tiles.
'dark'accentColorstringBackground of the link button.
backgroundColorstringBackground 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.



