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
Headless Components Design
Search
takanorip
December 18, 2020
Design
290
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Headless Components Design
takanorip
December 18, 2020
More Decks by takanorip
See All by takanorip
AI-Slopなデザインを生まないためのデザインプロセス戦略
takanorip
10
5.9k
「見せる」登壇資料デザインの極意
takanorip
7
1.6k
Design System Documentation Tooling 2025
takanorip
3
3k
デザインエンジニアの延長にデザインマネージャーとしての可能性を探る
takanorip
1
1.3k
Tools for Design Engineers other than LLM in the LLM era
takanorip
1
870
Bulletproof Design System with TypeScript
takanorip
7
5.4k
Eleventy3.0 で始める爆速個人ブログ開発!
takanorip
0
320
Webフォント選定の極意!フォントの基本から最新トレンドまで徹底解説
takanorip
6
1.2k
効果的な管理画面を デザインをするために 避けるべき5つの罠
takanorip
15
8k
Other Decks in Design
See All in Design
kintone開発におけるライターの役割の変化〜AI活用を添えて〜 / Changes in the Role of Writers in Kintone Development
keroyama
0
200
Build for the Web, Build on the Web, Build With the Web
csswizardry
0
550
Design dependencies
teba_eleven
0
170
猫魔法「ごろごろ」の紹介
gesho
0
140
ISO 9241-171:2025っていうのがあってな
shosira
1
280
染み出し好きの、 染み出しコントロール論
mukai_takeru
0
450
タイル紹介サイト「タイルだもんで」
calpin
0
180
デザインツールを開く前に その画面は誰に何と言わせたい?受託UIデザイナーが顧客解像度を高める 「打ち合わせの場での確かめ方」
garyuten
1
220
空間アプリ開発のフィードバックをCodexにするための抽象的なデザインツールの模索
karad
0
190
Jun Wei Portfolio 2026
wjw100788
PRO
1
270
エンジニアでも捗る デザイナー的思考入門(bitA Edit 新ver)
tinykitten
1
470
開閉UIのアニメーション設計
hiro0218
2
1k
Featured
See All Featured
HDC tutorial
michielstock
2
850
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
710
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.9k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
New Earth Scene 8
popppiees
3
2.5k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
Discover your Explorer Soul
emna__ayadi
2
1.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.2k
The Curious Case for Waylosing
cassininazir
1
500
Transcript
Headless Components Design takanorip / 20201218 / UIT紅白歌合戦
Self Introduction • takanorip / Takanori Oki • UI designer
@ClassDo Inc. / Frontend developer • Organizer of WPSG(Web Platform Study Group) ◦ YouTube ◦ Spotify
CSS in JS…?
We don’t want to write CSS anymore
Headless UI • https://headlessui.dev/ • “Completely unstyled, fully accessible UI
components, designed to integrate beautifully with Tailwind CSS.”
import { useState } from 'react' import { Switch }
from '@headlessui/react' function NotificationsToggle() { const [enabled, setEnabled] = useState(false) return ( <Switch checked={enabled} onChange={setEnabled} className={`${ enabled ? 'bg-blue-600' : 'bg-gray-200' } relative inline-flex h-6 rounded-full w-8`} > <span className="sr-only">Enable notifications</span> <span className={`${ enabled ? 'translate-x-4' : 'translate-x-0' } inline-block w-4 h-4 transform bg-white rounded-full`} /> </Switch> ) }
tailwindcss “A utility-first CSS framework packed with classes” <div class="p-6
max-w-sm mx-auto bg-white rounded-xl shadow-md flex items-center"> <div class="flex-shrink-0"> <img class="h-12 w-12" src="/img/logo.svg" alt="ChitChat Logo"> </div> <div> <div class="text-xl font-medium text-black">ChitChat</div> <p class="text-gray-500">You have a new message!</p> </div> </div>
Issues in Components Design
What do we do when the style boundary and the
function boundary are slightly different?
Let’s make Original Headless UI?
Current Design System Basic Components with style Organism Components
Original utility-first CSS Original Function Components Headless Design System
Design tokens -> Utility-first CSS • Color • Fonts •
Spaces • etc...