# Dot Matrix Morph

> An even grid of dots that swell to form shapes or words, hold, then ripple outward from the centre into the next one.

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

## When to use it

Brand reveals, product launches, logo moments, event pages and AI or hardware products that want a precise, digital feel.

## How it works

Each shape or word is drawn once onto a tiny hidden canvas with one pixel per dot, and its alpha becomes that dot's target size. Every interval the targets change, and dots ease towards their new size in a ripple that starts at the centre and moves outward. Background dots never vanish completely, so the grid always reads as one surface.

## Installation

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

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `shapes` | `("circle" \| "ring" \| "square" \| "diamond" \| "triangle" \| "plus")[]` | `["circle", "diamond", "ring", "plus"]` | The shapes the dots form, in order. |
| `words` | `string[]` |  | Short words to spell instead of shapes. |
| `color` | `string` | `"#B9C7FF"` | Dot colour as a hex value. |
| `spacing` | `number` | `14` | Distance between dots in pixels. |
| `interval` | `number` | `3` | Seconds each shape holds. |
| `interactive` | `boolean` | `true` | Swell the dots near the pointer. |
| `children` | `ReactNode` |  | Your content, layered above. |

## Accessibility

- **Keyboard: Not applicable.** Decorative, nothing to focus. Your content inside stays fully interactive.
- **Screen readers: Pass.** The canvas is hidden from assistive tech, so words spelled in dots aren't read; put anything important in your content as text.
- **Reduced motion: Pass.** With reduced motion on, it holds the first shape. It also stops drawing while off screen.
- **Colour contrast: Pass.** Background dots sit at 16% opacity; the shape itself is bright, so keep text beside it or on a panel.
