A picture cut into tiles that flip to a second picture in a ripple from wherever you click.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| front | ReactNode | Content shown on the front side of the tiles. | |
| back | ReactNode | Content shown on the back side of the tiles. | |
| cols | number | 6 | Number of tile columns. |
| rows | number | 4 | Number of tile rows. |
| width | number | 360 | Total width in px. |
| height | number | 240 | Total height in px. |
| stagger | number | 0.06 | Ripple speed: seconds of delay per tile of distance. |
| className | string | Extra classes added to the outer element. |