---
title: "Tornado Dissolve"
description: "Tear a picture off the page with a twister. Pieces spin around an upright axis and climb in a widening funnel."
url: https://gelatinui.com/components/tornado-dissolve
markdown_url: https://gelatinui.com/components/tornado-dissolve.md
access: pro
install: "npx shadcn@latest add @gelatin-ui-pro/tornado-dissolve"
version: "2026-11-18"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Tornado Dissolve

> Tear a picture off the page with a twister. Pieces spin around an upright axis and climb in a widening funnel.

Page: https://gelatinui.com/components/tornado-dissolve

## When to use it

Best for: A dramatic removal with a lot of free space above the picture.

- Use it when the removal is the main event on the page.
- Raise `turns` for a faster spin.
- Raise `amplitude` for a wide storm, or lower it for a thin dust devil.

## When not to use it

- To stay inside the box, use [Vortex Dissolve](https://gelatinui.com/components/vortex-dissolve.md).
- For level rings with no climb, use [Orbit Dissolve](https://gelatinui.com/components/orbit-dissolve.md).

## Notes for agents

- The funnel climbs about one box height above the picture. Leave that space free.
- The bottom edge lifts first. `origin` changes the order, not the axis.
- The axis is always the vertical middle of the box.
- A parent with `overflow-hidden` cuts the funnel.

## Anatomy

```text
TornadoDissolve
```

## API reference

### TornadoDissolve

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `src` | `string` |  | The picture URL. Give `src` or `source`. |
| `source` | `union` |  | A picture the page already has: an `<img>`, a `<canvas>`, an `ImageBitmap`, or an `OffscreenCanvas`. |
| `alt` | `string` |  | Names the picture for screen readers while it shows. |
| `crossOrigin` | `GrainCrossOrigin` |  | The CORS mode of a picture on another origin: the grains read its pixels. |
| `fit` | `GrainFit` |  | How the picture fills the box, as `object-fit`. Default `cover`. |
| `grainSize` | `number` |  | The side of one grain in CSS px. A very large box raises it, so the effect stays smooth. |
| `dissolved` | `boolean` |  | The picture is gone (controlled). `true` takes it apart; `false` brings it back. |
| `restore` | `"instant" \| "play"` |  | How the picture comes back: `play` runs the effect backward, `instant` shows it at once. Default `play`. |
| `progress` | `number` |  | From 0 (whole) to 1 (gone): a gesture drives the effect and no clock runs. Leave it out to play. |
| `seed` | `number` |  | The same seed gives the same motion. Default: from the picture URL. |
| `onDissolveEnd` | `function` |  | Called when the last grain has left (or the fade has ended). |
| `onRestoreEnd` | `function` |  | Called when the picture is whole again after a played return. |
| `origin` | `GrainOrigin` |  | Where the effect starts. `press` is the last press in the picture. |
| `spread` | `number` |  | From 0 to 0.85: how much of the effect passes between the first grain that leaves and the last. |
| `jitter` | `number` |  | From 0 to 0.85: how much of each grain's start is random. |
| `duration` | `number` |  | How long the funnel takes to lift the picture, in ms. Default `2600`. |
| `turns` | `number` |  | How fast the funnel spins. Default `2`. |
| `amplitude` | `number` |  | From 0 to 2: how wide the funnel is. Default `1`. |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| TornadoDissolve | `tornado-dissolve` |  |  |  |

## Usage

Leave room above the picture for the funnel.

The sample also uses `button`, which this add does not write. One command adds them with this item:

```bash
npx shadcn@latest add @gelatin-ui-pro/tornado-dissolve @gelatin-ui/button
```

```tsx title="storm-listing.tsx"
"use client";

import { useState } from "react";

import { TornadoDissolve } from "@/components/pro/effects/tornado-dissolve";
import { Button } from "@/components/ui/button";

export function StormListing() {
  const [gone, setGone] = useState(false);
  return (
    <article className="flex w-80 max-w-full flex-col gap-3 pt-64">
      <TornadoDissolve
        src="/photos/prairie-cabin.webp"
        alt="A wooden cabin on open land"
        dissolved={gone}
        turns={3}
        amplitude={1.3}
        className="w-full"
      />
      <div className="flex items-center justify-between gap-4 text-sm">
        Prairie cabin
        <Button
          size="sm"
          variant="outline"
          onClick={() => {
            setGone((value) => {
              return !value;
            });
          }}
        >
          {gone ? "Rebuild" : "Blow away"}
        </Button>
      </div>
    </article>
  );
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui-pro/tornado-dissolve
```

It adds 35 registry items: 34 files, 6531 lines, and the npm packages `@mantine/hooks`, `@xstate/react`, `clsx`, `motion`, `tailwind-merge`, `xstate`.

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Orbit Dissolve](https://gelatinui.com/components/orbit-dissolve.md)
- [Vortex Dissolve](https://gelatinui.com/components/vortex-dissolve.md)
- [Crumple to Delete](https://gelatinui.com/components/crumple-to-delete.md)
- [Mask Reveal](https://gelatinui.com/components/mask-reveal.md)

## Motion

| Part | Motion |
| --- | --- |
| Lift | heatPrint · 2.6s · pieces spin toward the middle and climb in a widening funnel |
| Back | heatPrint · 2.6s · the funnel comes down and the picture settles |
