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
Design Systems with React
Search
Tony Ward
May 21, 2019
Programming
240
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Design Systems with React
I talk at a local meetup about design systems and their advantages
Tony Ward
May 21, 2019
More Decks by Tony Ward
See All by Tony Ward
EmberConf2018: Toyota's Shared Component Library
ynotdraw
0
870
Other Decks in Programming
See All in Programming
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
110
改善しないと、タスクが回らない。 “てんこ盛りポジション” を引き継いだ情シスの、入社3ヶ月の業務改善録
krm963
0
280
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
6
2k
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
160
バグを直したら useEffect が消えた
colorful12
3
650
Building a Meta Ray-Ban display app
akkeylab
0
170
運用ダッシュボードの設計を誰も教えてくれないのだけどみなさんどうしてるんですか? - チームに監視するという文化を根付かせるための第一歩を踏みたい -
satoshi256kbyte
1
130
実装をデザインガイドラインに追従させるための取り組み / 260731-dip-mosh-design-system
dachi023
0
6k
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
210
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
490
S3 を使うアプリケーションをローカル完結で動かすことに全力を注いでみた / Running S3 Apps Offline
contour_gara
0
540
AIが無かった頃の素敵な出会いの話
codmoninc
1
470
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
500
Balancing Empowerment & Direction
lara
6
1.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
Why Our Code Smells
bkeepers
PRO
340
58k
Speed Design
sergeychernyshev
33
2k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
Building an army of robots
kneath
306
46k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
The Curse of the Amulet
leimatthew05
2
14k
KATA
mclloyd
PRO
35
15k
Transcript
Design Systems with React YnotDraw @_ynotdraw Tony Ward | Software
Engineer @ LifeOmic
Design Language + Shared Components + Documentation = Design System
Design Language
Designer creates the “design language” for your app
Create the voice of your product
Design Elements A defined set of options for: • Typography
sizes and weights • Buttons • Colors • …
Typically these items have a limited set of options
None
None
None
None
Design Tools Tools such as Sketch and Figma allow designers
to create these components, similar to components we have in React
Typically the primitive design elements are composed together to create
other components
Notification is composed of Typography and color palette
Mockups for a feature/product are created by composing these components
together
Design Language ✅ + Shared Components + Documentation = Design
System
Shared Components
Component Examples Primitive components every time you go to build
an app? • Typography sizes and weights • Buttons • Colors • Inputs • …
Your designer probably already created these as part of their
design language
Go build them with React!
Advantage: Agility Now you have a bucket of components to
build out features quickly!
Separate Apps Do you have separate apps under the same
product, that need to look and feel as though they are the same app? (Now made easier with the primitive components! Each app just imports the package.)
Maybe you want to go one step deeper…
Don’t Reinvent the Wheel Share components, utilities, etc. across product
lines
Your app becomes pages composed of many shared, consistent, and
familiar components
Similar to designers, building out a new feature is just
composing existing components together
Goal: Have enough components to build a new feature (Even
better goal: have enough components to build a new product)
So you and your designer built a bunch of components,
how do people learn about them?
Design Language ✅ + Shared Components ✅ + Documentation =
Design System
Documentation
Documentation Tools • Storybook (quick win) • Styleguidist • Mdx-docs
• Custom docs app
Documentation • How to’s: • Import • Use • Props
available • Use cases for components • When to use A vs B • Designers may do well at writing these sections
Design Language ✅ + Shared Components ✅ + Documentation ✅
= Design System
Advantages • Faster feature/product building • UI/UX consistencies and patterns
• Shared components with design • Shared “language” with design
Advantages • Great for onboarding new devs • Well-tested components
working across all browsers
How to Get Started • Build your own from scratch
• Build on top of MUI • Has a ton of components out of the box that are very sane • Can override styles to get going quickly
Out in the Wild • https://github.com/alexpate/awesome-design-systems • Atlas Kit •
Duolingo • GitHub Primer • Audi UI Kit
Design Resource
YnotDraw @_ynotdraw Thanks!