Back to integrations
Add your integration
Categories
  • ⭐️ Popular
  • 🧩 Essentials
  • 🛠 Code
  • ⚡️ Data & state
  • ✅ Test
  • 💅 Style
  • 🎨 Design
  • ⚙️ Appearance
  • 🗄 Organize
How to install addons Create an addon
GitHub
A Storybook addon that allows you to link a source code of your story on GitHub.
npm install @kemuridama/storybook-addon-github
Last updated 10 months ago
201
Downloads per week
Readme View on GitHub

storybook-addon-github

A Storybook addon that allows you to link a source code of your story on GitHub.

Installation

npm i -D @kemuridama/storybook-addon-github

Configuration

Add the following to your .storybook/main.js:

export default {
  addons: ['@kemuridama/storybook-addon-github'],
}

Then, add the following to your .storybook/preview.js:

export default {
  parameters: {
    github: {
      baseURL: "<GitHub Enterprise Server URL (optional)>",
      repository: "<repository name>",
      branch: "<branch name>",
    }
  }
}
Join the community
6,598 developers and counting
WhyWhy StorybookComponent-driven UI
DocsGuidesTutorialsChangelogTelemetryStatus
CommunityAddonsGet involvedBlog
ShowcaseExploreProjectsComponent glossary
Open source software
Storybook

Maintained by
Chromatic
Special thanks to Netlify and CircleCI