Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.27 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.27 KB

Figma2xaml

This plugin can help you convert simple vector paths to xaml (eXtensible Application Markup Language).

https://www.figma.com/community/plugin/1029415284789228817/Figma2xaml

image

This boilerplate using for creating plugin: https://github.com/thomas-lowry/figsvelte

Usage

  1. Select the required code format from the dropdown menu
  2. Select only one layer with frame, group, component or instance
  3. Press Get code and then Copy button
  4. Use the code in Visual Studio for example to create Resource Dictionary

Supported features:

https://github.com/igorageev/figma2xaml/wiki/Supported-features

Installation and contributing

  1. Clone the repository: git clone https://github.com/igorageev/figma2xaml.git
  2. Go to the directory: cd figma2xaml
  3. Install the packages: npm install
  4. Add a new development plugin to Figma
  5. Select the figma2xaml/build/manifest.json file as the manifest

Development

During development, watch your project for changes with the following command:

npm run dev

Start editing plugin UI in 'src/Plugin.svelte'.

Build

When ready to package:

npm run build

For info about Figma API visit Figma API Overview