Spiral Drift
image-galleryProPictures stream along an inward spiral with equal spacing, turning to the tangent, shrinking toward the centre and fading at both ends. Reversible speed, turns, spread and pause on hover.
Introductory price until 31 December 2026. €79 after that.
Preview
Live demo. The theme switches the demo itself.
Code
The code is locked
Spiral Drift is part of Manniche UI Pro. A key unlocks the source of all 66 effects.
Buy · €49€49 · Introductory price until 31 December 2026. €79 after that.
- One-off payment
- One developer
- Sign in and create your key straight away
- No VAT (§ 19 UStG)
Have a key? Get the code with the CLI or MCP.
The key lives in MANNICHE_PRO_KEY, never in your code or a URL. How to set it up
npx shadcn@latest add @manniche-pro/spiral-driftclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
SpiralDriftProps
| Prop | Type | Default | What it does |
|---|---|---|---|
items required | SpiralDriftItem[] | – | Pictures that ride the spiral. They are repeated in order to fill every slot of the spiral. |
turns | number | 2.4 | How many times the spiral winds around the centre between the edge and the middle. |
spread | number | 1 | How far out the spiral starts, as a share of the container's half-diagonal. 1 starts at the corners, lower pulls it in, higher lets cards enter from beyond the edges. |
speed | number | 0.7 | Travel speed in cards per second past a fixed point on the path. 0 stops it, negative values reverse the flow (cards climb out of the centre). |
size | number | 175 | Edge length of a card at the outer end of the spiral, in CSS pixels. Cards shrink toward the centre and the size also scales down a little on small containers. |
radius | number | 18 | Corner radius of the cards in CSS pixels. |
count | number | 44 | How many cards share the spiral. Fewer are used on small containers. |
pauseOnHover | boolean | true | Slow the flow to a stop while the pointer rests on it (and while a finger is down), and ease back after. Also pauses while focus is inside. |
direction | 'clockwise' | 'counterclockwise' | 'clockwise' | Spiral direction on screen. |
pauseButton | boolean | true | Show a Pause and Play button, so the flow can be stopped by keyboard, touch or mouse. Hidden under reduced motion and when speed is 0. |
labels | { pause: string; play: string } | { pause: 'Pause', play: 'Play' } | Text on the Pause and Play button, for other languages. |
aria-label | string | – | Accessible name for the picture stream. Leave empty when it is only decoration. The images' alt texts are read as a list inside it. |
children | ReactNode | – | Content drawn above the spiral. It does not receive pointer events by default; enable pointer-events-auto on anything clickable. |
className | string | – | – |
A11y
Keyboard
A visible Pause or Play button in the bottom right corner stops and restarts the drift. Focus on the button does not pause the flow by itself. labels sets its text, and pauseButton false removes it.
Screen reader
The root is a group named by aria-label. The canvas is aria-hidden and a hidden list gives each non-empty alt once.
Reduced motion
Under reduced motion the button is not shown and nothing moves. Otherwise pauseOnHover stops the flow while the pointer is over it. The loop pauses while off screen.