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
「shadcn/ui × 自社デザインシステム」実践ガイド──FigmaトークンからTailw...
Search
seriseri
January 25, 2026
Programming
19
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
「shadcn/ui × 自社デザインシステム」実践ガイド──FigmaトークンからTailwindまでの連携術
seriseri
January 25, 2026
More Decks by seriseri
See All by seriseri
アンチパターンを避ける型駆動React最適化 (TSKaigi2026 アフターパーティー)
seriseri
0
65
アンチパターンを避ける型駆動React最適化
seriseri
0
13
AIに設計を書かせるだけで「理解負債」と「実装漏れ」が激減した話【フロントエンド編】
seriseri
1
150
フロントエンド開発にAIを“仕組みで”組み込む方法
seriseri
0
32
Other Decks in Programming
See All in Programming
the container ship “Apple Silicon”@WWDC26 Recap -Japan-\(region).swift
shingangan
0
120
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
140
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
470
Go 1.27 における memory allocation の高速化
andpad
0
170
What's New in Android 2026
veronikapj
0
260
仕様駆動開発の消費期限
watany
20
8.2k
今さら聞けない .NET CLI
htkym
0
190
Japan Community Day at Kubecon + CloudNativeCon Japan 2026: Learning Container Privilege Control by Building My Own Low-Level Container Runtime
ternbusty
1
150
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
550
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
260
AWS DevOps AgentのAzure接続機能を検証して見えた活用法/Use Cases Verified for the AWS DevOps Agent's Azure Connectivity Feature
masakiokuda
1
230
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
180
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
19k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
240
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
45k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
410
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1.1k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
430
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
370
Code Reviewing Like a Champion
maltzj
528
40k
Transcript
ʮshadcn/ui × ࣗࣾσβΠϯγεςϜʯ࣮ફΨ Πυ──FigmaτʔΫϯ͔ΒTailwind·Ͱͷ࿈ ܞज़ 2025.10.16 X @seriseri_55
PeopleX AI໘ ީิऀମݧΛॏࢹͨ͠ɺରܕAI໘αʔϏεɻ 3
ຊ ⽇ ͓͑͢Δ͜ͱ 1 ࠔ͍ͬͯͨ͜ͱ 2 shadcn/uiʹ͍ͭͯ 3 4 σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ
@2025 PeopleX Inc. ! ։ൃʹ͓͚Δv0ͷ׆༻๏
01ࠔ͍ͬͯͨ͜ͱ @2025 PeopleX Inc. 2
ࠔ͍ͬͯͨ͜ͱ @2025 PeopleX Inc. 3 ݩʑৡΓड͚ͨϓϩδΣΫτʴٸϐονͰͷ։ൃ • σβΠϯγεςϜͷߏஙʹ͕͔࣌ؒ ͔Δ •
σβΠϯτʔΫϯͷө͕खؒ
01shadcn/uiʹ͍ͭͯ @2025 PeopleX Inc. 2
• σβΠϯγεςϜͷߏஙʹ͕͔࣌ؒ ͔Δ • σβΠϯτʔΫϯͷө͕खؒ ݩʑԿʹࠔ͍͔ͬͯͨ @2025 PeopleX Inc. 3
ݩʑৡΓड͚ͨϓϩδΣΫτʴٸϐονͰͷ։ൃ shadcn/ui Λ࠾༻͢Δ͜ͱͰղܾ
shadcn/uiʹ͍ͭͯ @2025 PeopleX Inc. 3 • Radix UI + Tailwind
CSS • ελΠϧͱϩδοΫΛͰ͖Δ • npmύοέʔδͰͳ͘ɺίʔυΛ औΓࠐΉ • ࣗ༝ͳΧελϚΠζ͕؆୯ • σϑΝΫτʹͳΓͭͭ͋Δ https://ui.shadcn.com/docs/components/button
shadcn/uiʹ͍ͭͯ @2025 PeopleX Inc. 3 • Material-UI Ant Design
◦ ελΠϧͷoverride 😱
shadcn/uiʹ͍ͭͯ @2025 PeopleX Inc. 3 • ελΠϧΛ͋ͯΕΔ • ಁ໌ੑ
• σβΠϯγεςϜͷߏஙʹ͕͔࣌ؒ ͔Δ • σβΠϯτʔΫϯͷө͕खؒ ݩʑԿʹࠔ͍͔ͬͯͨ @2025 PeopleX Inc. 3
ݩʑৡΓड͚ͨϓϩδΣΫτʴٸϐονͰͷ։ൃ shadcn/ui Λ࠾༻͢Δ͜ͱͰղܾ
02։ൃʹ͓͚Δv0ͷ׆༻ʹ͍ͭͯ @2025 PeopleX Inc. 2
։ൃʹ͓͚Δv0ͷ׆༻ʹ͍ͭͯ @2025 PeopleX Inc. 3 • ͦͦͳͥv0ʁ ◦ shadcn/ui ४ڌͷUI͕ੜ͞ΕΔײ֮
◦ shadcn/ui ͷϝΠϯίϛολʔ͕vercelʹ ͍Δ • ༷ܾΊ→σβΠϯɹͷஈ֊Ͱ༻ • ϓϩμΫγϣϯͷUIʹରͯ͠͏͜ͱͳ ͍ • https://v0.app/chat/step-VP0RH7qPe0h
03σβΠϯτʔΫϯˠίʔυͷ ྲྀΕΛ؆ུԽ @2025 PeopleX Inc. 2
ݩʑԿʹࠔ͍͔ͬͯͨ @2025 PeopleX Inc. 3 ݩʑৡΓड͚ͨϓϩδΣΫτʴٸϐονͰͷ։ൃ • σβΠϯγεςϜͷߏஙʹ͕͔࣌ؒ ͔Δ •
σβΠϯτʔΫϯͷө͕खؒ
@2025 PeopleX Inc. 3 ݁Ռɺ30ඵͰσβΠϯΛөͰ͖ΔΑ͏ʹͳͬͨ σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ
σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ @2025 PeopleX Inc. 3 1. FigmaͷτʔΫϯΛJSONܗࣜͰΤΫ εϙʔτ 2. Style
DictionaryͰɺTailwindͰѻ͍ ͍͢ܗࣜʹม 3. Tailwind ConfigʹऔΓࠐΉ Tailwind v4͔ΒConfigϑΝΠϧΛܦ༝͠ͳͯ͘Α͘ͳͬ ͨɻ ͚Ͳɺɺɺࢼͨ͠ͱ͜Ζ͋·Γײతʹײ͡ͳ͔ͬͨͷ ͰɺTailwind ConfigΛհͨ͠ํ๏Λ͝հ͠·͢ɻ (v4ͰconfigΛܦ༝͢Δ͜ͱՄೳ)
σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ @2025 PeopleX Inc. 3
σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ @2025 PeopleX Inc. 3 Figma 1. FigmaͷτʔΫϯΛJSONܗࣜͰΤΫ εϙʔτ 2.
Style DictionaryͰɺTailwindͰѻ͍ ͍͢ܗࣜʹม 3. Tailwind ConfigʹऔΓࠐΉ
σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ @2025 PeopleX Inc. 3 tailwind.config.js • tailwindͷΧελϜΫϥεΛఆٛͰ͖ Δ ◦
bg-primary, bg-secondary, bg- contents ◦ text-primary, text-secondary, text-attention, text-disabled rgbܗࣜʹม global.css
σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ @2025 PeopleX Inc. 3 Semantic.Mode 1.tokens.json Primitive Mode 1.tokens.json
references.json style-dictionary Figma͔Βग़ྗ͞ΕͨJSON
σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ @2025 PeopleX Inc. 3 text-purple-700 text-green-700 text-success text-l-main bg-purple-700
bg-green-700 bg-light bg-dark bg-primary ͳͲͷΫϥε͕ ༻Մೳʹ
σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ @2025 PeopleX Inc. 3 style-dictionary.config.ts ΠϯϓοτͷJSONΛͲ͜ʹஔ͔͘ มͷϓϨηοτ ग़ྗઌͷύε ग़ྗܗࣜ
σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ @2025 PeopleX Inc. 3 package.json npm run build ↓
references.json ͕ੜ͞ΕΔ ੜ͞ΕͨϑΝΠϧ Figma͔Βग़ྗ ͨ͠JSON
σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ @2025 PeopleX Inc. 3 text-purple-700 text-green-700 text-success text-l-main bg-purple-700
bg-green-700 bg-light bg-dark bg-primary ͳͲͷΫϥε͕ ༻Մೳʹ
σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ @2025 PeopleX Inc. 3 τʔΫϯΛߋ৽͍ͨ͠߹࠶… npm run build ੜ͞ΕͨϑΝΠϧ
Figma͔Βग़ྗ ͨ͠JSON
@2025 PeopleX Inc. 3 30ඵͰσβΠϯΛө σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ
σβΠϯτʔΫϯ→ίʔυͷྲྀΕΛ؆ུԽ @2025 PeopleX Inc. 3 • typographyͳͲͷϢʔςΟϦςΟΫϥεΛఆٛ͢Δ͜ͱՄೳ • https://github.com/seriseri-123/figma-token-to-tailwind Λࢀߟʹͯ͠Έ͍ͯͩ͘͞
• ͪ͜ΒͷzennͷهࣄΛϕʔεʹॻ͖·ͨ͠ ◦ https://zenn.dev/peoplex_blog/articles/8df87dab4776d2