
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@zeroheight/storybook-addon
Advanced tools
⚠️ Breaking change in 3.x
The env variables must be prefixed with
STORYBOOK_. If you are upgrading from version 2.x, please update your.envfile accordingly.
First, install the package.
npm install --save-dev @zeroheight/storybook-addon
You will need to add a .env to your project to add your zeroheight authentication credentials, which can be created using these instructions:
STORYBOOK_ZH_CLIENT_ID="<your zeroheight Client ID>"
STORYBOOK_ZH_ACCESS_TOKEN="<your zeroheight Access Token>"
Then, register it as an addon in .storybook/main.js.
// .storybook/main.ts
// Replace your-framework with the framework you are using (e.g., react-webpack5, vue3-vite)
import type { StorybookConfig } from '@storybook/your-framework';
const config: StorybookConfig = {
// ...rest of config
addons: [
'@storybook/addon-essentials'
'@zeroheight/storybook-addon',
],
};
export default config;
The primary way to use this addon is to define the zeroheight parameter, which will contain a pageUrl which points to the page you wish to display. You can do this the
component level, as below, to affect all stories in the file, or you can do it for a single story.
// Button.stories.ts
// Replace your-framework with the name of your framework
import type { Meta } from '@storybook/your-framework';
import { Button } from './Button';
const meta: Meta<typeof Button> = {
component: Button,
parameters: {
zeroheight: {
pageUrl: '[page_url]', // e.g. https://developers.zeroheight.com/75fe5b2ed/p/8811ef-get
}
}
};
export default meta;
FAQs
View zeroheight documentation in your stories
The npm package @zeroheight/storybook-addon receives a total of 47 weekly downloads. As such, @zeroheight/storybook-addon popularity was classified as not popular.
We found that @zeroheight/storybook-addon demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.