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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
「見せる」登壇資料デザインの極意
takanorip
3
990
Design System Documentation Tooling 2025
takanorip
3
2.7k
デザインエンジニアの延長にデザインマネージャーとしての可能性を探る
takanorip
1
1.1k
Tools for Design Engineers other than LLM in the LLM era
takanorip
1
770
Bulletproof Design System with TypeScript
takanorip
7
5.1k
Eleventy3.0 で始める爆速個人ブログ開発!
takanorip
0
290
Webフォント選定の極意!フォントの基本から最新トレンドまで徹底解説
takanorip
6
1.1k
効果的な管理画面を デザインをするために 避けるべき5つの罠
takanorip
15
7.8k
社内管理画面のデザインもプロダクトデザイン
takanorip
5
2.3k
Other Decks in Design
See All in Design
新卒2年目デザイナーが、UX検定基礎にチャレンジした話
designer_no_pon
1
1.5k
「親切なオンボーディング」 が招く罠 ー AI時代のUXデザイン
godlingkogami
0
130
社長の宿題への回答 「新卒×AI」が生み出す価値
saki822
2
150
2026年の勢い / Momentum for 2026
bebe
0
460
AIスライド生成を進化させるMDファイル
kenichiota0711
1
1.2k
Spacemarket Brand Guide
spacemarket
2
900
ClaudeCodeでマーケターの課題を解決する
kenichiota0711
11
14k
2026_01_07_3DプリントはじめましたLT.pdf
hideakitakechi
0
200
root COMPANY DECK / We are hiring!
root_recruit
3
28k
セブンデックス プロジェクト事例 / innovation Scenes
sevendex
1
980
つくり方を変えていく | change-how-we-build
mottox2
2
1.3k
コムデマネージャーがプロダクトデザインに挑戦した。むずかしくて楽しかった。
payatsusan213
0
320
Featured
See All Featured
KATA
mclloyd
PRO
35
15k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
200
We Have a Design System, Now What?
morganepeng
55
8.2k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
350
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
200
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
460
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
The untapped power of vector embeddings
frankvandijk
2
1.7k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
280
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
200
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...