excalidraw_karat
TypeScript icon, indicating that this package has built-in type declarations

0.0.27 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.27461latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.27461
0.0.27-alpha-400
0.0.27-alpha-390
0.0.27-alpha-380
0.0.27-alpha-370
0.0.27-alpha-360
0.0.27-alpha-350
0.0.27-alpha-340
0.0.27-alpha-330
0.0.27-alpha-320
0.0.27-alpha-310
0.0.27-alpha-300
0.0.27-alpha-290
0.0.27-alpha-280
0.0.27-alpha-270
0.0.27-alpha-260
0.0.27-alpha-250
0.0.27-alpha-240
0.0.27-alpha-230
0.0.27-alpha-220
0.0.27-alpha-210
0.0.27-alpha-200
0.0.27-alpha-190
0.0.27-alpha-180
0.0.27-alpha-170
0.0.27-alpha-160
0.0.27-alpha-150
0.0.27-alpha-140
0.0.27-alpha-130
0.0.27-alpha-120
0.0.27-alpha-110
0.0.27-alpha-100
0.0.27-alpha-90
0.0.27-alpha-80
0.0.27-alpha-70
0.0.27-alpha-60
0.0.27-alpha-50
0.0.27-alpha-40
0.0.27-alpha-30
0.0.27-alpha-20
0.0.27-alpha-10
0.0.260
0.0.253
0.0.240
0.0.230
0.0.220
0.0.210
0.0.201
0.0.190
0.0.180
0.0.170
0.0.160
0.0.150
0.0.140
0.0.120
0.0.10-alpha-20
0.0.110
0.0.4-alpha-10
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i excalidraw_karat

Weekly Downloads

465

Version

0.0.27

License

MIT

Unpacked Size

106 MB

Total Files

1561

Last publish

Collaborators

  • aidantorrence
  • sebastiankarat
  • dmfigueroa
  • emmanuelkarat