{"id":19499454,"url":"https://github.com/stackbit/storybook-addon","last_synced_at":"2025-07-05T17:36:57.486Z","repository":{"id":62991990,"uuid":"563350970","full_name":"stackbit/storybook-addon","owner":"stackbit","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-04T16:41:18.000Z","size":904,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T02:30:54.351Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackbit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-08T12:40:38.000Z","updated_at":"2023-07-25T15:03:46.000Z","dependencies_parsed_at":"2024-10-13T07:00:56.515Z","dependency_job_id":"7add3d1f-019f-4b1a-b0f7-9965cacb0f36","html_url":"https://github.com/stackbit/storybook-addon","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.0714285714285714,"last_synced_commit":"146fba24bb4466ad52fc23f5a0482e1c22034f40"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbit%2Fstorybook-addon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbit%2Fstorybook-addon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbit%2Fstorybook-addon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbit%2Fstorybook-addon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackbit","download_url":"https://codeload.github.com/stackbit/storybook-addon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240746953,"owners_count":19850998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T22:04:21.685Z","updated_at":"2025-02-25T21:17:49.393Z","avatar_url":"https://github.com/stackbit.png","language":"JavaScript","readme":"# @stackbit/storybook-addon\nA Storybook add-on that lets you generate Stackbit models and presets from your components and stories, to add to your Stackbit project. \n\nThis is useful for scaffolding model definitions and presets in a new project, based on your existing stories. The generated models will usually not include all relevant fields - but can serve as a good basis to improve upon later.\n\nhttps://user-images.githubusercontent.com/2673881/200615123-d7277ed1-85c2-4aa3-b9e3-688be2874662.mp4\n\n## Installation\n\nInstall the package:\n\n```bash\nnpm install -D @stackbit/storybook-addon\n```\n\nThen, include the add-on in your Storybook config file (`.storybook/main.js`):\n\n```javascript\n// .storybook/main.js\n\nmodule.exports = {\n    stories: [\n        // ...\n    ],\n    addons: [\n        '@stackbit/storybook-addon'\n    ],\n};\n```\n\n## Usage\n\nOnce installed, re-launch Storybook you will see a _Stackbit_ tab next to the standard _Controls_ and _Actions_ tab, through which you can download the model file and presets for the current story. \n\nPlease note the displayed list of which fields are of a supported type and included in the model. For others, you can then define these model fields yourself (see [Definining Models](https://docs.stackbit.com/reference/defining-models)).\n\nIf you have any questions, please contact us through any of the [support channels](https://www.stackbit.com/support), e.g. on [Discord](https://discord.gg/HUNhjVkznH).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackbit%2Fstorybook-addon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackbit%2Fstorybook-addon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackbit%2Fstorybook-addon/lists"}