Giter Club home page Giter Club logo

figma-to-maui-graphics's Introduction

From Figma to .NET MAUI Graphics

FigmaSharp.Maui.Graphics turns your Figma design into .NET MAUI Graphics code. Free and Open Source software under the MIT LICENSE.

Replicate quickly nice designs

Replicate quickly nice designs

Create new drawn controls

The tool available on Windows and macOS performs the following steps:

  1. Using a Personal Access Token accesses a Figma document.
  2. Get all the information and creates a hierarchy of nodes that we can go iterate or manipulate.
  3. After getting the nodes, it generates C# code for .NET MAUI Graphics.
  4. After generating the code, it compiles the code to ensure that there are no generation errors.

You can copy and paste the code or export it directly to a file.

NOTE: This project uses and extends FigmaSharp.

Remember, this tool generates C# code for .NET MAUI Graphics, NOT XAML or C# code using .NET MAUI Views.

Getting started

To get documents from figma.com you'll need to generate a Personal Access Token. Sign in to Figma and in the main menu, go to Help and Account โ†’ Account Settings and select Create new token. This will be your only chance to copy the token, so make sure you keep a copy in a secure place.

Do you have questions, need support, or want to contribute? Use GitHub Issues for bug reports and feature requests.

Known limitations or issues

  • Currently, due to changes required in .NET MAUI Graphics or FigmaSharp, the tool does not generate vectors or custom fonts.
  • Although it is something that will be fixed shortly, currently you need to set the root node in Figma to position 0, 0.

Copyright and license

Code released under the MIT license.

figma-to-maui-graphics's People

Contributors

jsuarezruiz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.