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
Storybook by Nicklas Knell DarmstadtJS cosee GmbH
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Nicklas
June 25, 2019
Programming
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Storybook by Nicklas Knell DarmstadtJS cosee GmbH
Overview about Storybook, its use-cases and its features.
Nicklas
June 25, 2019
Transcript
30 slides
None
Nicklas Knell Frontend Engineer
[email protected]
@nicklas_knell
Why you might wanna use Storybook! → Managing many components
→ Building components in isolation → Enforcing a consistent design across one or more projects
One example for Consistent Design
What is Storybook?
What is Storybook? UI-Documentation Living Styleguide Component Explorer Isolated Development
Environment Testing Environment
None
None
How does it work? Storybook is just a web app
that you also can serve as static app.
Getting started npx -p @storybook/cli sb init
“Did you know that a whopping 18% of Storybook support
issues are related to configuration problems?!” - Michael Shilman
Presets New since v5.1 Simplify Storybook configuration Typescript SCSS
What is a story? Plain JavaScript Representation of a component
How is a story written?
Knobs Actions Source Notes A11y Backgrounds Links Viewport Addons
Addons Additionally you can write your own addons or browse
other community addons.
Knobs Provides a set of inputs to dynamically change a
components props.
Knobs text boolean number number in range color files object
array select radio buttons options date
Actions Actions are an easy way to log that an
event has happened.
Notes With Notes you can write simple text or markdown
to improve your components documentation.
Viewport Viewport provides a wide range of screen sizes to
choose from
Source View the stories source directly in Storybook.
Links If your component is a composition of other components,
you can link the stories of them in your story.
Backgrounds
Backgrounds
A11y View you stories in different types of color blindness.
A11y Analyse your components directly in Storybook.
Centered
Live Demo
+ Stories are written super fast + Addons provide an
huge amount of features + Easily browse and mock your components - Setup can be a hell of a ride Conclusion
More Decks by Nicklas
See All by Nicklas
Vue vs React - Ein direkter Vergleich
nicklasknell
0
95
Einstieg in Vue.js - Cosee Lightning Talks
nicklasknell
0
76
Other Decks in Programming
See All in Programming
数行の変更でDockerビルドを最大91%高速化~GitLab CIの実行基盤を社内40リポジトリに展開するまで~
picopico
3
1.1k
エラーチャンネルのボールを拾い続けて鍛えるエンジニアの地力 / phpcon-niigata2026
meihei3
1
520
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
170
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
470
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1.1k
Spec-driven Development with AI
simas
PRO
0
2.3k
AIコーディングをセッションで終わらせない: PHPライブラリ開発におけるコンテキスト承継設計
ickx
0
110
RaspberryPi 5で軽くはじめるk3sとtailscaleを用いたホームサーバー構築 (1)
nasum
0
450
protojson における文字化けの扱い
kazuki1023
0
470
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
330
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
440
Stage 3でも仕様は変わる。アプリケーション開発者のためのTC39プロセスの読み方
bicstone
1
1k
Featured
See All Featured
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
4 Signs Your Business is Dying
shpigford
187
23k
Side Projects
sachag
456
43k
30 Presentation Tips
portentint
PRO
1
480
Six Lessons from altMBA
skipperchong
29
4.6k
For a Future-Friendly Web
brad_frost
184
11k
Design in an AI World
tapps
1
400
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
320
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Unsuck your backbone
ammeep
672
58k