Industry standard frontend workshop. Develop, test, and document components with ease. Open-source & maintained by @chromaticcom

npx storybook@latest init
Storybook retweeted
We're hosting a webinar with @stackblitz on designing, testing, documenting, and efficiently utilizing components. 🗓️ Jun 12, 2024 🕔 5pm GMT 🎟️ Register to save a spot: crowdcast.io/c/stackblitz-ch…
1
3
9
1,034
We’re very excited to make it easier than ever to get started and stay productive creating stories for your components. Learn more about interactive story generation in our just-published blog post: storybook.js.org/blog/intera…
4
717
✨ Add new components from the sidebar (React-only, while we solidify the workflow!) 1. Press the + button 2. Search for your component 3. Select the component to generate a stories file with a basic starting story 4. Change some controls and create new stories from there
1
1
8
828
💾 Save modifications to existing stories Doing this in the UI is super handy: 1. Open a story and play around with some values in the Controls tab 2. Press the Save button in the toolbar that appears to save the changes to the current story
1
2
292
🎛️ Create new stories using controls Easy as 1-2-(there is no 3): 1. Open a story and change some values in the Controls tab 2. Press the New button in the toolbar that appears to create a new story with those values
1
1
7
358
Interactive story generation: Edit and create stories from Storybook’s UI! 🎛️ Create new stories using controls 💾 Save modifications to existing stories ✨ Add new components from the sidebar Let’s look at each one…
1
20
89
10,529
Nelson (@chibukasiaNelly) will be taking us through testing components in isolation using @storybookjs and Component Driven Development #reactdevske #reactjskenya #reactjske 2/4
1
3
6
1,224
🔥 VSCode extension to open Storybook directly from your active files. Made by @ygkn35034 marketplace.visualstudio.com…
2
20
140
14,830
Storybook retweeted
1k installs!🎉
4
45
5,451
Really fun meetup at @HackerHouseTW last week. Thanks @thorwebdev for hosting and inviting me to talk about @storybookjs ! 🙏
We had a blast presenting the #OSS #AI meetup in Taipei last week with awesome talks by @bdon 🗺️ @mshilman 💅 @thorwebdev ⚡️@onggunhao 💻 and @yuaanlin 🤖 You can find the recordings on our YouTube 👉 go.thor.bio/hhtw-yt Thanks @PicCollage for hosting 🫶
3
11
2,920
Storybook retweeted
One of the best component testing solutions out there is @storybookjs, and they're continuing to innovate by using JS standards-based mocking techniques. storybook.js.org/blog/type-s…
1
7
22
1,989
In the second blog of this series, I have delved into setting up @storybookjs v8 and Chromatic on the @AsyncAPISpec website: engineeringwithashmit.hashno…
1
4
1,324
Did you know that typesafe module mocking is available via a standard package.json field? And that it's already supported by Node, Webpack, Vite, and TypeScript? Hoping we can help pave the way to make this the new norm in testing. 🚀
Our latest post covers the new module mocking API in Storybook 8.1. storybook.js.org/blog/type-s…
1
5
1,850
We’re really excited about the capabilities this brings to Storybook, especially component testing. Read the post for more details and hints at what’s coming next. storybook.js.org/blog/type-s…
2
4
1,377
Using that mock in stories looks like this. 🎭 We can modify its behavior for each story using Storybook’s new `beforeEach` hook 📝 The Actions panel will now log whenever the function is called ✅ We can assert on the calls in the play function
1
2
794
That mock file looks something like this. See that `fn` call? That produces a fully type-safe Vitest mock function, with all of its methods, that’s automatically spied in Storybook.
1
1
139
Storybook's module mocking is based on Subpath Imports, a Node standard supported by much of the JS ecosystem: TypeScript, Webpack, Vite, Vitest, Jest, etc. The config below will resolve the `#lib/settings` absolute import to the mock file when loaded in Storybook.
1
1
198
Our latest post covers the new module mocking API in Storybook 8.1. storybook.js.org/blog/type-s…
3
17
74
6,934
Replying to @kettanaito
Looking at @vitest_dev browser mode to build an amazing component testing experience for @storybookjs. We should have more to announce soon! vitest.dev/guide/browser
5
3
40
4,018
Storybook retweeted
Transform your UI development workflow! 🚀 Join experts from @stackblitz and @chromaticcom to discover how to design, test, document, and utilize components efficiently. 🗓️ Jun 12, 2024 🕔 5pm GMT Registration link in thread ⬇️
1
6
8
2,714