ddanninger / open-design-framework

Monorepo containing things like @opendesign/react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Design Framework

We want ODF to be one-stop-shop for everything design file related. Importing designs from popular design formats, showing them in browsers, rendering them to png, you name it. Currently ODF can only a subset of this, but the thing it does should work correctly.

There are multiple interfaces for interacting with ODF:

  • opendesign CLI
  • @opendesign/universal to be used from node.js or vanillajs in the browser
  • @opendesign/react to make it easier to use from react apps

Following features work:

  • importing from XD
  • copy-pasting from figma (by using a special plugin)
  • displaying single artboard of a design in the browser
  • it works in node.js and browser
  • rudimentary edits

Everything else is a work in progress.

Quick start

npx opendesign --help
npx opendesign open file.xd

Dependencies

ODF is built upon other components which are in general more feature-complete. Main building block is the octopus design format - everything you do in opendesign will interact with this format. To get octopus from popular design formats, we have a set of converters. And finally there is a reference implementation of engine for rendering the design - be it in the browser, nodejs or as a dynamic library for native projects.

About

Monorepo containing things like @opendesign/react

License:Apache License 2.0


Languages

Language:TypeScript 93.3%Language:JavaScript 5.3%Language:Dockerfile 0.5%Language:Nix 0.5%Language:HTML 0.2%Language:Shell 0.2%Language:CSS 0.0%