Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Figmaプラグイン 開発のすゝめ
Search
takanorip
January 25, 2021
Technology
0
430
Figmaプラグイン 開発のすゝめ
takanorip
January 25, 2021
Tweet
Share
More Decks by takanorip
See All by takanorip
Eleventy3.0 で始める爆速個人ブログ開発!
takanorip
0
110
Webフォント選定の極意!フォントの基本から最新トレンドまで徹底解説
takanorip
5
820
効果的な管理画面を デザインをするために 避けるべき5つの罠
takanorip
14
7k
社内管理画面のデザインもプロダクトデザイン
takanorip
4
1.9k
早わかり W3C Community Group
takanorip
0
470
Ubieとアクセシビリティのこれからを考える
takanorip
0
440
2023年版 デザインシステム 技術選定の勘所 - フロントエンドカンファレンス沖縄
takanorip
2
3.8k
Astroで始める爆速個人サイト開発
takanorip
15
11k
後悔しないデザインシステムの始め方
takanorip
4
3.2k
Other Decks in Technology
See All in Technology
Micro Frontends: Necessity, Implementation, and Challenges
rainerhahnekamp
2
470
アセスメントで紐解く、10Xのデータマネジメントの軌跡
10xinc
1
420
50人の組織でAIエージェントを使う文化を作るためには / How to Create a Culture of Using AI Agents in a 50-Person Organization
yuitosato
6
3.4k
CBになったのでEKSのこともっと知ってもらいたい!
daitak
1
160
PicoRabbit: a Tiny Presentation Device Powered by Ruby
harukasan
PRO
2
180
Dynamic Reteaming And Self Organization
miholovesq
3
330
AWSのマルチアカウント管理 ベストプラクティス最新版 2025 / Multi-Account management on AWS best practice 2025
ohmura
4
270
Creating Awesome Change in SmartNews
martin_lover
1
270
AIコーディングの最前線 〜活用のコツと課題〜
pharma_x_tech
1
330
Porting PicoRuby to Another Microcontroller: ESP32
yuuu
3
390
技術者はかっこいいものだ!!~キルラキルから学んだエンジニアの生き方~
masakiokuda
2
250
DETR手法の変遷と最新動向(CVPR2025)
tenten0727
2
1.3k
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
49
7.7k
Adopting Sorbet at Scale
ufuk
76
9.3k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
GraphQLの誤解/rethinking-graphql
sonatard
71
10k
The Cult of Friendly URLs
andyhume
78
6.3k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.3k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
660
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.6k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
Transcript
Figmaプラグイン 開発のすゝめ Figmaプラグインで始めるWebアプリケーション開発 Takanori Oki - 20210125
自己紹介 • Takanori Oki - 大木尊紀 - @takanorip • UI
designer at ClassDo / Frontend developer • Organizer of Web Platform Study Group • takanorip.com
Figma • Webアプリケーションベースのデザインツール • チーム開発(コラボレーション)のための機能が充実 • 共同編集 • URLによる共有 •
コンポーネント管理機能 • etc…
Figma Plugins • Figmaで利用できる拡張機能 • Figmaのデザインデータにアクセス、編集ができる • Webフロントエンドと同じ技術スタックで開発できる • 審査に合格すればFigma
Community上に公開することも可能 • 補足:FigmaはWeb APIも公開しているがそちらは情報の取得のみで、 編集などは一切できない
Figma Pluginsが アプリケーション開発入門に適している理由 • UIとロジックを分離させる設計になっている • ローカルで動作を試せる(デプロイ必要ない) • TypeScriptで開発できるよう整備されている TODOリストより実践的だけど個人アプリ開発より手軽
UIとロジックを分離させる設計になっている ग़యɿFigma Developers
UIとロジックを分離させる設計になっている • サンドボックスはFigmaのAPIにアクセスできる • ブラウザ APIにはアクセスできない • iframeではFigma APIにアクセスできない •
ブラウザの機能はだいたい使える • 外部Web APIへのアクセスも可能(POSTは出来ない) • サンドボックスとiframeはpostMessageでやりとりする
責務の分離と セキュリティの確保のために こういった設計になってる
Webフロントエンド開発をいろいろ試せる • 公式でTypeScriptを用いた開発が推奨されてる • https://www.figma.com/plugin-docs/typescript/ • サンプルも充実 • https://github.com/figma/plugin-samples •
パフォーマンスチューニングの題材としても良いかも • https://www.figma.com/plugin-docs/frozen-plugins/
簡単な始め方 • CLI tool • https://github.com/yuanqing/create-figma-plugin • https://rsms.me/figplug/ • UI
Components for Figma Plugins (Unofficial) • https://github.com/thomas-lowry/figma-plugin-ds
JUST DO IT!