Using custom styles
Using the custom styles API with your custom shapes.
In the Using tldraw styles example, we showed how to use tldraw's default styles in your own shapes. This example shows how to create your own styles and use them in your own shapes.