Tldraw/apps/examples/public
Taha e543797b81
Add custom tool examples (#3064)
Two examples:

One in the UI section that shows how to add a tool to the toolbar along
with an icon

One in the shapes and tools section that shows a simple sticker tool
with no child states

I'll go over the copy again before it's merged, but don't want to spend
too long on it right now in case the feeling is that these should both
be a single example.

Next: The [minimal
example](https://tldraw.dev/examples/editor-api/only-editor) is
currently the best example we have of a tool with child states. I think
this should be adapted and copied/moved over to the custom shapes and
tools category.

closes tld-2266

- [x] `documentation` — Changes to the documentation only[^2]

### Release Notes

- Adds a simple custom tool example
2024-03-05 09:27:53 +00:00
..
icons Add button to Examples to request an example (#2597) 2024-01-26 14:44:19 +00:00
ComicMono.woff Add custom static assets example, extract preloadFont (#2932) 2024-02-23 13:58:06 +00:00
custom-arrow-icon.svg Add custom static assets example, extract preloadFont (#2932) 2024-02-23 13:58:06 +00:00
heart-icon.svg Add custom tool examples (#3064) 2024-03-05 09:27:53 +00:00
speech-bubble.svg add speech bubble example (#2362) 2023-12-20 14:40:23 +00:00
tldraw.png Adding an image shape from a file the public folder (#2370) 2023-12-22 13:26:07 +00:00
tldraw_dev_dark.png Examples tweaks (#2681) 2024-02-02 17:36:30 +00:00
tldraw_dev_dark.svg Examples tweaks (#2681) 2024-02-02 17:36:30 +00:00
tldraw_dev_light.png Examples tweaks (#2681) 2024-02-02 17:36:30 +00:00
tldraw_dev_light.svg Examples tweaks (#2681) 2024-02-02 17:36:30 +00:00
tool-screenshot.svg Custom Tools DX + screenshot example (#2198) 2023-11-15 18:06:02 +00:00