Kinetic UI
Back to Introduction
Advanced Grids

Isometric Grid

A 3D isometric grid of cards that tilts collectively based on mouse position.

Quick Actions
CLI Installation
npx kinetic-ui-cli@latest add isometric-grid
Isometric Grid

Isometric Grid

Move your mouse to tilt. Hover items to lift.

Grid item 0
Grid item 1
Grid item 2
Grid item 3
Grid item 4
Grid item 5
Grid item 6
Grid item 7
Grid item 8

Installation

npx kinetic-ui-cli@latest add isometric-grid

How It Works

This component relies on CSS 3D transforms (perspective and transform-style: preserve-3d) combined with Framer Motion. We track the mouse position relative to the container and map those X/Y coordinates to the grid's rotateX and rotateZ values using useTransform.

Each individual card inside the grid then utilizes simple CSS hover states to lift upwards (-translate-y) and cast a larger drop shadow, enhancing the 3D depth effect.

Usage Guide

1. Import the Component

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

import { IsometricGrid } from "@/components/creative/isometric-grid";

2. Implementation Example

Render the component and customize its behavior by passing props:

import { IsometricGrid } from "@/components/creative/isometric-grid";

export default function Example() {
  return (
    <div className="w-full flex items-center justify-center p-8">
      <IsometricGrid
        items{/* value */}
        columns{10}
      />
    </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.