qmetrics.net

Konva

HTML5 Canvas 2D scene graph for the web

Konva screenshot

Konva is a JavaScript canvas framework for interactive 2D graphics in the browser. Build editors, whiteboards, diagrams, and maps with events, drag, and export.

Overview

Konva is an open-source 2D canvas framework centered on a scene graph of stages, layers, groups, and shapes. Each node can receive pointer events, be dragged, transformed, animated, cached, filtered, and exported without hand-writing low-level drawing code for every interaction.

Typical uses include design editors, whiteboards, diagrams, image annotation, floor plans, seat maps, and games or layout tools named in demos and showcase lists. Pointer and touch share one event model; tweens animate properties over time, and transformers add resize and rotate handles.

Load Konva from npm, a CDN script tag, TypeScript projects, bundlers, Node.js with a canvas backend, or Web Workers using OffscreenCanvas. Framework-specific packages exist for React, Vue, Svelte, and Angular. Server-side rendering omits DOM containers; DOM events require a browser environment.

The library targets modern browsers with ES2018 support on mobile and desktop. MIT licensing applies without a commercial key, though maintainers also offer a separate Polotno editor SDK built on Konva for full product-style design tools.

Key features

  • Stage and layer scene graph
  • Drag, transform, and events
  • Animations and tweens
  • Image filters and caching
  • Export to canvas, Blob, or data URL
  • React, Vue, Svelte, Angular bindings
  • Node.js and Web Worker rendering
  • Transformer resize and rotate handles

Use cases

  • In-browser design editors
  • Collaborative whiteboards
  • Diagram and node editors
  • Image cropping and annotation UIs

Tags

Similar software

Manim

Programmatic animation engine for explanatory math videos

ManimGL drives precise programmatic animations for explanatory math videos. The 3Blue1Brown variant installs via the manimgl package

★ 97k⟳ 2 months agoMIT
Frameworks & PlatformsDesktop/CLI app

ImGui

Minimal immediate-mode C++ graphical user interface library

Dear ImGui is a portable C++ GUI library that emits draw batches for your renderer. It targets debug tools, editors, and in-engine tooling rather than consumer-facing apps.

★ 77.3k⟳ yesterdayMIT
Frameworks & PlatformsDesktop/CLI app

Anime.js

JavaScript library for web animations

Anime.js animates CSS properties, SVG, DOM attributes, and JavaScript objects through a modular ES module API for browsers and npm installs.

★ 75.1k⟳ 3 months agoMIT
Frameworks & PlatformsDesktop/CLI app

AdminLTE

Bootstrap 5 responsive admin dashboard UI template

AdminLTE is a responsive admin dashboard template on Bootstrap 5 with vanilla JavaScript, reusable components, and demo pages for back-office UIs.

★ 45.7k⟳ yesterdayMIT
Frameworks & PlatformsDesktop/CLI app

Chakra UI

Accessible modular React component system for web apps

Chakra UI is a React component system for building web applications and design systems. Components emphasize accessibility and work with modern React frameworks including Next.js.

★ 40.8k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

xyflow

Node-based UI libraries for React, Svelte, and Vue

xyflow maintains React Flow, Svelte Flow, and Vue Flow—libraries for building customizable node-based editors and interactive diagrams in those frameworks.

★ 39.2k⟳ 4 days agoMIT
Frameworks & PlatformsDesktop/CLI app