Virtual whiteboard for sketching hand-drawn like diagrams
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Aakansha Doshi 88ff32e9b3
fix: improve text wrapping in ellipse and alignment (#6172)
* fix: improve text wrapping in ellipse

* compute height when font properties updated

* fix alignment

* fix alignment when resizing

* fix

* ad padding

* always compute height when redrawing bounding box and refactor

* lint

* fix specs

* fix

* redraw text bounding box when pasted or refreshed

* fix

* Add specs

* fix

* restore on font load

* add comments
2 years ago
.codesandbox chore: update CodeSandbox links and add a config (#5624) 2 years ago
.github build: move release scripts to use release branch (#5958) 2 years ago
.husky build: temporarily disable pre-commit (#6132) 2 years ago
dev-docs docs: fix typo (#6252) 2 years ago
firebase-project fix: update `storage.rules` (#5020) 3 years ago
public fix: declare css variable for font in excalidraw so its available in host (#6160) 2 years ago
scripts fix: PWA not working after CRA@5 update (#6012) 2 years ago
src fix: improve text wrapping in ellipse and alignment (#6172) 2 years ago
.dockerignore build: stops ignoring .env files from docker context so env variables get set during react app build. (#5809) 2 years ago
.editorconfig add editorconfig (#1198) 5 years ago
.env.development fix: disable FAST_REFRESH to fix live reload (#5852) 2 years ago
.env.production feat: go-to-excalidrawplus button (#5202) 3 years ago
.eslintignore feat: image support (#4011) 3 years ago
.eslintrc.json chore: Update Typescript to 4.4.4 (#4188) 3 years ago
.gitattributes Add gitattributes (#2164) 4 years ago
.gitignore fix: set the dimensions of bound text correctly (#5710) 2 years ago
.lintstagedrc.js Keep errors, elements and comments consistent (#2340) 4 years ago
.npmrc Add npmrc to have pinned deps (#727) 5 years ago
.nvmrc Chore: Update .nvmrc to match package.json engines definition (#3148) 4 years ago
.prettierignore Change target branch of coverage and pretty print (#1850) 5 years ago
.watchmanconfig Don't reset cache while zooming using a gesture (#1103) 5 years ago
CHANGELOG.md support embedding scene data to PNG/SVG (#2219) 4 years ago
CONTRIBUTING.md docs: migrating dev docs to docusaurus :) (#6073) 2 years ago
Dockerfile fix: docker build architecture:linux/amd64 error occur on linux/arm64 instance (#6197) 2 years ago
LICENSE Add MIT License (#176) 5 years ago
README.md docs: Fix outdated link in README.md (#6263) 2 years ago
crowdin.yml Locale 5 years ago
docker-compose.yml chore: Update action versions and docker build (#3065) 4 years ago
package.json fix: make tunnels work in multi-instance scenarios (#6178) 2 years ago
tsconfig-types.json chore: bump typescript@4.5.2 (#4283) 3 years ago
tsconfig.json chore: bump typescript@4.5.2 (#4283) 3 years ago
vercel.json feat: redirect vscode.excalidraw.com to vscode marketplace (#5285) 3 years ago
yarn.lock fix: make tunnels work in multi-instance scenarios (#6178) 2 years ago

README.md

Excalidraw

Excalidraw Editor | Blog | Documentation | Excalidraw+

An open source virtual hand-drawn style whiteboard.
Collaborative and end-to-end encrypted.


Excalidraw is released under the MIT license. PRs welcome! Chat on Discord Follow Excalidraw on Twitter

Product showcase

Create beautiful hand-drawn like diagrams, wireframes, or whatever you like.

Features

The Excalidraw editor (npm package) supports:

  • 💯 Free & open-source.
  • 🎨 Infinite, canvas-based whiteboard.
  • ✍️ Hand-drawn like style.
  • 🌓 Dark mode.
  • 🏗️ Customizable.
  • 📷 Image support.
  • 😀 Shape libraries support.
  • 👅 Localization (i18n) support.
  • 🖼️ Export to PNG, SVG & clipboard.
  • 💾 Open format - export drawings as an .excalidraw json file.
  • ⚒️ Wide range of tools - rectangle, circle, diamond, arrow, line, free-draw, eraser...
  • ➡️ Arrow-binding & labeled arrows.
  • 🔙 Undo / Redo.
  • 🔍 Zoom and panning support.

Excalidraw.com

The app hosted at excalidraw.com is a minimal showcase of what you can build with Excalidraw. Its source code is part of this repository as well, and the app features:

  • 📡 PWA support (works offline).
  • 🤼 Real-time collaboration.
  • 🔒 End-to-end encryption.
  • 💾 Local-first support (autosaves to the browser).
  • 🔗 Shareable links (export to a readonly link you can share with others).

We'll be adding these features as drop-in plugins for the npm package in the future.

Quick start

Install the Excalidraw npm package:

npm install react react-dom @excalidraw/excalidraw

or via yarn

yarn add react react-dom @excalidraw/excalidraw

Don't forget to check out our Documentation!

Contributing

Integrations

Who's integrating Excalidraw

Google CloudMetaCodeSandboxObsidian ExcalidrawReplitSliteNotionHackerRank • and many others

Sponsors & support

If you like the project, you can become a sponsor at Open Collective or use Excalidraw+.

Thank you for supporting Excalidraw

Last but not least, we're thankful to these companies for offering their services for free:

Vercel Sentry Crowdin