Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
880
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
The ISO 25964 standard on Information and documentation — Thesauri and interoperability with other vocabularies
accessinnovations
0
120
速く作れるかではなく、速く学べるか ― 学習ループを回すパイロットの途中報告
nagata03
0
660
空間アプリ開発のフィードバックをCodexにするための抽象的なデザインツールの模索
karad
0
200
Accelerating performance improvement based on a software review evaluation matrix
kitanosirokuma
0
300
デザインワークフローの最前線。 ログラスでのAI活用の現在地
ukaoli
1
3k
noteらしさを織り込むハーネスエンジニアリング
uto
0
1.2k
Bet AI Day 2026丨デザインハーネス:専門職の判断基準をコードのように運用する
layerx
PRO
4
4k
TOPOSTOPOS
shoheyey
0
190
もう迷わない!“なんとなく”を卒業するフォントの選び方【村田俊英】
toshihidemurata
0
950
Frontier
rwang05
0
210
Look Dev Meetup #50
baku89
1
500
PLATEAUで白い街を作る
aikautau
0
190
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
41
2.7k
Test your architecture with Archunit
thirion
2
2.4k
WENDY [Excerpt]
tessaabrams
14
39k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
3
4.3k
The SEO identity crisis: Don't let AI make you average
varn
0
560
RailsConf 2023
tenderlove
30
1.5k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Design in an AI World
tapps
1
320
From π to Pie charts
rasagy
1
370
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.8k
For a Future-Friendly Web
brad_frost
183
10k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
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...