
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@degjs/storybook-addon-taffy
Advanced tools
Taffy is a responsive viewport addon for Storybook. This addon was heavily inspired by Ish, the delightful resizer built into Pattern Lab, Brad Frost's atomic design visualizer and static site generator.
Although there are other Storybook resizers out there, Taffy brings some great new features to the party, including:
Install the following npm module in your project:
npm i --save-dev @degjs/storybook-addon-taffy
Then, register the addon in the addons array in .storybook/main.js:
module.exports = {
...
addons: [
'@degjs/storybook-addon-taffy/register'
]
};
Finally, import withTaffy and add the decorator within .storybook/preview.js, like this:
import { addDecorator } from '@storybook/react';
import { withTaffy } from '@degjs/storybook-addon-taffy';
addDecorator(withTaffy);
That's it! Restart your Storybook build, and you should see Taffy controls in the toolbar, as well as a resize handle on the right side of your story previews.
FAQs
A responsive viewport addon for Storybook
We found that @degjs/storybook-addon-taffy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.