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
78
Einstieg in Vue.js - Cosee Lightning Talks
nicklasknell
0
72
Other Decks in Programming
See All in Programming
Windows on Ryzen and I
seosoft
0
400
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
420
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
330
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
150
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
2
400
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
170
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
290
Understanding Apache Lucene - More than just full-text search
spinscale
0
140
The free-lunch guide to idea circularity
hollycummins
0
360
KagglerがMixSeekを触ってみた
morim
0
320
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
140
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
150
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
0
280
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
600
RailsConf 2023
tenderlove
30
1.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Curse of the Amulet
leimatthew05
1
11k
Building AI with AI
inesmontani
PRO
1
820
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
150
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.8k
The SEO identity crisis: Don't let AI make you average
varn
0
420
Building Flexible Design Systems
yeseniaperezcruz
330
40k
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