# Flipboard/react-canvas

High performance <canvas> rendering for React components

Repository: https://github.com/Flipboard/react-canvas
Canonical: https://ross.abutalabs.com/products/react-canvas
Language: JavaScript
License: BSD-3-Clause
License Family: permissive
Last push: 2022-09-27T06:00:42+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4227, "days_push": 1436, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13198, forks 911 (observed 2026-08-28T04:11:02.508722+00:00)

## What it is
A React library that renders React components to HTML5 <canvas> instead of the DOM, using hardware-accelerated canvas for smooth mobile web app performance. It provides components like Surface, Layer, Group, Text, Image, Gradient, and ListView for building application UIs.

## Use cases
- build high-performance mobile web apps with smooth scrolling
- render React UI to canvas instead of DOM
- avoid slow DOM rendering on mobile devices
- create fast touch-scrolling lists on mobile web
- efficiently render multi-line truncated text
- optimize rendering of long lists with cached drawing

## When to choose
- you're building a mobile web app where DOM performance is a bottleneck
- you need smooth 60fps scrolling and animations on mobile browsers
- you want React component ergonomics with canvas rendering
- you need efficient multi-line text truncation that's expensive in DOM

## When to avoid
- you're building a standard desktop web app where DOM is fast enough
- you need accessibility features like screen readers or text selection
- you need SEO or server-side rendering of content
- you're building data visualizations or games (other canvas libraries fit better)
- you need a library with active development and modern React support

## Facets
- artifact type: library
- maturity: maintenance
- function: frontend-framework, ui-components, animation, graphics
- domain: frontend, web-development, mobile-development, graphics
- platform: browser
- tags: react, canvas-rendering, mobile-web, performance, hardware-acceleration, javascript, nodejs

## Member repositories
- Flipboard/react-canvas (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:02.508722+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:27.074577+00:00, confidence not recorded.
  - readme: https://github.com/Flipboard/react-canvas (fetched 2026-08-28T04:11:02.508722+00:00, sha d7d9c71368ed)
  - registry_npm: https://registry.npmjs.org/react-canvas (fetched 2026-08-29T08:09:02.474769+00:00, sha 2898b5dd7315)
- Data as of 2026-08-30T08:39:29.467469+00:00.
