Rows of tiles drift past in opposite directions behind a focal tile, fading out at both edges.
illustrationsvgmarqueeiconsintegrationsuploadloop
Integrations
integrations.tsxThree rows of integration glyphs scroll behind a glowing plug hub.
$npx shadcn@latest add @geturui-pro/tile-drift-integrations
| 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-types.tsxFile-type tiles stream past a dashed drop zone with a nudging upload arrow.
$npx shadcn@latest add @geturui-pro/tile-drift-file-types
| 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. |
Install the whole set
Installs every tile drift variant at once. Each section above has its own command for a single variant.
Pro installs use your private registry token. Add the @geturui-pro registry once — setup guide. The command works after you get Pro.
$npx shadcn@latest add @geturui-pro/tile-drift
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.