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.mzph.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 …

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…

做事用人 用人做事_做事:构建我的第一个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#委托的异步调用

本文将主要通过“同步调用”、“异步调用”、“异步回调”三个示例来讲解在用委托执行同一个“加法类”的时候的的区别和利弊。 首先,通过代码定义一个委托和下面三个示例将要调用的方法: /*添加的命名空间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.电子游戏中的视图是观察点&…

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…

远程控制工具_不要让您的工具控制您

远程控制工具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…

模态和非模态代码_我们如何使模态可用和可访问?

模态和非模态代码什么是模态? (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文件是否增长过?

在论坛看到一个帖子,说数据库变慢了一段时间,发现这段时间数据库文件的最后修改时间跟变慢的世界一致,想知道这段时间是否文件确实增长了。 其实SQL Server提供了数据增长的Event,而且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的对图片展示播放的插件,当然,它html文本、flash动画、iframe以及ajax也予以支持。还可以通过css自定义外观,阴影效果超级赞! 演示效果: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 …

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…

登录,注册,登录,登录..?

Last year I found myself in an interesting conversation about which copy to use for a website’s sign up journey. And it wasn’t the first time. Often this devolves into an opinion-based discussion among stakeholders of the ‘what-I-like-based-on-no-eviden…

未完成的控件

using System; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms;namespace ImageControls {/// <summary>/// 控件/// </summary> public class ShapeEx : Control{#region 字段private Color _B…

ux设计_UX设计101:

ux设计这是什么&#xff1f; (What is this?) This session is part of a learning curriculum that I designed to incrementally skill up and empower a team of Designers and Researchers whose skillset and ways of working needed to evolve to keep up with changes …

idea重要插件代码颜色_颜色在您的网站上的重要性和品牌形象

idea重要插件代码颜色Choosing the right colors for a website or a logo can be a perplexing and time-consuming task, unless you have the right knowledge of colors. Colors play a pivotal role in the success of some businesses and can make a huge impact on the…

【自己给自己题目做】之一:椭圆可点击区域

【题一】请实现以下需求&#xff0c;要做一个活动页面&#xff0c;页面上有一张图片&#xff08;假设是800x600&#xff09;&#xff0c;图片正中心有一个椭圆形的可点击区域&#xff0c;假设椭圆长轴为200px&#xff08;横向&#xff09;&#xff0c;短轴160px&#xff08;纵向…

信息保真度准则_设计保真度的新的非科学公式

信息保真度准则As designers, our audience is more than just our users. We keep our user’s needs top of mind while designing for their jobs-to-be-done, but sometimes we need to illustrate the problem and articulate solutions to a broader audience: our cross…

zend studio配置调试(Xdebug方式)

1.下载xdebug http://xdebug.org/download.php 我下的是PHP 5.4 VC9 (32 bit) 【当前系统php是php5.4.14(win32)版本】 2.配置php.ini 在文件最后配置 [Xdebug]zend_extension "C:/php5.4.14/ext/php_xdebug-2.2.3-5.4-vc9.dll" xdebug.auto_trace1xdebug.collect_p…