The definitive source of the best
JavaScript libraries, frameworks, and plugins.

  • ×

    JavaScript Vector Library
    Filed under  › 

    • 🔾78%Overall
    • 11,240
    • 31.7 days
    • 🕩1674
    • 👥20

    Raphaël: Cross-browser vector graphics the easy way

    Visit the library website for more information:

    Quickstart guide

    You need to have NPM installed to build the library.

    • git clone
    • yarn install --frozen-lockfile
    • yarn build-all

    To run tests you need to run npx bower install open dev/test/index.html in your browser, there's no automated way right now.



    All files are UMD compliant.

    You can use:

    • raphael.min.js (includes eve and it's minified)
    • raphael.js (includes eve and it's not minified)
    • (doesn't include eve it's not minified)
    • (doesn't include eve it's minified)

    Where to start

    Check Raphael-boilerplate to see examples of loading.

    Raphael can be loaded in a script tag or with AMD:

    define([ "path/to/raphael" ], function( Raphael ) {
      console.log( Raphael );


    Versions will be released as we gather and test new PRs. As there are a lot of browsers being supported it might take a while to accept a PR, we will use the feedback from other users too.

    You can use the raphaelTest.html to try things, you need to start a server in the root dir to start testing things there. Something like running python -m SimpleHTTPServer in the raphael directory and hitting http://localhost:8000/dev/raphaelTest.html with the browser. You should run npm run start before this can work.



    Copyright © 2008-2013 Dmitry Baranovskiy (

    Copyright © 2008-2013 Sencha Labs (

    Licensed under the MIT ( license.

    Show All