---
title: "Blinds Dissolve"
description: "A picture that closes like window blinds, slat by slat. Use it to close a place or a section for now."
url: https://gelatinui.com/components/blinds-dissolve
markdown_url: https://gelatinui.com/components/blinds-dissolve.md
access: free
install: "npx shadcn@latest add @gelatin-ui/blinds-dissolve"
registry_item: https://gelatinui.com/r/blinds-dissolve.json
version: "2026-11-18"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Blinds Dissolve

> A picture that closes like window blinds, slat by slat. Use it to close a place or a section for now.

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

## When to use it

Best for: Closing a place or a section, with neat slats and no motion outside the box.

- Use it for closed, paused, or not-yet-open states.
- Set `strips` to choose narrow or wide slats.
- Keep the state readable next to it: the picture alone does not say it is closed.

## When not to use it

- For small tiles instead of slats, use [Mosaic Dissolve](https://gelatinui.com/components/mosaic-dissolve.md).
- For rows that leave to the sides, use [Scan Dissolve](https://gelatinui.com/components/scan-dissolve.md).

## Notes for agents

- Slats close one after another from the top. It has no `origin` prop.
- Each slat squeezes to a thin line at its own middle, then fades.
- It stays inside the box, so it fits cards with `overflow-hidden`.
- `strips` is 12 by default. Use fewer on a small box, so each slat stays visible.

## Anatomy

```text
BlindsDissolve
```

## API reference

### BlindsDissolve

| 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. |
| `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 slats take to close, in ms. Default `1400`. |
| `strips` | `number` |  | How many slats the picture has. Default `12`. |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| BlindsDissolve | `blinds-dissolve` |  |  |  |

## Usage

Close the blinds on a restaurant when it stops taking tables.

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/blinds-dissolve @gelatin-ui/button
```

```tsx title="restaurant-card.tsx"
"use client";

import { useState } from "react";

import { BlindsDissolve } from "@/components/effects/blinds-dissolve";
import { Button } from "@/components/ui/button";

export function RestaurantCard() {
  const [closed, setClosed] = useState(false);
  return (
    <article className="flex w-80 max-w-full flex-col gap-2 overflow-hidden rounded-2xl border p-3">
      <BlindsDissolve
        src="/photos/table-for-two.webp"
        alt="A restaurant table set for two"
        dissolved={closed}
        strips={9}
        className="w-full"
      />
      <p className="text-sm text-muted-foreground">
        {closed ? "Closed for today" : "Open until 22:00"}
      </p>
      <Button variant="outline" size="sm" onClick={() => setClosed((value) => !value)}>
        {closed ? "Open" : "Close"}
      </Button>
    </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/blinds-dissolve
```

It adds 35 registry items: 34 files, 6535 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

- [Mosaic Dissolve](https://gelatinui.com/components/mosaic-dissolve.md)
- [Scan Dissolve](https://gelatinui.com/components/scan-dissolve.md)
- [Zoom Reveal](https://gelatinui.com/components/zoom-reveal.md)
- [Mask Reveal](https://gelatinui.com/components/mask-reveal.md)

## Motion

| Part | Motion |
| --- | --- |
| Out | draw · 1.4s · slats squeeze shut in turn from the top |
| Back | draw · 1.4s · the slats open again from the bottom up |
