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
Storybook by Nicklas Knell DarmstadtJS cosee GmbH
Search
Nicklas
June 25, 2019
Programming
0
110
Storybook by Nicklas Knell DarmstadtJS cosee GmbH
Overview about Storybook, its use-cases and its features.
Nicklas
June 25, 2019
Tweet
Share
More Decks by Nicklas
See All by Nicklas
Vue vs React - Ein direkter Vergleich
nicklasknell
0
75
Einstieg in Vue.js - Cosee Lightning Talks
nicklasknell
0
68
Other Decks in Programming
See All in Programming
個人軟體時代
ethanhuang13
0
330
Namespace and Its Future
tagomoris
6
710
スケールする組織の実現に向けた インナーソース育成術 - ISGT2025
teamlab
PRO
1
160
時間軸から考えるTerraformを使う理由と留意点
fufuhu
16
4.8k
楽して成果を出すためのセルフリソース管理
clipnote
0
180
AIコーディングAgentとの向き合い方
eycjur
0
280
テストカバレッジ100%を10年続けて得られた学びと品質
mottyzzz
2
610
Laravel Boost 超入門
fire_arlo
3
220
Putting The Genie in the Bottle - A Crash Course on running LLMs on Android
iurysza
0
140
概念モデル→論理モデルで気をつけていること
sunnyone
3
290
MCPとデザインシステムに立脚したデザインと実装の融合
yukukotani
4
1.5k
ぬるぬる動かせ! Riveでアニメーション実装🐾
kno3a87
1
230
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Speed Design
sergeychernyshev
32
1.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Embracing the Ebb and Flow
colly
87
4.8k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.6k
Visualization
eitanlees
148
16k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Statistics for Hackers
jakevdp
799
220k
Making Projects Easy
brettharned
117
6.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The Invisible Side of Design
smashingmag
301
51k
Transcript
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