Back to Tldraw

Custom shape and tool

apps/examples/src/examples/shapes/tools/custom-config/README.md

5.0.0239 B
Original Source

A custom shape and tool.


This example shows how to define a custom shape, as well as a custom tool that can be used to create that shape.

In this case, the card tool (select ⚫️ in the toolbar) can be used to create a card shape.