10 Best Vanilla JavaScript Canvas Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

chart.js

Simple HTML5 Charts using the <canvas> tag

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.6/ 5
462
Top Feedback
40Easy to Use
31Performant
24Great Documentation
GitHub Stars
55K
Weekly Downloads
2M
Last Commit
2d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
htm

html2canvas

Screenshots with JavaScript

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.4/ 5
53
Top Feedback
2Buggy
GitHub Stars
25K
Weekly Downloads
803K
Last Commit
2mos ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

fabric

Javascript Canvas Library, SVG-to-Canvas (& canvas-to-SVG) Parser

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.7/ 5
27
Top Feedback
8Great Documentation
8Easy to Use
8Highly Customizable
GitHub Stars
20K
Weekly Downloads
96K
Last Commit
15d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
sp

signature_pad

HTML5 canvas based smooth signature drawing

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
7K
Weekly Downloads
200K
Last Commit
1mo ago
Bundle Size (min+gzip)
3.04KB
Tree-Shakeable

konva

Konva.js is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.0/ 5
3
Top Feedback
1Easy to Use
1Performant
1Highly Customizable
GitHub Stars
7K
Weekly Downloads
94K
Last Commit
12d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

pikaso

Seamless and headless HTML5 Canvas library

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
14
Weekly Downloads
177
Last Commit
4d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
dti

dom-to-image

Generates an image from a DOM node using HTML5 canvas

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
2
Top Feedback
2Great Documentation
1Easy to Use
1Performant
GitHub Stars
8K
Weekly Downloads
88K
Last Commit
4yrs ago
Bundle Size (min+gzip)
3.19KB
Not Tree-Shakeable
cj

ccapture.js

A library to capture canvas-based animations at a fixed framerate

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
3K
Weekly Downloads
213
Last Commit
1yr ago
Bundle Size (min+gzip)
10.9KB
Not Tree-Shakeable

canvg

Javascript SVG parser and renderer on Canvas

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
3K
Weekly Downloads
547K
Last Commit
6d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
cc

canvas-constructor

An ES6 utility for canvas with built-in functions and chained methods.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
89
Weekly Downloads
10K
Last Commit
6d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
xds

x-data-spreadsheet

A web-based JavaScript(canvas) spreadsheet

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
3Poor Documentation
GitHub Stars
12K
Weekly Downloads
3K
Last Commit
21d ago
Bundle Size (min+gzip)
4.03KB
Not Tree-Shakeable
cha

chart

Event-based Charting Canvas API

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
1Performant
GitHub Stars
5
Weekly Downloads
1K
Last Commit
9yrs ago
Bundle Size (min+gzip)
9.64KB
Not Tree-Shakeable