<p align="center">
  <a href="https://croct.com" target="_blank">
    <picture>
        <source media="(min-width: 769px) and (prefers-color-scheme: light)" srcset="https://github.com/croct-tech/plug-js/blob/master/.github/assets/header-light.svg">
        <source media="(min-width: 769px) and (prefers-color-scheme: dark)" srcset="https://github.com/croct-tech/plug-js/blob/master/.github/assets/header-dark.svg">
        <source media="(max-width: 768px) and (prefers-color-scheme: dark)" srcset="https://github.com/croct-tech/plug-js/blob/master/.github/assets/header-dark-mobile.svg">
        <source media="(max-width: 768px) and (prefers-color-scheme: light)" srcset="https://github.com/croct-tech/plug-js/blob/master/.github/assets/header-light-mobile.svg">
        <img src="https://github.com/croct-tech/plug-js/blob/master/.github/assets/header-light-mobile.svg" alt="Croct Storyblok Plugin" title="Croct Storyblok Plugin" width="100%">
    </picture>
  </a>
  <br/>
  <strong>Croct Storyblok Plugin for JS</strong><br/>
  Bring dynamic, personalized content natively into your Storyblok-powered applications.
</p>
<div align="center">
    <strong>📘 <a href="https://docs.croct.com/reference/sdk/storyblok/integration">Quick start &rarr;</a></strong>
</div>
<br/>
<p align="center">
    <a href="https://www.npmjs.com/package/@croct/plug-storyblok"><img alt="Version" src="https://img.shields.io/npm/v/@croct/plug-storyblok"/></a>
</p>

## Introduction

Croct is a headless CMS that helps you manage content, run AB tests, and personalize experiences without the hassle of complex integrations.

This plugin provides seamless integration between Croct and Storyblok, allowing you to deliver personalized content within your Storyblok-managed stories.

## Installation

Run this command to install the plugin:

```sh
npm install @croct/plug-storyblok
```

See our [quick start guide](https://docs.croct.com/reference/sdk/storyblok/integration) for more details.

## Documentation

Visit our [official documentation](https://docs.croct.com/reference/sdk/storyblok/integration).

## Support

Join our official [Slack channel](https://croct.link/community) to get help from the Croct team and other developers.

## Contribution

Contributions are always welcome!

- Report any bugs or issues on the [issue tracker](https://github.com/croct-tech/plug-storyblok/issues).
- For major changes, please [open an issue](https://github.com/croct-tech/plug-storyblok/issues) first to discuss what you would like to change.
- Please make sure to update tests as appropriate. Run tests with `npm test`.

## License

This library is licensed under the [MIT license](LICENSE).
