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.
success/packages/excalidraw
Excalidraw Bot b635b10b59
chore: Update translations from Crowdin (#7176)
* New translations en.json (Azerbaijani)

* New translations en.json (Hindi)

* New translations en.json (Burmese)

* New translations en.json (Chinese Traditional, Hong Kong)

* New translations en.json (Sinhala)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Occitan)

* New translations en.json (Kabyle)

* New translations en.json (Karakalpak)

* Auto commit: Calculate translation coverage

* New translations en.json (Chinese Simplified)

* Auto commit: Calculate translation coverage

* New translations en.json (Marathi)

* New translations en.json (Hindi)

* Auto commit: Calculate translation coverage

* New translations en.json (Marathi)

* New translations en.json (Hindi)

* Auto commit: Calculate translation coverage

* New translations en.json (German)

* New translations en.json (Slovenian)

* Auto commit: Calculate translation coverage

* New translations en.json (Korean)

* Auto commit: Calculate translation coverage

* New translations en.json (Chinese Traditional)

* Auto commit: Calculate translation coverage

* New translations en.json (Russian)

* Auto commit: Calculate translation coverage

* New translations en.json (Romanian)

* New translations en.json (Spanish)

* Auto commit: Calculate translation coverage

* New translations en.json (Arabic)

* New translations en.json (Thai)

* New translations en.json (Romanian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Bulgarian)

* New translations en.json (Catalan)

* New translations en.json (Czech)

* New translations en.json (Danish)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Basque)

* New translations en.json (Finnish)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Kurdish)

* New translations en.json (Lithuanian)

* New translations en.json (Dutch)

* New translations en.json (Punjabi)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Slovak)

* New translations en.json (Slovenian)

* New translations en.json (Swedish)

* New translations en.json (Turkish)

* New translations en.json (Ukrainian)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Vietnamese)

* New translations en.json (Galician)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Indonesian)

* New translations en.json (Persian)

* New translations en.json (Khmer)

* New translations en.json (Tamil)

* New translations en.json (Bengali)

* New translations en.json (Marathi)

* New translations en.json (Norwegian Nynorsk)

* New translations en.json (Kazakh)

* New translations en.json (Latvian)

* New translations en.json (Azerbaijani)

* New translations en.json (Hindi)

* New translations en.json (Burmese)

* New translations en.json (Chinese Traditional, Hong Kong)

* New translations en.json (Sinhala)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Occitan)

* New translations en.json (Kabyle)

* New translations en.json (Karakalpak)

* Auto commit: Calculate translation coverage

* New translations en.json (Slovenian)

* Auto commit: Calculate translation coverage

* New translations en.json (Chinese Simplified)

* Auto commit: Calculate translation coverage

* New translations en.json (German)

* Auto commit: Calculate translation coverage

* New translations en.json (Russian)

* Auto commit: Calculate translation coverage

* New translations en.json (Polish)

* New translations en.json (Korean)

* Auto commit: Calculate translation coverage

* New translations en.json (Swedish)

* Auto commit: Calculate translation coverage

* New translations en.json (Swedish)

* Auto commit: Calculate translation coverage

* New translations en.json (French)

* Auto commit: Calculate translation coverage

* New translations en.json (Romanian)

* Auto commit: Calculate translation coverage

* New translations en.json (Chinese Simplified)

* New translations en.json (Catalan)

* Auto commit: Calculate translation coverage

* New translations en.json (Basque)

* Auto commit: Calculate translation coverage

* New translations en.json (Chinese Traditional)

* Auto commit: Calculate translation coverage

* New translations en.json (Spanish)

* Auto commit: Calculate translation coverage

* New translations en.json (Arabic)

* New translations en.json (Thai)

* New translations en.json (Romanian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Bulgarian)

* New translations en.json (Catalan)

* New translations en.json (Czech)

* New translations en.json (Danish)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Basque)

* New translations en.json (Finnish)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Kurdish)

* New translations en.json (Lithuanian)

* New translations en.json (Dutch)

* New translations en.json (Punjabi)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Slovak)

* New translations en.json (Slovenian)

* New translations en.json (Swedish)

* New translations en.json (Turkish)

* New translations en.json (Ukrainian)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Vietnamese)

* New translations en.json (Galician)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Indonesian)

* New translations en.json (Persian)

* New translations en.json (Khmer)

* New translations en.json (Tamil)

* New translations en.json (Bengali)

* New translations en.json (Marathi)

* New translations en.json (Norwegian Nynorsk)

* New translations en.json (Kazakh)

* New translations en.json (Latvian)

* New translations en.json (Azerbaijani)

* New translations en.json (Hindi)

* New translations en.json (Burmese)

* New translations en.json (Chinese Traditional, Hong Kong)

* New translations en.json (Sinhala)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Occitan)

* New translations en.json (Kabyle)

* New translations en.json (Karakalpak)

* Auto commit: Calculate translation coverage

* New translations en.json (Romanian)

* New translations en.json (Spanish)

* Auto commit: Calculate translation coverage

* New translations en.json (Slovenian)

* Auto commit: Calculate translation coverage

* New translations en.json (Chinese Traditional)

* Auto commit: Calculate translation coverage

* New translations en.json (Swedish)

* Auto commit: Calculate translation coverage

* New translations en.json (French)

* Auto commit: Calculate translation coverage

* New translations en.json (German)

* Auto commit: Calculate translation coverage

* New translations en.json (Danish)

* Auto commit: Calculate translation coverage

* New translations en.json (Italian)

* Auto commit: Calculate translation coverage

* New translations en.json (Chinese Simplified)

* Auto commit: Calculate translation coverage

* New translations en.json (Korean)

* Auto commit: Calculate translation coverage

* New translations en.json (Polish)

* New translations en.json (Slovak)

* Auto commit: Calculate translation coverage

* New translations en.json (Karakalpak)

* Auto commit: Calculate translation coverage

* New translations en.json (Romanian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (Bulgarian)

* New translations en.json (Catalan)

* New translations en.json (Czech)

* New translations en.json (Danish)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Basque)

* New translations en.json (Finnish)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Kurdish)

* New translations en.json (Lithuanian)

* New translations en.json (Dutch)

* New translations en.json (Punjabi)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Slovak)

* New translations en.json (Slovenian)

* New translations en.json (Swedish)

* New translations en.json (Turkish)

* New translations en.json (Ukrainian)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Vietnamese)

* New translations en.json (Galician)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Indonesian)

* New translations en.json (Persian)

* New translations en.json (Khmer)

* New translations en.json (Tamil)

* New translations en.json (Bengali)

* New translations en.json (Marathi)

* New translations en.json (Thai)

* New translations en.json (Norwegian Nynorsk)

* New translations en.json (Kazakh)

* New translations en.json (Latvian)

* New translations en.json (Azerbaijani)

* New translations en.json (Hindi)

* New translations en.json (Burmese)

* New translations en.json (Chinese Traditional, Hong Kong)

* New translations en.json (Sinhala)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Occitan)

* New translations en.json (Kabyle)

* New translations en.json (Karakalpak)

* New translations en.json (Swedish)

* New translations en.json (Romanian)

* remove packages

---------

Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
1 year ago
..
actions build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
assets build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
components build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
context build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
css build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
data build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
element build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
example build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
hooks build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
locales chore: Update translations from Crowdin (#7176) 1 year ago
renderer build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
scene build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
tests build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
.gitignore build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
.size-limit.json build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
CHANGELOG.md build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
README.md build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
align.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
analytics.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
appState.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
charts.test.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
charts.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
clients.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
clipboard.test.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
clipboard.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
colors.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
constants.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
css.d.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
cursor.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
distribute.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
emitter.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
entry.js build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
env.js build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
errors.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
frame.test.tsx build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
frame.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
ga.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
gadirections.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
galines.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
gapoints.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
gatransforms.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
gesture.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
global.d.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
groups.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
history.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
i18n.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
index-node.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
index.tsx build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
jotai.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
keys.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
main.js build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
math.test.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
math.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
package.json build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
points.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
polyfill.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
publicPath.js build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
pwacompat.d.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
random.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
react-app-env.d.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
shapes.tsx build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
snapping.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
tsconfig-types.json build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
types.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
utility-types.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
utils.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
vercel.json build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
vite-env.d.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
webpack.dev-server.config.js build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
webpack.dev.config.js build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
webpack.preact.config.js build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
webpack.prod.config.js build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
zindex.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago

README.md

Excalidraw

Excalidraw is exported as a component to directly embed in your projects.

Installation

You can use npm

npm install react react-dom @excalidraw/excalidraw

or via yarn

yarn add react react-dom @excalidraw/excalidraw

After installation you will see a folder excalidraw-assets and excalidraw-assets-dev in dist directory which contains the assets needed for this app in prod and dev mode respectively.

Move the folder excalidraw-assets and excalidraw-assets-dev to the path where your assets are served.

By default it will try to load the files from https://unpkg.com/@excalidraw/excalidraw/dist/

If you want to load assets from a different path you can set a variable window.EXCALIDRAW_ASSET_PATH depending on environment (for example if you have different URL's for dev and prod) to the url from where you want to load the assets.

Note

If you don't want to wait for the next stable release and try out the unreleased changes you can use @excalidraw/excalidraw@next.

Dimensions of Excalidraw

Excalidraw takes 100% of width and height of the containing block so make sure the container in which you render Excalidraw has non zero dimensions.

Demo

Try here.

Integration

Head over to the docs

API

Head over to the docs

Contributing

Head over to the docs