Tile flip

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.

TileFlip3D props

PropTypeDefaultDescription
frontReactNodeContent shown on the front side of the tiles.
backReactNodeContent shown on the back side of the tiles.
colsnumber6Number of tile columns.
rowsnumber4Number of tile rows.
widthnumber360Total width in px.
heightnumber240Total height in px.
staggernumber0.06Ripple speed: seconds of delay per tile of distance.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks