Announcing Storybook 3.3
Angular Support, Device Viewports, Test Improvements, & more!
Happy new year! The Storybook elves have been hard at work this holiday season and we’re excited to announce Storybook 3.3, the latest installment in our quest to bring awesomeness to the world’s favorite UI component development environment.
With Storybook 3.3 you can:
- Use storybook on your Angular projects (v4+)
- Adjust the preview viewport to simulate different device sizes
- Preview test results in Storybook
- And more!
Read on to get the skinny on all the good stuff we’ve cooked up for you to improve your UI productivity in 2018.
Storybook for Angular
After our 3.2 Release showed the ease of bringing Storybook component development to Vue, Carlos Vega was inspired to repeat the trick for Angular. Angular was a bigger job than expected, but Carlos pulled it off with help from Igor Davydkin and Ruslan Alzinov:
Getting started with your Angular project is dead simple:
npm i -g @storybook/cli
cd my-angular-project
getstorybook
npm run storybook
Stay tuned for a full post soon about the careful considerations that went into this Angular work. Please subscribe below!
Device Viewports
A second headline feature of 3.3 is the Viewports Addon from Josh Callender at Lyft. Test your components’ responsive behavior on different preset device sizes: