Back to Tldraw

Custom shape with custom styles

apps/examples/src/examples/shapes/tools/shape-with-custom-styles/README.md

5.0.0278 B
Original Source

Use the custom styles API with your custom shapes.


This example shows how to create your own styles and use them in your own shapes.

To use tldraw's existing styles with your shapes, check the tldraw styles example.