react-sketchapp (airbnb/react-sketchapp)
Searching Database…
14.9K ·GitHub
What is this?
react-sketchapp renders React components directly into Sketch documents, letting you build and manage Sketch design-system assets with real React code.
Is this a Sketch plugin or a React library?
It is a React renderer (a library) that outputs Sketch-compatible layers; it runs as a custom React reconciler rather than a standalone app.
How do I get it running?
Open a new Sketch file and set it up from a terminal with npm, then check the provided examples to see rendered output.
Do I need Sketch installed to use it?
Yes, you need Sketch version 50 or newer plus a recent version of npm; it also relies on packages like sketch-file-format-ts and node-sketch-bridge under the hood.
Does the Sketch API ever break this?
Yes, Sketch's own scripting API changes frequently, which is one of the reasons the project exists as a stable React wrapper around it.
Who was this really built for?
It was built for Airbnb's own design system, as the easiest way to manage Sketch assets at scale for large design systems.
Can I use real data in my Sketch designs with this?
Yes, react-sketchapp makes it simple to fetch and incorporate real data into your Sketch files, which is otherwise challenging to do directly in Sketch.
Can I build custom tools on top of Sketch with this?
Yes, the README highlights using react-sketchapp as a canvas for building new custom design tooling on top of Sketch.
Why did Airbnb build this instead of using Sketch's native API directly?
Managing design-system assets natively in Sketch is complex, error-prone and time consuming, and React gives JavaScript developers a familiar, reusable way to build Sketch documents instead.
What are similar projects?
drawably, styled-components, chakra-ui, astryx, base-ui, threeui, pdfcn, Monocharts
Which topics is it in?
sketch, design-system, ui-components, react, desktop-app, npm, frontend, library, typescript, developer-tools, mit, macos
