figma 安裝插件_我制作Figma插件的經驗

figma 安裝插件

Since Figma released the Figma Community (Beta), I’ve been working on Figma plugins in my free time while I study the code. With the help of an engineer friend of mine, I’ve developed four small plugins so far. As I continue to update these, I’m also planning new plugins.

自從Figma發布Figma社區(測試版)以來,我在業余時間研究代碼時一直在研究Figma插件。 到目前為止,在我的一個工程師朋友的幫助下,我已經開發了四個小插件。 在繼續更新這些內容的同時,我也在計劃新的插件。

In this article, I will introduce some practical tips and resources for beginners of plugin development, based on my experiences with Figma plugins.

在本文中,我將根據我對Figma插件的經驗,為插件開發初學者介紹一些實用技巧和資源。

Let’s take a look!👀

讓我們來看看!👀

我的插件簡介 (Introduction to my plugins)

Image for post
https://www.figma.com/community/plugin/818724242728722680/Figma-Exporterhttps://www.figma.com/community/plugin/818724242728722680/Figma-Exporter

Figma Exporter lets you select the naming convention you want for your exported files. The available conventions are kebab-case, snake_case, and camelCase.

Figma Exporter使您可以為導出的文件選擇所需的命名約定。 可用約定為kebab-case,snake_case和camelCase。

Image for post
https://www.figma.com/community/plugin/843423036468250072/Aspect-Ratio
https://www.figma.com/community/plugin/843423036468250072/Aspect-Ratio

Aspect Ratio is a Figma-optimized aspect ratio calculator.

長寬比是經過Figma優化的長寬比計算器。

  • Inspect — When you select any layer, the aspect ratio value of the layer will be displayed in the inspector area.

    檢查-選擇任何圖層時,該圖層的縱橫比值將顯示在檢查器區域中。
  • Calculate — Enter the value you want to calculate in the middle input field, and the value will be calculated.

    計算—在中間輸入字段中輸入要計算的值,然后將計算該值。
  • Resize — Click the Resize button to apply the calculated value to the selected layer.

    調整大小—單擊“調整大小”按鈕,將計算出的值應用于選定的圖層。
Image for post
https://www.figma.com/community/plugin/845838702454033341/Golden-Spiral
https://www.figma.com/community/plugin/845838702454033341/Golden-Spiral

Golden Spiral is a plugin that calculates a sequence of golden ratios and creates layers. It was developed for use in logo design.

Golden Spiral是一個插件,可計算一系列黃金比例并創建圖層。 它被開發用于徽標設計。

Image for post
https://www.figma.com/community/plugin/851217747476215597/Figma-Finderhttps://www.figma.com/community/plugin/851217747476215597/Figma-Finder

Figma Finder is a launcher utility plugin. It gives you quick access to all your essential things.

Figma Finder是啟動器實用程序插件。 它使您可以快速訪問所有必需的東西。

從制作到發布的實用技巧和資源 (Practical tips and resources from crafting to publishing)

1.使用Figma用戶熟悉的設計系統 (1. Use design systems that Figma users are familiar with)

In the design phase, I use Figma’s UI2 as a reference point for my design. You can get a lot of inspiration from Figma’s design system.

在設計階段,我將Figma的UI2用作設計的參考點。 您可以從Figma的設計系統中獲得很多啟發。

You can also download the Inter font that Figma uses for free.

您也可以免費下載Figma使用的Inter字體。

In the development phase, I use Thomas-lowry/ Figma Plugin DS to implement the UI. Other design system packages for frameworks such as React and Vue are also available.

在開發階段,我使用Thomas-lowry / Figma插件DS來實現UI。 也可以使用其他框架設計系統軟件包,例如React和Vue。

  • Vanilla / JavaScript: figma-plugin-ds

    香草/ JavaScript: figma-plugin-ds

  • React: react-figma-plugin-ds, figma-styled-components

    React: react-figma-plugin-ds ,圖像figma-styled-components

  • Vue: figma-vue-boilerplate

    Vue: figma-vue-boilerplate

2.提供訪問插件的簡便方法 (2. Provide easy ways to access plugins)

There are several ways to launch plugins.

有幾種啟動插件的方法。

  • Click on the Plugin in the Menu to launch it from your list.

    單擊菜單中的插件以從列表中啟動它。
  • Press Command+/and quickly type in the plugin to launch it faster.

    Command + /并快速鍵入插件以更快地啟動它。

  • Press Command+Option+P to relaunch the previous plugin

    Command + Option + P重新啟動以前的插件

However, when you have a lot of plugins, it can be difficult to find them, or you may forget the plugin name. This is where setRelunchData is useful.

但是,當您有很多插件時,可能很難找到它們,或者您可能會忘記插件名稱。 這是setRelunchData有用的地方。

setRelunchData (setRelunchData)

By adding setRelunchData to manifest.jsontthe commands of the plugin will be displayed in the Plugin section of the Properties panel.Users can quickly launch the plugin from here.

通過將setRelunchData添加到manifest.jsont中,該插件的命令將顯示在“屬性”面板的“插件”部分中。用戶可以從此處快速啟動該插件。

// manifest.json
"relaunchButtons": [{"command": "open", "name": "Open Figma Finder", "multipleSelection": true}]

If you want practical tips on how to improve the UX of FigmaPlugin, this article is a must-read.

如果您想獲得有關如何改善FigmaPlugin UX的實用技巧,則必須閱讀本文。

3.制作清晰誘人的插件頁面 (3. Make a clear and attractive plugin page)

  • Icon (128x128):A look in harmony with Figma

    Icon(128x128):與Figma融為一體
  • Cover Art (1920x960) :Displays the UI that shows how the plugin works

    封面(1920x960):顯示顯示插件工作方式的UI
  • Name:A short, unique, and clear name for your plugin.

    名稱:您的插件的簡短,唯一且清晰的名稱。
  • Tags (up to 10 tags): Use tags that are easily findable by users.

    標簽(最多10個標簽):使用易于用戶找到的標簽。
  • Support contact:Github, Twitter, etc.

    支持聯系人:Github,Twitter等

Here’s a recommended template for creating a plugin page.

這是用于創建插件頁面的推薦模板。

Figma plugin promotional template ― A small template for building out and previewing assets for publishing and promoting your Figma Plugin.

Figma插件促銷模板 ―一個用于構建和預覽資產以發布和推廣Figma插件的小模板。

Image for post
Figma Community — Plugins
Figma社區—插件

Recently, Figma Community’s UI was improved greatly. The most popular categories are now organized. Including this tag will ensure that your plugin is featured.

最近,Figma社區的用戶界面得到了很大的改進。 現在組織了最受歡迎的類別。 包含此標記將確保您的插件具有特色。

4.關于從提交到發表的時間 (4. About Time from Submission to Publication)

Based on my observations and experience with plugin submissions, it seems that new plugins are released mainly on Fridays.

根據我的觀察和對插件提交的經驗,似乎新插件主要在星期五發布。

In the past, it has taken about ten days to go public, but that was when it coincides with Figma’s new feature release.However, when I submitted a request on a Friday morning, it was released within 2–3 hours of submission.

過去,公開發布大約花了十天的時間,而那時恰逢Figma的新功能發布。但是,當我在星期五早上提交請求時,它在提交后的2-3小時內發布。

Figma Community continues to be updated. Recently, you can create a FigmaProfile, follow creators, and search for new creators. I’m sure more and more creators will be coming to Figma in the future.

Figma社區繼續更新。 最近,您可以創建FigmaProfile,關注創建者,并搜索新創建者。 我相信將來會有越來越多的創作者來參加Figma。

Stay tuned for more articles on new plugin development and updates.

請繼續關注有關新插件開發和更新的更多文章。

Thank you for reading!

感謝您的閱讀!

If you enjoyed this article, follow me on Twitter, LinkedIn, Medium, or Figma.

如果您喜歡這篇文章,請在 Twitter LinkedIn Medium Figma 上關注我

翻譯自: https://uxdesign.cc/my-experience-with-crafting-figma-plugins-7f61bab64a8c

figma 安裝插件

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/274188.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/274188.shtml
英文地址,請注明出處:http://en.pswp.cn/news/274188.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

術語解釋_術語

術語解釋Colour has a great impact in the world around us and this is no different in User Interfaces (UI). However, it’s not always given the importance it deserves. Sometimes colour is understood as a purely aesthetic element that is completely relative …

安卓中的對話框通知---簡單的對話框入門

當你的應用需要顯示一個進度條或需要用戶對信息進行確認時&#xff0c;可以使用對話框來完成。 1、用一個按鈕來進行測試&#xff0c;在layout文件中的activity_main.xml文件中添加一個Button按鈕&#xff1a; <RelativeLayout xmlns:android"http://schemas.android.c…

mac photoshop_我討厭Photoshop…

mac photoshopIt probably sounds odd to hear a visual designer say they hate Photoshop. It’s sort of like hearing a writer say they hate Word. It’s sort of a given that Photoshop is the medium within which visual designers work their magic. It’s also one…

PHP中的ob_start用法詳解

用PHP的ob_start();控制您的瀏覽器cache Output Control 函數可以讓你自由控制腳本中數據的輸出。它非常地有用&#xff0c;特別是對于&#xff1a;當你想在數據已經輸出后&#xff0c;再輸出文件頭的情況。輸出控制函數不對使用 header() 或 setcookie(), 發送的文件頭信息產生…

做事用人 用人做事_做事:構建我的第一個Web應用程序的經驗教訓

做事用人 用人做事On the 5th of June, 2020, after almost two weeks of (re)learning javascript, fixing bugs, creating new ones and of course, lots of testing, I launched Writty on ProductHunt. An open-source text editor to help anyone who is into writing to …

[轉]C#委托的異步調用

本文將主要通過“同步調用”、“異步調用”、“異步回調”三個示例來講解在用委托執行同一個“加法類”的時候的的區別和利弊。 首先&#xff0c;通過代碼定義一個委托和下面三個示例將要調用的方法&#xff1a; /*添加的命名空間using System.Threading;using System.Runtime.…

vista下載_Vista和視圖在游戲設計中的功能

vista下載Views in video games are observation points used to highlight a lot of objects into one frame or shot using a special camera move. Vistas are special types of views that show distant objects, mainly far off landscapes.電子游戲中的視圖是觀察點&…

微軟開始提供公共預覽版Windows 8.1下載

用戶可在微軟發布官方更新時免費下載Windows 8.1&#xff0c;這個最新版本的Windows 8系統對搜索系統作出了改進&#xff0c;此外還修改了Windows Store&#xff0c;并對核心應用進行了升級。Windows 8.1還重新推出了“開始”按鈕&#xff0c;并對用戶界面作出了多處修改。雖然…

keynote使用手冊_如何使用Keynote和智能手機為AR創建原型

keynote使用手冊Designing for AR is perhaps one of the most interesting applications of UX. As this incredible technology is being put to use for unique applications, UX Designers are tasked with creating user interfaces for an augmented experience, that do…

我會永遠永遠的愛你,直到你不愛我的那一天

【one】電話鈴聲響起的時候&#xff0c;林岫正好解下衣服的最后一顆紐扣。她站在原地&#xff0c;看著桌面上不斷震動的手機&#xff0c;很久都沒有接。“林醫生&#xff0c;你的電話”&#xff0c;有同事在身旁好心的提醒。她依然沒有動&#xff0c;只是靜靜注視著那個手機&am…

HTML5工具

HTML5工具 HTML&#xff08;Hyper Text Mark-up Language &#xff09;即超文本標記語言&#xff0c;自萬維網初創之日起&#xff0c;它就已經成為滿意度很高的公共語言。在過去的兩年里&#xff0c;HTML5在性能上得到了很大的提升和改進&#xff0c;當仁不讓的獲得了大眾的青睞…

遠程控制工具_不要讓您的工具控制您

遠程控制工具When to Use Optical Alignment — You’re the Designer. You Know What’s Best.何時使用光學對準—您是設計師。 你知道什么是最好的。 Let’s talk about the tools the vast majority of us use on a day to day basis… These tools are Incredibly powerfu…

模態和非模態代碼_我們如何使模態可用和可訪問?

模態和非模態代碼什么是模態&#xff1f; (What are modals?) A modal, or modal dialog, is an overlay window that opens on top of the current primary content or screen. It places focus on itself, usually making the background inactive (“inert”) — i.e. visu…

如何查看數據文件或者Log文件是否增長過?

在論壇看到一個帖子&#xff0c;說數據庫變慢了一段時間&#xff0c;發現這段時間數據庫文件的最后修改時間跟變慢的世界一致&#xff0c;想知道這段時間是否文件確實增長了。 其實SQL Server提供了數據增長的Event&#xff0c;而且Default Trace里面就記錄了。 下面我們做個測…

軟件項目開發 學校自行開發_自行開發游戲

軟件項目開發 學校自行開發Making a game is not easy. Quite the contrary; it’s an incredibly difficult and daunting task. Game development typically takes teams of people, thousands of hours worth of labor, and hundreds of thousands — if not millions — of…

jquery Fancybox使用教程

jquery Fancybox使用教程 Fancybox是一款基于jquery的對圖片展示播放的插件&#xff0c;當然&#xff0c;它html文本、flash動畫、iframe以及ajax也予以支持。還可以通過css自定義外觀&#xff0c;陰影效果超級贊&#xff01; 演示效果&#xff1a;http://www.phpddt.com/demo/…

優衣庫不雅_Uniqlo主頁-用戶體驗案例研究

優衣庫不雅I am a big fan of Uniqlo because they sell innovative clothing that is great quality at great prices. So when all their stores closed during the “Covid-19 Circuit Breaker” in Singapore, I turned to their website and was surprised how difficult …

PHP生成縮略圖函數

function img_create_small($big_img, $width, $height, $small_img) { // 大圖文件地址&#xff0c;縮略寬&#xff0c;縮略高&#xff0c;小圖地址$imgage getimagesize($big_img); //獲取大圖信息switch ($imgage[2]) { // 判斷圖像類型case 1:$im imagecreatefromgif($bi…

shields 徽標_到處都有平面徽標

shields 徽標重點 (Top highlight)Companies invest a lot of time, money and energy trying to make audiences remember their logos and associate higher value with it. The end goal is to make customers pick their brand over another brand. 公司投入了大量的時間&a…

jquery錨點連接劃動滾動條,再也不用a標簽name 了

$("html,body").animate({ scrollTop: $(".reviews_list").children("ul").children("li").children("b:last").offset().top }, 1000); 轉載于:https://www.cnblogs.com/gxmaspx/p/3169931.html