Kedhareswer Naidu

Hover Expand Gallery

Galleries 110

About

Hover expand image gallery accordion: a row of hairline-separated panels with vertical labels, where the hovered or tapped panel grows to reveal its image while the rest stay rail-width. Below 1024px it becomes a vertical accordion. For portfolios and case studies. Pure CSS, no animation library.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Hover Expand Gallery to your project and fits it to your theme.

Code

How Hover Expand Gallery is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client"

import HoverExpandGallery from "@/components/ui/hover-expand-gallery"

const settings = {
  railWidth: 64,
  maxOpenWidth: 520,
  duration: 620,
}

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props }
  return (
    <HoverExpandGallery
      railWidth={s.railWidth}
      maxOpenWidth={s.maxOpenWidth}
      duration={s.duration}
    />
  )
}

More by Kedhareswer Naidu

View all
  • Glassmorphism Folder Cards

    Glassmorphism Folder Cards

    5.7K
  • Halftone Wordmark Footer

    Halftone Wordmark Footer

    2.3K
  • GitHub Contribution Graph 3D Heatmap

    GitHub Contribution Graph 3D Heatmap

    2.1K
  • Food Menu Scroll Carousel

    Food Menu Scroll Carousel

    2K
  • Morph Gallery

    Morph Gallery

    2K
  • Animated Features Bento with Live Diagrams

    Animated Features Bento with Live Diagrams

    1.4K
  • Hanging Polaroid Image Carousel

    Hanging Polaroid Image Carousel

    1.3K
  • Sneaker Product Page Hero

    Sneaker Product Page Hero

    1K

More in Galleries

View all
  • Photo Deck

    Photo Deck

    46
  • Hanging Glass Gallery

    Hanging Glass Gallery

  • Gallery Component

    Gallery Component

    21
  • Scattered About

    Scattered About

    50
  • Animated Gallery

    Animated Gallery

    1.6K
  • Cylinder Tunnel Gallery

    Cylinder Tunnel Gallery

  • Cloth Works Gallery

    Cloth Works Gallery

  • Image Gallery

    Image Gallery

    131