Velocity Hover Preview

Interactive kinetic list and hover carousel projecting a floating WebGL preview with inertial momentum mesh-warping and pixel block entry/exit wave crossfading.

12.6 KB
•
Updated on September 20, 2026
Active on Canvas Stage

Interactive kinetic hover carousel. Hovering list items projects an orthographic WebGL preview that trails pointer velocity with inertia, vertex momentum distortion, and pixel wave entrance and exit dissolves.

Installation

Bash
pnpm dlx shadcn@latest add @spaceui/components-spaceui-velocity-hover-preview

Usage

Code
import { VelocityHoverPreview } from '@/components/spaceui/velocity-hover-preview'

const sampleServices = [
  {
    id: '01',
    num: '01',
    title: 'Space UI Twilight Ring',
    subtitle: 'Luminous Coastal Horizon & Twilight Shaders',
    mediaUrl: 'https://cdn.spaceui.one/atom/samples/image-1.png',
  },
  {
    id: '02',
    num: '02',
    title: 'Flora Kinetic Portrait',
    subtitle: 'Botanical Florals & Reactive Micro-interactions',
    mediaUrl: 'https://cdn.spaceui.one/atom/samples/image-2.png',
  },
]

export default function Example() {
  return <VelocityHoverPreview items={sampleServices} accentColor="#ffe9a8" />
}

Props

PropTypeDefaultDescription
items
PreviewItem[]
[]Array of items with title, subtitle, mediaUrl, and num.
accentColor
string
#ffe9a8Accent color of pixel wave transition bands (Aurum by default).
gridDensity
number
32Density of matrix blocks in transition waves.
warpIntensity
number
0.45Inertial momentum mesh distortion scale.
onItemSelect
(item: PreviewItem) => void
—Callback when a list item is clicked.

Keep in mind

  • MIT License: Free and open-source for personal and commercial use. Feel free to copy, tweak, and adapt the components to match your exact needs.
  • Credits & Inspiration: Some components on this site are inspired by or recreated from great ideas across the web. I'm not here to take credit; just to learn, experiment, and push interface craft further.
  • Reach out & Claims: If an attribution was missed, or if you have any inquiry or claim, feel free to reach out directly on X to @adrielzimbril. I'll be glad to update or resolve it right away.

Related Components

Fluid Distortion ImageMedia

An interactive WebGL image component with cover UV mapping and dynamic cursor fluid-distortion ripples using data textures.

View
Fluid Dither CrossfadeMedia

A dual-pass WebGL shader component featuring real-time Navier-Stokes fluid pressure simulation and Bayer 4x4 matrix ordered dithering crossfade.

View
Pixel Reveal ImageMedia

A WebGL image reveal component with dynamic pixel matrix wave and customizable neon accent border on scroll.

View
Lens Carousel
pnpm dlx shadcn@latest add @spaceui/components-spaceui-ui