# Tile Drift

> Rows of tiles drift past in opposite directions behind a focal tile, fading out at both edges.

- Collection: Illustrations
- Tier: pro
- Docs: https://geturui.com/docs/tile-drift
- Install: `npx shadcn@latest add @geturui-pro/tile-drift`
- Dependencies: motion

## Variants

### Integrations

Three rows of integration glyphs scroll behind a glowing plug hub.

Install: `npx shadcn@latest add @geturui-pro/tile-drift-integrations`

```tsx
import { TileDriftIntegrations } from "@/components/illustrations/tile-drift/integrations";

export function IntegrationsIllustration() {
  return (
    <div className="rounded-xl border border-border bg-surface p-4">
      <TileDriftIntegrations className="w-full" />
    </div>
  );
}
```

| Prop | Type | Default | Description |
|---|---|---|---|
| speed | `number` | 1 | Speed multiplier for the loop (24 seconds per row at 1). |
| title | `string` | — | Accessible description of the scene, used as the aria-label. |
| className | `string` | — | Classes for the SVG; it fills its container width and keeps its ratio. |

### File types

File-type tiles stream past a dashed drop zone with a nudging upload arrow.

Install: `npx shadcn@latest add @geturui-pro/tile-drift-file-types`

```tsx
import { TileDriftFileTypes } from "@/components/illustrations/tile-drift/file-types";

export function FileTypesIllustration() {
  return (
    <div className="rounded-xl border border-border bg-surface p-4">
      <TileDriftFileTypes className="w-full" />
    </div>
  );
}
```

| Prop | Type | Default | Description |
|---|---|---|---|
| speed | `number` | 1 | Speed multiplier for the loop (24 seconds per row at 1). |
| title | `string` | — | Accessible description of the scene, used as the aria-label. |
| className | `string` | — | Classes for the SVG; it fills its container width and keeps its ratio. |

## Accessibility

- Rendered as a single SVG with role="img" and an aria-label you can override with `title`; nothing inside is focusable.
- Under prefers-reduced-motion the scene renders one meaningful still frame: no loops, no timers.
- Colours come from the GetUrUI tokens only, so the scene follows light and dark themes automatically.

## Source

Pro item — send `Authorization: Bearer <registry token>` to include the source.
