JavaScript SVG

Open-source JavaScript projects categorized as SVG

Top 23 JavaScript SVG Projects

  • three.js

    JavaScript 3D Library.

  • Project mention: Space, Rockets and GPU particles | dev.to | 2024-05-12

    We also used three.js to setup a scene and manage resources.

  • anime.js

    JavaScript animation engine

  • Project mention: Tools and Libraries that make my my life easier as a solo developer 🔥 | dev.to | 2024-05-26

    Unique animation library | Anime.js https://animejs.com/

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • sharp

    High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.

  • Project mention: How to resize images for Open Graph and Twitter using sharp | dev.to | 2024-05-08

    When sharing content on social media platforms, it's essential to have visually appealing images that are properly sized. Let’s explore how we could automatically resize images for Open Graph and Twitter card previews. We’ll be using sharp - a powerful and fast tool that powers the Image component from Next.js.

  • feather

    Simply beautiful open-source icons

  • Project mention: 10+ Best Open Source Icon Libraries in 2024 | dev.to | 2024-05-17

    Website: https://feathericons.com/

  • shields

    Concise, consistent, and legible badges in SVG and raster format

  • Project mention: GitHub profile of the day: Juan Camilo Sánchez Urrego | dev.to | 2024-04-19

    He has many Shields badges

  • svgo

    ⚙️ Node.js tool for optimizing SVG files

  • Project mention: SVG Viewer – View, edit, and optimize SVGs | news.ycombinator.com | 2024-04-27

    Surprised this is being discussed here. It's worth noting that SVGOMG runs SVGO 3.0.0 while the latest version is 3.2.0 (so run SVGO locally for the latest optimizations), but I understand that once https://github.com/svg/svgo/pull/1943 is merged Jake will release an updated version of SVGOMG.

  • simple-icons

    SVG icons for popular brands

  • Project mention: oImprove your README.md profile with these amazing badges 🚀 | dev.to | 2024-02-06

    It's only possible because of Shields Project, Simple Icons & beloved all Contributors. We do respect & love our all contributors.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • tabler-icons

    A set of over 5200 free MIT-licensed high-quality SVG icons for you to use in your web projects.

  • Project mention: 10+ Best Open Source Icon Libraries in 2024 | dev.to | 2024-05-17
  • Frappe Charts

    Simple, responsive, modern SVG Charts with zero dependencies (by frappe)

  • Project mention: Learn SVG with 25 examples – How to code images in HTML | news.ycombinator.com | 2023-12-07

    As a frontend dev who also works in UX and graphics from time to time, I find it helpful to be able to do both, looking at SVGs as both a vector graphics format and a human-readable XML. IME the workflow depends more on whether any SVG is meant to be illustrative (like art) or quantitative (like charts) or interactive and animated/mutable (like a game).

    For something like this bell example (https://svg-tutorial.com/svg/bell), you can certainly hand-code it if you're really math-inclined and can estimate the formulas of curves just by looking at them, but for us mere mortals, it's easier to just draw out the curves in a graphics app then export as an SVG. And for things like the ringer (is that what you call it? the orange ball thing at the bottom of the bell that strikes the bell to make the sound), being able to visually draw it on a canvas, change its size, drag it around and play with its colors and dimensions, etc. is really helpful. Figma is fine for simpler graphics, but it's really more of a UX tool than a graphic design tool, and Illustrator is a lot more powerful. Inkscape is a FOSS option.

    In other circumstances, though, manipulating the SVG XML directly is also very helpful. Let's say you want to programatically generate a bar chart. If you have a big dataset, it's going to take a designer forever to manually plot them and change them every time the data changes. But it's easy for a dev to use Javascript (or any language) to draw each rectangle, programmatically adjust their heights and colors based on the data, add tooltips, etc. And that way you can dynamically update them in real-time whenever the data changes (like if the user selects a different date range, or new events come in). A lot of this is made easier by libs like https://frappe.io/charts or https://apexcharts.com. But before you take that approach, you should know that for complex charts, sometimes Canvas rendering (or just generating graphics in the backend) can be more performant than SVG.

    SVGs can also be animated and interactive, not just with CSS transitions but by directly manipulating the XML geometries, like http://snapsvg.io/demos/ or https://www.svgator.com/ or https://codepen.io/collection/XpwMLO/. This is fine for product pages and such, but for really graphics-intensive apps (full games) it's probably slower than other rendering pipelines. (Not my specialty, won't speculate too much.)

    TLDR Drawing them in a graphics app is usually easier for the designers, but the XML can be programmatically manipulated afterward to great effect.

  • SuperTinyIcons

    Under 1KB each! Super Tiny Icons are miniscule SVG versions of your favourite website and app logos

  • Project mention: Super Tiny Icons (< 1kb Each) | news.ycombinator.com | 2023-10-30
  • apexcharts.js

    📊 Interactive JavaScript Charts built on SVG

  • Project mention: FLaNK-AIM Weekly 06 May 2024 | dev.to | 2024-05-06
  • Snap.svg

    The JavaScript library for modern SVG graphics.

  • DOMPurify

    DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:

  • Project mention: JavaScript Libraries for Implementing Trendy Technologies in Web Apps in 2024 | dev.to | 2024-04-09

    DOMPurify

  • svg.js

    The lightweight library for manipulating and animating SVG

  • vega

    A visualization grammar.

  • Project mention: Show HN: Minard – Generate beautiful charts with natural language | news.ycombinator.com | 2024-04-18

    Hi HN – Excited to share a beta for Minard, a new data visualization toolkit we've been working on that lets you generate publication-quality charts with simple natural language (throw away your matplotlib docs and rejoice!).

    Upload or import CSVs, Excel, and JSON, give it a spin, and please let us know what you think! (Long format data works best for now)

    For those curious, the stack is a simple Django app with HTMX/Alpine and all of the charts are specified and rendered as Vega (https://vega.github.io/vega/). Lots of LLM function calling under the hood as well.

  • zdog

    Flat, round, designer-friendly pseudo-3D engine for canvas & SVG

  • dom-to-image

    Generates an image from a DOM node using HTML5 canvas

  • drawdb

    Free, simple, and intuitive online database design tool and SQL generator.

  • Project mention: Show HN: Open source database diagram editor | news.ycombinator.com | 2024-04-06
  • c3

    :bar_chart: A D3-based reusable chart library

  • lucide

    Beautiful & consistent icon toolkit made by the community. Open-source project and a fork of Feather Icons.

  • Project mention: 10+ Best Open Source Icon Libraries in 2024 | dev.to | 2024-05-17

    Website: https://lucide.dev/

  • two.js

    A renderer agnostic two-dimensional drawing api for the web.

  • Project mention: Show HN: A JavaScript library for data visualization in both SVG and Canvas | news.ycombinator.com | 2024-04-11

    > DOM-like event bubbling

    This does sound very interesting. I started playing with https://two.js.org/ for a browser game but the event system proved a challange. The typescript focus also looks promising. Will give it a try.

  • octicons

    A scalable set of icons handcrafted with <3 by GitHub

  • Project mention: GitHub Profile Native Web Components | dev.to | 2023-10-11

    primer/octicons is the source for all icons used on GitHub.

  • jsplumb

    Visual connectivity for webapps

  • Project mention: How to make beautiful flowchart with Angular ? | /r/Frontend | 2023-07-27

    ❔jsPlumb - Seems like JointJS

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript SVG related posts

  • 10+ Best Open Source Icon Libraries in 2024

    9 projects | dev.to | 17 May 2024
  • Top 10 JavaScript Animation Libraries

    13 projects | dev.to | 9 May 2024
  • SVG Viewer – View, edit, and optimize SVGs

    4 projects | news.ycombinator.com | 27 Apr 2024
  • Show HN: A JavaScript library for data visualization in both SVG and Canvas

    4 projects | news.ycombinator.com | 11 Apr 2024
  • Ask HN: Tips to get started on my own server

    19 projects | news.ycombinator.com | 25 Mar 2024
  • Incredible JavaScript Animation Libraries

    6 projects | dev.to | 24 Mar 2024
  • Finally! Colorize ChatGPT Output with AImarkdown Script

    2 projects | dev.to | 20 Mar 2024
  • A note from our sponsor - SurveyJS
    surveyjs.io | 26 May 2024
    With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js. Learn more →

Index

What are some of the best open-source SVG projects in JavaScript? This list will help you:

Project Stars
1 three.js 99,408
2 anime.js 48,867
3 sharp 28,115
4 feather 24,526
5 shields 22,706
6 svgo 20,430
7 simple-icons 18,286
8 tabler-icons 17,408
9 Frappe Charts 14,902
10 SuperTinyIcons 14,424
11 apexcharts.js 13,917
12 Snap.svg 13,840
13 DOMPurify 12,993
14 svg.js 10,888
15 vega 10,881
16 zdog 10,250
17 dom-to-image 10,130
18 drawdb 11,387
19 c3 9,322
20 lucide 8,938
21 two.js 8,202
22 octicons 8,155
23 jsplumb 7,710

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com