0.2.0 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
MIT - MIT LicenseGrida is an open-source canvas editor & rendering engine (Rust + Skia + WASM) — plus Database/CMS and Forms.
Canvas demo • Refig • Downloads • Website • Docs • Contributing • Slack Community
Grida is an open-source 2D graphics engine and editor built for performance and interoperability — with a stable on-disk document format.
.grida on FlatBuffers (format/grida.fbs) for large documents and schema evolution..fig / REST JSON) and work with SVG.If Grida is useful, consider starring this repo — it helps a lot.
Grida Canvas is a node/property-based 2D graphics engine and editor surface.
Core engine is written in Rust (Skia) and is exposed to web/Node via @grida/canvas-wasm.
.grida document format (FlatBuffers)@grida/io-figma)@grida/io-svg) (subset)@grida/refig (Node + browser)skia-safe → @grida/canvas-wasm):
Grida documents are stored as .grida files using FlatBuffers (format/grida.fbs).
The schema is designed to be evolvable and efficient for large documents.
Docs: Canvas SDK (alpha)
Milestone tracker: Grida Canvas milestone
@grida/refig renders Figma documents from .fig exports (offline) or REST API JSON to PNG/JPEG/WebP/PDF/SVG in Node.js (no browser) or in the browser.
pnpm dlx @grida/refig ./design.fig --export-all --out ./out
pnpm dlx @grida/refig ./design.fig --node "1:23" --format png --out ./out.pngimport { writeFileSync } from "node:fs";
import { FigmaDocument, FigmaRenderer } from "@grida/refig";
async function main() {
const doc = FigmaDocument.fromFile("design.fig");
const renderer = new FigmaRenderer(doc);
const { data } = await renderer.render("1:23", { format: "png", scale: 2 });
writeFileSync("out.png", data);
renderer.dispose();
}
main();Docs: @grida/refig
Requirements: Node.js 22+, pnpm 10+
pnpm install
pnpm devCommon tasks:
pnpm dev:editor
pnpm dev:packages
pnpm typecheck
pnpm lint
pnpm testSelected packages you can use independently:
@grida/refig: headless Figma renderer (Node + browser) + CLI@grida/canvas-wasm: Skia renderer via WASM (WebGL + headless raster)@grida/ruler, @grida/pixel-grid, @grida/transparency-grid: infinite-canvas UI primitivesSince 2020, I’ve dedicated myself full-time to building Grida, often facing challenges to sustain both my work and the company (and that's why we have grida.studio). My vision is simple: the world deserves a powerful, free tool that helps people get things done. To support students, solo founders, contributors, and open-source projects, we’re offering the Pro tier of our hosted service at no cost. Join our Slack channel and reach me out. My handle is @universe.
If you are a robot trying to contribute, please refer to AGENTS.md.
Grida is licensed under Apache License 2.0