Skip to content
プロジェクト

jsuarezruiz/figma-to-maui-graphics

GitHubで見る

概要

FigmaSharp.Maui.Graphicsは、Figmaのデザインを.NET MAUI Graphicsのコードに変換します。

デザイン・メディア

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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.

関連プロジェクトを探す

読み込み中…