# Tilt Tiles

> A field of dark glass tiles that tilt towards the cursor in 3D, catching a coloured light glowing behind them.

Category: Backgrounds · MotionKit Plus · Updated 2026-11-14 · Live demo: https://www.motionkitui.com/components/tilt-tiles

## When to use it

Creative studios, product heroes, 3D and design tools, and portfolio landing pages that want depth without a heavy 3D library.

## How it works

The tiles are plain elements laid out in a CSS grid. Each frame, every tile's tilt eases towards a target set by its direction and distance from the pointer, using perspective transforms only, so the browser never has to lay the page out again. Behind them, a coloured glow follows the pointer and shows through the gaps and the glassy gradients on each tile.

## Installation

Part of MotionKit Plus (https://www.motionkitui.com/pricing). Subscribers install it with `npx shadcn@latest add @motionkit/tilt-tiles` after adding their registry token from https://www.motionkitui.com/account.

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `color` | `string` | `"#5FAEB4"` | Colour of the light behind the tiles. |
| `tile` | `number` | `64` | Tile size in pixels. |
| `tilt` | `number` | `28` | How far tiles tilt, in degrees. |
| `interactive` | `boolean` | `true` | Respond to the pointer; off, a slow wave rolls across. |
| `children` | `ReactNode` |  | Your content, layered above. |

## Accessibility

- **Keyboard: Not applicable.** Decorative, nothing to focus. Your content inside stays fully interactive.
- **Screen readers: Pass.** The tiles and lights are hidden from assistive tech; only your content is read.
- **Reduced motion: Pass.** With reduced motion on, there's no idle wave and tiles turn to the pointer without easing. It pauses while off screen.
- **Colour contrast: Pass.** Tiles are dark glass over a soft glow with a vignette at the edges; text in the middle keeps strong contrast.
