Viora LogoViora UI
Login

Hover Expand Gallery

An interactive gallery that expands items on hover.

demo-hover-expand.tsx
Loading source code...

Installation

pnpm dlx viora-ui add hover-expand
npx viora-ui add hover-expand
yarn viora-ui add hover-expand
bunx --bun viora-ui add hover-expand

Usage

import { HoverExpand } from "viora-ui";
import { HoverExpand } from "viora-ui";

export default function HoverExpandDemo() {
  return (
    <div className="flex min-h-[350px] w-full items-center justify-center p-6">
      <HoverExpand />
    </div>
  );
}

API Reference

HoverExpand

PropTypeDefaultDescription
images?{ src: string; alt: string; code: string }[][]List of images to render.
className?string""Additional CSS classes for custom styling.
autoPlay?booleanfalseWhether to automatically cycle through items.

Built by Otis

Last updated: 9/13/2026