Skip to content

Library of copy/paste ready snippets for tldraw: elements, fragments and building blocks.

License

Notifications You must be signed in to change notification settings

NicoDeGiacomo/tldraw-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tldraw Snippets Library

Copy/paste-ready diagram components for tldraw — the infinite canvas whiteboard. Build UML diagrams, architecture diagrams, and flowcharts faster by reusing pre-made elements.

Contributions Welcome GitHub Stars

tldraw Snippets Library Banner

✨ Features

  • Zero setup — Just copy and paste, no plugins or extensions needed
  • Growing library — UML, architecture, flowchart elements and more
  • Community-driven — Contribute your own diagram components

🚀 How to Use

  1. Browse the snippet categories below
  2. Expand the "Copy/paste snippet" section under any element
  3. Copy the HTML code block
  4. Paste directly into tldraw.com (Ctrl/Cmd + V)

The element appears on your canvas instantly — ready to use, resize, and customize!

📚 Browse Categories

Category Elements Description
Robustness Diagram Boundary, Controller, Entity, Actor, Use Case OOAD robustness analysis elements
Class Diagram Class UML class diagram elements
Infrastructure Queue, Database, Server, Device, Load Balancer Infrastructure diagram components
Icons GitHub, Docker, Lambda, Redis, Kubernetes, RabbitMQ, Nginx, PostgreSQL Brand and technology icons
Misc User, Cancel, Magnifying Glass, Bookmark, Tag, Computer, Envelope General-purpose diagram elements

📋 Full Element Catalog

Robustness Diagram Elements

Boundary · Controller · Entity · Actor · Use Case

Class Diagram Elements

Class

Infrastructure Diagram Elements

Queue · Database · Server · Device · Load Balancer

Icons

GitHub · Docker · Lambda · Redis · Kubernetes · RabbitMQ · Nginx · PostgreSQL

Miscellaneous Elements

User · Cancel · Magnifying Glass · Bookmark · Tag · Computer · Envelope

🎯 Use Cases

This snippet library is perfect for:

  • Software architects designing system diagrams
  • Developers documenting microservices and APIs
  • Students learning UML and OOAD concepts
  • Teams collaborating on whiteboard diagrams
  • Anyone who uses tldraw for diagramming

💡 Why tldraw Snippets?

Creating consistent diagram elements from scratch is time-consuming. This library provides:

Without Snippets With Snippets
Draw shapes manually Copy → Paste → Done
Inconsistent styling Uniform, professional look
Recreate common elements Reuse proven components
Start from zero Build on community work

🤝 Contributing

We welcome contributions! Add your own diagram elements:

  1. Create your element in tldraw
  2. Export the snippet and preview images (light & dark versions)
  3. Submit a pull request

See the contribution guidelines for the complete process.

❓ FAQ

What is tldraw?

tldraw is a free, open-source infinite canvas whiteboard for sketching, diagramming, and visual collaboration.

Do snippets work with self-hosted tldraw?

Yes! Snippets are compatible with any tldraw instance using the same data format.

Can I modify snippets after pasting?

Absolutely. Once pasted, elements behave like any other tldraw shape — resize, recolor, reposition freely.

How do I create my own snippets?

See our contribution guide for step-by-step instructions on creating and sharing snippets.

🏷️ Keywords

tldraw · tldraw snippets · tldraw templates · tldraw components · diagram snippets · UML snippets · infrastructure diagram · robustness diagram · whiteboard templates · copy paste diagrams · tldraw library · diagram components · flowchart elements · system design diagrams


Disclaimer: This project is not affiliated with or endorsed by tldraw. All trademarks belong to their respective owners.

📄 License

MIT License — feel free to use these snippets in personal and commercial projects.

About

Library of copy/paste ready snippets for tldraw: elements, fragments and building blocks.

Topics

Resources

License

Contributing

Stars

Watchers

Forks