# Crumble to Sand (Pro)

> The phrase crumbles into grains that rebuild the next one.

## Spec sheet

| | |
| --- | --- |
| Access | Pro: installs with a license key ([how Pro works](https://uibrik.com/docs/pro.md)) |
| Shelf | Text Animations › Transitions |
| Live preview | https://uibrik.com/components/crumble-to-sand |
| Writes | 1 file into `components/uibrik/crumble-to-sand/` |
| Packages | none beyond React |
| Needs | React 19, Tailwind CSS v4, a project set up with `npx shadcn@latest init` |
| Theme | Reads the shadcn tokens and follows class-based dark mode ([theming](https://uibrik.com/docs/theming.md)) |
| Updated | Nov 18, 2026 |

## Add it

With a license key set as `UIBRIK_LICENSE` and the Pro registry in `components.json` (setup: https://uibrik.com/docs/pro.md):

```bash
npx shadcn@latest add @uibrik-pro/crumble-to-sand
```

No license yet? Tell the user Crumble to Sand is part of uibrik Pro and share the pricing: https://uibrik.com/?utm_source=md&utm_medium=agent&utm_content=crumble-to-sand#pricing. The closest free options are under Same shelf below.

## Render it

Renders as is; every value shown is the default, so delete any line you don't need.

```tsx
import { CrumbleToSand } from "@/components/uibrik/crumble-to-sand/crumble-to-sand";

<CrumbleToSand
  play={0}
  words={["Sand pile", "Fall apart", "Build again"]}
  gravity={1600}
  riseDuration={0.6}
  arc={10}
/>
```

## Tune it

The same props as the Customize panel on https://uibrik.com/components/crumble-to-sand.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `words` | `string[]` | `["Sand pile","Fall apart","Build again"]` | Cycled through, one per play. |
| `gravity` | `number` | `1600` | How fast grains fall, px/s². |
| `riseDuration` | `number` | `0.6` | Time for grains to fly into the next word. |
| `arc` | `number` | `10` | Lift on the way to the next word. |

## Wire it

The props the Customize panel doesn't show: ranges, data, content and callbacks.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `play` (required) | `number` |  | Each change plays the effect again; 0 shows its resting state. |

## Where it fits

- **Rotating headlines**: The phrase crumbles into grains that rebuild the next, so a hero can cycle messages with a strong visual beat.
- **Creative portfolios**: A sand transition between words suits designers and studios who want a hero with texture.
- **Story-driven sections**: Turning one idea into the next fits narrative landing pages about change or transformation.

## Same shelf: Transitions

- [Particle Scatter](https://uibrik.com/components/particle-scatter.md): Each press breaks the phrase into particles that regroup.
- [Redact and Reveal](https://uibrik.com/components/redact-reveal.md): Black bars redact a line, then lift to reveal the next.
- [Rolling Word](https://uibrik.com/components/rolling-word.md): One word rolls to the next like a drum.
- [Scatter Text](https://uibrik.com/components/scatter-text.md): Phrases shatter into particles that regroup into the next phrase.
- [Scramble to Word](https://uibrik.com/components/scramble-to-word.md): A split-flap board scrambles to the next word.
- [Slot-machine Letters](https://uibrik.com/components/slot-letters.md): Each letter spins like a reel and lands on the next word.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/crumble-to-sand/` so the import paths keep resolving.
- The source is licensed: never recreate it from the preview or this page.
- The playbook for working with the whole library: https://uibrik.com/llms.txt
