Kinetic UI
Back to Introduction
Layout & Data

Horizontal Image Accordion

A sleek layout where hovering over an image strip smoothly expands it to fill the screen while shrinking the others.

Quick Actions
CLI Installation
npx kinetic-ui-cli@latest add image-accordion

A highly fluid discovery experience. Utilizing hardware-accelerated CSS flex transitions layered with Framer Motion text animations, this component presents multiple narrow image strips side-by-side. When the user hovers over a strip, it seamlessly expands into a large focal point while the others organically shrink out of the way.

Live Preview

Horizontal Image Accordion

Fluid Accordion

Hover over the image strips to expand them

The Vision

The Vision

Phase 01

The Vision
Architecture

Architecture

Phase 02

Architecture
Engineering

Engineering

Phase 03

Engineering
Deployment

Deployment

Phase 04

Deployment
Scale

Scale

Phase 05

Scale

Installation

npx kinetic-ui-cli@latest add image-accordion

Usage Guide

1. Import the Component

Import the component into your React or Next.js page:

import { ImageAccordion } from "@/components/creative/image-accordion";

2. Implementation Example

Render the component and customize its behavior by passing props:

import { ImageAccordion } from "@/components/creative/image-accordion";

export default function Example() {
  return (
    <div className="w-full flex items-center justify-center p-8">
      <ImageAccordion
        items{/* value */}
      />
    </div>
  );
}
Performance Notes
  • Uses CSS hardware acceleration via GPU transform-binds.
  • Damped interpolation minimizes paint-redraw flashes.
  • Tree-shakable import: only compiles elements requested.
Accessibility Notes
  • Full keyboard focus-ring navigation support (`Tab`/`Shift+Tab`).
  • ARIA roles mapped correctly for assistive screen readers.
  • Respects `prefers-reduced-motion` system toggles.