Using Storybook¶
See YouTube channel
Top Toolbar¶

Canvas¶
- play around with one story

Docs¶

Add-ons (Bottom toolbar)¶

Controls 🕹️¶
- replaces the
knobsadd on 
Actions¶

-
see what parameters are being passed in to event handlers
- Mock query params
- Interaction Testing
Accessibility¶
- runs some a11y tests
- recommends some manual checks

Troubleshooting¶
Storybook is stuck loading locally!¶
If you're getting this error in the browser console: Singleton client API not yet initialized
Reinstall your node_modules
The bottom controls bar disappeared! What do I do?¶
You may have pressed S, A, T or F which toggle the visibility of the controls


- I don't see the add-ons toolbar!
- Keyboard shortcut: Press
SAT
- Keyboard shortcut: Press
Why isn't my story showing up?¶
- Did you name it *.stories.tsx?
- Is there a syntax/runtime error in your story? (check the browser console)
- Is the default export's title unique?
How do I change the order of stories?¶
Modify the order in .storybook/preview.js
Last update:
2023-04-24