Back to Tldraw

Create an image shape

apps/examples/src/examples/editor-api/local-images/README.md

5.1.1241 B
Original Source

Create an image shape using a local asset.


This example shows how to use local images in the built-in ImageShape shape. You must first create an asset that holds the source of the image, then create a shape that references the asset.