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
76
Einstieg in Vue.js - Cosee Lightning Talks
nicklasknell
0
68
Other Decks in Programming
See All in Programming
Claude CodeによるAI駆動開発の実践 〜そこから見えてきたこれからのプログラミング〜
iriikeita
0
360
bootcamp2025_バックエンド研修_WebAPIサーバ作成.pdf
geniee_inc
0
140
pnpm に provenance のダウングレード を検出する PR を出してみた
ryo_manba
1
160
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
200
One Enishi After Another
snoozer05
PRO
0
170
TransformerからMCPまで(現代AIを理解するための羅針盤)
mickey_kubo
7
5.6k
オープンソースソフトウェアへの解像度🔬
utam0k
17
3.2k
NIKKEI Tech Talk#38
cipepser
0
300
Developer Joy - The New Paradigm
hollycummins
1
370
CSC305 Lecture 12
javiergs
PRO
0
240
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
330
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Takibiというライブラリを作っている
nakita628
0
330
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
140
7.2k
Agile that works and the tools we love
rasmusluckow
331
21k
Into the Great Unknown - MozCon
thekraken
40
2.1k
Site-Speed That Sticks
csswizardry
13
930
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
130k
Code Reviewing Like a Champion
maltzj
526
40k
How to Ace a Technical Interview
jacobian
280
24k
Visualization
eitanlees
150
16k
For a Future-Friendly Web
brad_frost
180
10k
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