
Hover Slider
WebGL
A list-preview component that connects feature names, services, or proof items to visible contextual previews.
Interactive List Preview is a hover-driven project table. On desktop, moving the pointer over a row slides a white highlight bar onto it, turns its text black and reveals that row's image from the centre outwards with a clip-path wipe, blended over the table with mix-blend-mode: difference, while the image drifts slightly with the cursor. The default export renders ten built-in rows (client, platform, services and an image); swap them by editing the projects array in the source.
Use Interactive List Preview when list items need quick visual context, such as feature screenshots, service examples, or proof snippets. The list remains the primary navigation; the preview adds confidence.
The production risk is hidden detail. Previews must be optional support, not the only place where key feature or product information appears.
import InteractiveListPreview from '@/components/effects/interactive-list-preview' const page = () => { return ( <> <InteractiveListPreview /> </> )} export default pageA SaaS product page can use Interactive List Preview to pair feature names with screenshots, diagrams, or proof snippets. On desktop the preview responds only to the mouse: rows are not focusable and have no keyboard path, so keyboard users get the text but not the images. Below 1024px each row shows its image inline, so touch users see every preview without interaction.
Not for lists where every preview contains mandatory content that is inaccessible without pointer movement.
Every preview image is mounted up front with loading="eager", in both the desktop table and the mobile list, so keep the assets compressed and pre-sized and the list short. Hover changes are handled with GSAP on refs rather than React state, so the list does not re-render on every hover.
On desktop the rows are plain table rows driven by mouseenter and mouseleave, with no focus or keyboard handling, and the active state is shown only visually (white highlight bar, black text). If keyboard users need the previews, make each row a focusable link or button and trigger the same reveal on focus. Below 1024px the table is replaced by a stacked list where every item shows its client, platform, services and image together, with no hover needed.
| Prop | Type | Default | Description |
|---|---|---|---|
imageSize | number | 1 | Scale multiplier for the hover preview image. |
duration | number | 0.6 | Preview image reveal and hide duration. |
smoothness | number | 0.35 | Highlight and row text transition smoothing duration. |
lerp | number | 0.18 | Pointer-follow smoothing amount; higher values track faster. |
Use it when a list-driven page needs items revealing contextual previews.
Out of the box the hovered row gets a white highlight bar and black text, and its image appears. There is no keyboard focus state because rows are not focusable; if you need one, make the rows focusable and drive the same highlight on focus. Make sure the row text still makes sense if the image fails to load.
Below 1024px it switches to a stacked list where each item shows its text beside its image inline, so nothing depends on hover or tap.
Yes, when feature names need quick supporting context. It hurts the decision when previews are heavy, pointer-only, or hide the list being compared.
With prefers-reduced-motion set, the clip-path wipe is replaced by a short opacity fade (at most 0.35s), only one image shows at a time, and the cursor-following drift is turned off. The highlight bar still glides between rows.
Need a custom effect? Tell us what to create.