A table of glazed pots that break under the hand into shards cut from their own pixels, then are pulled home by gold lacquer drawn along the fracture lines.
Use it for a repair, craft or restoration story. Needs your own image (required) and geometry tied to the bundled kiln photograph, so regenerate it for your own photo; onMendedChange reports the count and tagText sets the tag on a broken pot.
When not to use
Too much for dense data screens, forms or long text, and not usable with an arbitrary photo without regenerated geometry. For a calm hero use a plain still photograph.
Use it for a repair, craft or restoration story; the pots, plate and masks are bound to the bundled kiln photograph, so pass that image, or regenerate the geometry for your own photo. Effects are visual
pieces rather than controls: they do not replace the Interface components in dashboards and forms.
The effect needs your image through its image prop (see the table below). Use a JPEG or WebP of at
least 1600 px on the long side, under 200 KB (400 KB at full screen); host it on your own origin or
send CORS headers, because the browser blocks cross-origin textures. The demo images stay on this
site and are not installed.
The canvas is decorative and aria-hidden; put the piece's information in your own copy.
The effect never takes focus. On touch screens an automatic hand breaks and mends six pieces of the table; a finger takes over at once, a tap on a mended piece breaks it again, and vertical scrolling stays with the page.
Two pots already mended in gold, and a touch mends a pot at once with no shards in flight. The Mended hooks read usePrefersReducedMotion, so the MotionKitProvider setting applies too.