• Stars
    star
    108
  • Rank 321,259 (Top 7 %)
  • Language
    TypeScript
  • Created about 8 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

React SDK for Storyblok CMS
Storyblok Logo

@storyblok/react

The React plugin you need to interact with Storyblok API and enable the Real-time Visual Editing Experience. This package helps you integrate Storyblok with React along with all types of React based frameworks like Next.js, Remix etc. This SDK also includes the support for React Server Side Components.


Storyblok React npm

Follow @Storyblok Follow @Storyblok

🚀 Usage

If you are first-time user of Storyblok, read the Getting Started guide to get a project ready in less than 5 minutes.

Installation

Install @storyblok/react:

npm install @storyblok/react
// yarn add @storyblok/react

⚠️ This SDK uses the Fetch API under the hood. If your environment doesn't support it, you need to install a polyfill like isomorphic-fetch. More info on storyblok-js-client docs.

From a CDN

Install the file from the CDN:

<script src="https://unpkg.com/@storyblok/react"></script>

Initialization

Register the plugin on your application and add the access token of your Storyblok space. You can also add the apiPlugin in case that you want to use the Storyblok API Client:

import { storyblokInit, apiPlugin } from "@storyblok/react";

/** Import your components */
import Page from "./components/Page";
import Teaser from "./components/Teaser";
// import FallbackComponent from "./components/FallbackComponent";

storyblokInit({
  accessToken: "YOUR_ACCESS_TOKEN",
  use: [apiPlugin],
  components: {
    page: Page,
    teaser: Teaser,
  },
  // bridge: false,
  // apiOptions: {},
  // richText: {},
  // enableFallbackComponent: false,
  // customFallbackComponent: FallbackComponent,
});

Note: This is the general way for initalizing the SDK, the initialization might be a little different depending upon the framework. You can see how everything works according to the framework in their respective sections below.

Add all your components to the components object in the storyblokInit function.

That's it! All the features are enabled for you: the Api Client for interacting with Storyblok CDN API, and Storyblok Bridge for real-time visual editing experience.

You can enable/disable some of these features if you don't need them, so you save some KB. Please read the "Features and API" section

Region parameter

Possible values:

  • eu (default): For spaces created in the EU
  • us: For spaces created in the US
  • ap: For spaces created in Australia
  • ca: For spaces created in Canada
  • cn: For spaces created in China

Full example for a space created in the US:

import { storyblokInit, apiPlugin } from "@storyblok/react";

storyblokInit({
  accessToken: "YOUR_ACCESS_TOKEN",
  use: [apiPlugin],
  apiOptions: {
    region: "us",
  },
  components: {},
});

Note: For spaces created in the United States or China, the region parameter must be specified.

@storyblok/react does three actions when you initialize it:

  • Provides a getStoryblokApi object in your app, which is an instance of storyblok-js-client.
  • Loads the Storyblok Bridge for real-time visual updates.
  • Provides a storyblokEditable function to link editable components to the Storyblok Visual Editor.

For every component you've defined in your Storyblok space, call the storyblokEditable function with the blok content:

import { storyblokEditable } from "@storyblok/react";

const Feature = ({ blok }) => {
  return (
    <div {...storyblokEditable(blok)} key={blok._uid} data-test="feature">
      <div>
        <div>{blok.name}</div>
        <p>{blok.description}</p>
      </div>
    </div>
  );
};

export default Feature;

Where blok is the actual blok data coming from Storyblok's Content Delivery API.

Note: The storyblokEditable function works the same way for all the frameworks and components created.

Getting Started

This SDK provides you the support to work with React and all React Frameworks such as Next.js, Remix etc. Depending upon these different frameworks and versions, the way to use the SDK and the functionalities it provides differ.

Below is the guide and examples on how to use it with different frameworks -

React

The initalization remains the same when you work with React. You can intialze the SDK in the index.js file. Please refer to the 'Initialization' section above to read more.

Fetching Content and Listening to Storyblok Visual Editor events

Use useStoryblok to fetch the content as well as enable live editing. You need to pass the slug as the first parameter, apiOptions as the second parameter, and bridgeOptions as the third parameter, which is optional if you want to set the options for the bridge by yourself. Check the available apiOptions (passed to storyblok-js-client) and bridgeOptions (passed to the Storyblok Bridge).

import { useStoryblok, StoryblokComponent } from "@storyblok/react";

function App() {
  const story = useStoryblok("react", { version: "draft" });

  if (!story?.content) {
    return <div>Loading...</div>;
  }

  return <StoryblokComponent blok={story.content} />;
}

export default App;

StoryblokComponent renders the route components dynamically, using the list of components loaded during the initialization inside the storyblokInit function.

This is how you can pass the Bridge options as a third parameter to useStoryblok:

useStoryblok(
  story.id,
  { version: "draft", resolveRelations: ["Article.author"] },
  {
    resolveRelations: ["Article.author"],
    resolveLinks: "url",
    preventClicks: true,
  }
);

Check out our React Boilerplate here, or read on how to add Storyblok to React in 5 mins here You can also take a look at the React Playground in this repo.

Next.js using App Router - Live Editing support

The components in the app directory are by default React Server Side Components, which limits the reactivity. You can enable Storyblok Visual Editor's live editing with React Server Components by rendering them inside a wrapper (StoryblokPovider) on the client. The SDK allows you to take full advantage of the Live Editing, but the use of Server Side Components is partial, which will be still better than the older Next.js approach performance-wise. The next section explains about how to use complete server side approach.

The SDK has a special module for RSC. Always import @storyblok/react/rsc while using Server Components.

1. Initialize

In app/layout.jsx, call the storyblokInit function, but without loading the component list (we will do that on the client). Wrap your whole app using a StoryblokProvider component (this provider is created in the next step) :

import { storyblokInit, apiPlugin } from "@storyblok/react/rsc";
import StoryblokProvider from "../components/StoryblokProvider";

storyblokInit({
  accessToken: "YOUR_ACCESS_TOKEN",
  use: [apiPlugin],
});

export default function RootLayout({ children }) {
  return (
    <StoryblokProvider>
      <html lang="en">
        <body>{children}</body>
      </html>
    </StoryblokProvider>
  );
}

2. Create StoryblokProvider and Import your Storyblok Components

Create the components/StoryblokProvider.jsx file. Re-initalize the connection with Storyblok (this time, on the client) using storyblokInit, and import your Storyblok components:

/** 1. Tag it as a client component */
"use client";
import { storyblokInit, apiPlugin } from "@storyblok/react/rsc";

/** 2. Import your components */
import Page from "../components/Page";
import Teaser from "../components/Teaser";

/** 3. Initialize it as usual */
storyblokInit({
  accessToken: "YOUR_ACCESS_TOKEN",
  use: [apiPlugin],
  components: {
    teaser: Teaser,
    page: Page,
  },
});

export default function StoryblokProvider({ children }) {
  return children;
}

Note: it's necessary to re-initialize here as well, as to enable the live editing experience inside the Visual Editor you need to initialize the lib universally (client + server).

3. Fetch Content and Render Components

The getStoryblokApi function, which is an instance of storyblok-js-client can be used to fetch the data from the Storyblok API. This should be imported from @storyblok/react/rsc. You can render the content of your route with the StoryblokStory component, which will automatically handle the Visual Editor live events when editing the story. In app/page.jsx, use them as follows:

import { getStoryblokApi, StoryblokStory } from "@storyblok/react/rsc";

export default async function Home() {
  const { data } = await fetchData();

  return (
    <div>
      <StoryblokStory story={data.story} />
    </div>
  );
}

export async function fetchData() {
  const storyblokApi = getStoryblokApi();
  return storyblokApi.get(`cdn/stories/home`, { version: "draft" });
}

StoryblokStory keeps the state for thet story behind the scenes and uses StoryblokComponent to render the route components dynamically, using the list of components loaded during the initialization inside the storyblokInit function. You can use the StoryblokComponent inside the components to render the nested components dynamically. You can also pass bridge options to StoryblokStory using the prop bridgeOptions.

const bridgeOptions = { resolveRelations: ["article.author"] };

<StoryblokStory story={data.story} bridgeOptions={bridgeOptions} />;

Note: To use this approach (with getStoryblokApi), you need to include the apiPlugin module when calling storyblokInit function. If you don't use apiPlugin, you can use your preferred method or function to fetch your data.

To try this setup, take a look at the Next 13 Live Editing Playground in this repo.

Next.js using App Router - Full React Server Components

If you want to use the Next.js app directory approach, and React Server Components exclusively with everything on the server side, follow this approach.

The SDK has a special module for RSC. Always import @storyblok/react/rsc while using Server Components.

Limitation - Real-time editing won't work if all the components are rendered on the server. Although, you can see the changes applied in the Visual Editor whenever you save or publish the changes applied to the story.

1. Initialize and Import your Storyblok Components

The initialzation remains the same here as well. Please refer to the above section about "Initialization" for more information about storyblokInit function. In app/layout.jsx, call the storyblokInit function and use the new StoryblokBridgeLoader component to set up the Storyblok bridge. This Bridge Loader can be imported from @storyblok/react/bridge-loader:

import { storyblokInit, apiPlugin, StoryblokBridgeLoader } from "@storyblok/react/rsc";

import Page from "../components/Page";
import Teaser from "../components/Teaser";

storyblokInit({
  accessToken: "YOUR_ACCESS_TOKEN",
  use: [apiPlugin],
  components: {
    teaser: Teaser,
    page: Page,
  },
});

export default RootLayout({ children }) =>{
  const bridgeOptions = { resolveRelations: ["article.author"] };

  return (
    <html lang="en">
      <body>{children}</body>
      <StoryblokBridgeLoader options={bridgeOptions} />
    </html>
  );
}

As the name says, StoryblokBridgeLoader loads the bridge on the client. It helps you see the dotted lines and allows you to still click on the components inside the Visual Editor to open their schema. You can pass the bridge options using the options prop.

2. Fetch Content and Render Components

The getStoryblokApi function, is an instance of storyblok-js-client can be used to fetch the data from the Storyblok API. This is imported from @storyblok/react/rsc. Go to the route you want to fetch data from and use it as follows:

import { getStoryblokApi, StoryblokComponent } from "@storyblok/react/rsc";

export default async function Home() {
  const { data } = await fetchData();

  return (
    <div>
      <h1>Story: {data.story.id}</h1>
      <StoryblokComponent blok={data.story.content} />
    </div>
  );
}

export async function fetchData() {
  const storyblokApi = getStoryblokApi();
  return storyblokApi.get(`cdn/stories/home`, { version: "draft" });
}

Note: To use this approach (with getStoryblokApi), you need to include the apiPlugin module when calling storyblokInit function. If you don't use apiPlugin, you can use your preferred method or function to fetch your data.

StoryblokComponent renders the route components dynamically, using the list of components loaded during the initialization inside the storyblokInit function. To try it, take a look at the Next 13 RSC Playground in this repo.

Next.js using Pages Router

In this section, we'll see how to use the React SDK with the pages directory approach.

The initalization remains the same when you work with Next.js. You can intialze the SDK in the _app.js file. Please refer to the 'Initialization' section above to read more.

1. Fetching Content

The SDK provides a getStoryblokApi object in your app, which is an instance of storyblok-js-client. This can be used to fetch the content from Storyblok. You can use it in functions like getStaticProps, getStaticPaths, getServerSideProps etc.

import { getStoryblokApi } from "@storyblok/react";

// At the required place
const storyblokApi = getStoryblokApi();
const { data } = await storyblokApi.get("cdn/stories", { version: "draft" });

Note: To use this approach, you need to include the apiPlugin module when calling storyblokInit function. If you don't use apiPlugin, you can use your preferred method or function to fetch your data.

2. Listening to Storyblok Visual Editor events

The SDK also provides you with the useStoryblokState hook. It works similarly to useStoryblok for live editing, but it doesn't fetch the content. Instead, it receives a story object as the first parameter. You can also pass the Bridge Options as the second parameter.

import { useStoryblokState, StoryblokComponent } from "@storyblok/react";

export default function Home({ story: initialStory }) {
  const story = useStoryblokState(initialStory);

  if (!story.content) {
    return <div>Loading...</div>;
  }

  return <StoryblokComponent blok={story.content} />;
}

In this case, the story is being passed as a prop that can be coming from where the story is being fetched. A complete example would look like this-

import {
  useStoryblokState,
  getStoryblokApi,
  StoryblokComponent,
} from "@storyblok/react";

export default function Home({ story: initialStory }) {
  const story = useStoryblokState(initialStory);

  if (!story.content) {
    return <div>Loading...</div>;
  }

  return <StoryblokComponent blok={story.content} />;
}

export async function getStaticProps({ preview = false }) {
  const storyblokApi = getStoryblokApi();
  let { data } = await storyblokApi.get(`cdn/stories/react`, {
    version: "draft",
  });

  return {
    props: {
      story: data ? data.story : false,
      preview,
    },
    revalidate: 3600, // revalidate every hour
  };
}

StoryblokComponent renders the route components dynamically, using the list of components loaded during the initialization inside the storyblokInit function.

Check out the code for the first part of our Next.js + Storyblok Ultimate Tutorial. Or you can also read on how to add Storyblok to a Next.js project in 5 minutes here

3. Adding components per page

If you are using the pages router, you might want to load your components per page, instead of all in the _app file.

If you load all components in the _app file with storyblokInit funciton, the JavaScript for all of those components will be loaded on every page, even on pages where most of these components might not be used.

A better approach is to load these components on a per-page basis, reducing the JS bundle for that page, improving your load time, and SEO.

Simply execute storyblokInit in the _app file as you did before, but omit the components object and the component imports like so:

import { storyblokInit, apiPlugin } from "@storyblok/react";

/** Import your components */
-import Page from "./components/Page";
-import Teaser from "./components/Teaser";

storyblokInit({
  accessToken: "YOUR_ACCESS_TOKEN",
  use: [apiPlugin],
- components: {
-   page: Page,
-   teaser: Teaser,
- },
});

After that, use the setComponent method in each of your pages, to only load the components you need for that particular page:

import React from "react";
import Teaser from "../components/teaser";
import Grid from "../components/grid";
import Page from "../components/page";
import Feature from "../components/feature";

import {
  useStoryblokState,
  StoryblokComponent,
+  setComponents,
} from "@storyblok/react";

export default function Home({
  story: initialStory,
}: InferGetStaticPropsType<typeof getStaticProps>) {

+  setComponents({
+    teaser: Teaser,
+    grid: Grid,
+    feature: Feature,
+    page: Page,
+  })

  const story = useStoryblokState(initialStory);

  if (!story.content) {
    return <div>Loading...</div>;
  }

  return <StoryblokComponent blok={story.content} />;
}

Features and API

You can choose the features to use when you initialize the plugin. In that way, you can improve Web Performance by optimizing your page load and save some bytes.

Storyblok API

You can use an apiOptions object. This is passed down to the storyblok-js-client config object:

storyblokInit({
  accessToken: "YOUR_ACCESS_TOKEN",
  apiOptions: {
    // storyblok-js-client config object
    cache: { type: "memory" },
  },
  use: [apiPlugin],
  components: {
    page: Page,
    teaser: Teaser,
    grid: Grid,
    feature: Feature,
  },
});

If you prefer to use your own fetch method, just remove the apiPlugin and storyblok-js-client won't be added to your application.

storyblokInit({});

Storyblok Bridge

If you don't use registerStoryblokBridge, you still have access to the raw window.StoryblokBridge:

const sbBridge = new window.StoryblokBridge(options);

sbBridge.on(["input", "published", "change"], (event) => {
  // ...
});

Rendering Rich Text

You can easily render rich text by using the renderRichText function that comes with @storyblok/react:

import { renderRichText } from "@storyblok/react";

const renderedRichText = renderRichText(blok.richtext);

You can set a custom Schema and component resolver globally at init time by using the richText init option:

import { RichTextSchema, storyblokInit } from "@storyblok/react";
import cloneDeep from "clone-deep";

const mySchema = cloneDeep(RichTextSchema); // you can make a copy of the default RichTextSchema
// ... and edit the nodes and marks, or add your own.
// Check the base RichTextSchema source here https://github.com/storyblok/storyblok-js-client/blob/main/src/schema.ts

storyblokInit({
  accessToken: "<your-token>",
  richText: {
    schema: mySchema,
    resolver: (component, blok) => {
      switch (component) {
        case "my-custom-component":
          return `<div class="my-component-class">${blok.text}</div>`;
        default:
          return "Resolver not defined";
      }
    },
  },
});

You can also set a custom Schema and component resolver only once by passing the options as the second parameter to renderRichText function:

import { renderRichText } from "@storyblok/react";

renderRichText(blok.richTextField, {
  schema: mySchema,
  resolver: (component, blok) => {
    switch (component) {
      case "my-custom-component":
        return `<div class="my-component-class">${blok.text}</div>`;
        break;
      default:
        return `Component ${component} not found`;
    }
  },
});

We also recommend using the Storyblok Rich Text Renderer for React by Claus for rendering your Storyblok rich text content to React elements and Next.js applications.

Using fallback components

By default, @storyblok/react returns an empty <div> if a component is not implemented. Setting enableFallbackComponent to true when calling storyblokInit bypasses that behavior, rendering a fallback component in the frontend instead. You can use the default fallback component, or create a custom React fallback component in your project and use it by setting customFallbackComponent: [YourFallbackComponent].

The Storyblok JavaScript SDK Ecosystem

A visual representation of the Storyblok JavaScript SDK Ecosystem

🔗 Related Links

  • Storyblok Technology Hub: Storyblok integrates with every framework so that you are free to choose the best fit for your project. We prepared the technology hub so that you can find selected beginner tutorials, videos, boilerplates, and even cheatsheets all in one place.
  • Getting Started: Get a project ready in less than 5 minutes.
  • Storyblok CLI: A simple CLI for scaffolding Storyblok projects and fieldtypes.
  • Storyblok Next.js Technology Hub: Learn how to develop your own Next.js applications that use Storyblok APIs to retrieve and manage content.
  • Storyblok React.js example demo: See and try how React SDK works with React.js projects
  • Storyblok Next.js example demo: See and try how React SDK works with Next.js projects

ℹ️ More Resources

Support

Contributing

Please see our contributing guidelines and our code of conduct. This project use semantic-release for generate new versions by using commit messages and we use the Angular Convention to naming the commits. Check this question about it in semantic-release FAQ.

More Repositories

1

storyblok

Info about Storyblok
309
star
2

storyblok-nuxt

Storyblok Nuxt module
TypeScript
256
star
3

nextjs-multilanguage-website

Nextjs Multilanguage Website
JavaScript
144
star
4

nuxtjs-multilanguage-website

Nuxtjs Multilanguage Website
Vue
137
star
5

storyblok-js-client

Universal JavaScript client for Storyblok's API
TypeScript
125
star
6

storyblok-astro

Astro SDK for Storyblok CMS
TypeScript
120
star
7

nuxtdoc

A setup to build beautiful documentation with Nuxt and Storyblok deployed on Netlify for everyone
Vue
104
star
8

awesome-storyblok

A curated list of awesome things related to Storyblok CMS. 😏
101
star
9

storyblok-design-system

Design System for the Storyblok UI.
TypeScript
86
star
10

storyblok-svelte

Svelte SDK for Storyblok CMS
Svelte
83
star
11

storyblok-vue

Vue.js SDK for Storyblok CMS
TypeScript
82
star
12

react-next-boilerplate

Nextjs Storyblok boilerplate
JavaScript
61
star
13

vue-nuxt-boilerplate

Nuxt.js Storyblok boilerplate
Vue
52
star
14

storyblok-docs

A Nuxt.js setup to generate an intuitive, readable and collaborative API documentation with copy and paste able examples
Vue
52
star
15

gatsby-source-storyblok

Gatsby source plugin for building websites using the Storyblok headless CMS as a data source.
JavaScript
43
star
16

bootstrap-nuxt-demo

Storyblok Demo Website using Nuxt
Vue
39
star
17

gatsby-storyblok-boilerplate

Gatsby starter template with Storyblok's headless cms and true preview
JavaScript
37
star
18

storyblok-php-client

Storyblok - PHP Client
PHP
31
star
19

storyblok-js

JavaScript SDK to connect Storyblok with your favourite framework that we don't have an official SDK for.
TypeScript
29
star
20

nuxtwebsite

A simple Nuxt.js setup to create websites with blog feature using Storyblok as CMS and Netlify to deploy it.
Vue
28
star
21

storyblok-demo-default

Vue
26
star
22

storyblok-cli

The repo for our Storyblok CLI
JavaScript
25
star
23

field-plugin

Create and deploy Storyblok Field Plugin
TypeScript
25
star
24

nuxt-ultimate-tutorial

Vue
25
star
25

storyblok-ruby-client

Storyblok ruby client for easy access of the content delivery api
Ruby
24
star
26

gridsome-source-storyblok

Official Storyblok source plugin for Gridsome
JavaScript
23
star
27

vuejs-boilerplate

Storyblok - JavaScript - VueJS Boilerplate
JavaScript
22
star
28

talk-from-zero-to-nextjs-hero

JavaScript
22
star
29

field-type-examples

A collection of field-types by the community
TypeScript
21
star
30

sveltekit-ultimate-tutorial

Ultimate Tutorial Series for Integrating Storyblok with SvelteKit projects
Svelte
19
star
31

getting-started

An example hello world project build with Nuxt.js / Next.js for the Storyblok.
JavaScript
18
star
32

tool-examples

A collection of tools to use with Storyblok by the community
JavaScript
18
star
33

next.js-13-boilerplate

JavaScript
17
star
34

wordpress-importer

A simple script for migrating content from WordPress to Storyblok.
JavaScript
17
star
35

storyblok-vuestorefront

Demo project for integration of Vue Storefront with Storyblok
Vue
16
star
36

storyblok-svelte-boilerplate

Code of the tutorial: Add a headless CMS with live preview to Svelte and Sapper in 5 minutes
JavaScript
16
star
37

gatsbyjs-multilanguage-website

Multilanguage website built with GatsbyJS and Storyblok
JavaScript
15
star
38

nextjs-bigcommerce-starter

TypeScript
15
star
39

nuxtjs

A NuxtJS Website with Storyblok as content source.
Vue
13
star
40

storyblok-gridsome-boilerplate-moon

Storyblok's Gridsome Boilerplate (Moon-Theme)
Vue
13
star
41

nuxt-storyblok-snipcart

Nuxt.js Storyblok Boilerplate with Snipcart integration
Vue
13
star
42

storyblok-markdown-richtext

A html/markdown to Storyblok richtext converter
JavaScript
13
star
43

storyblok-translations

Repository to contribute translations for app.storyblok.com
13
star
44

jekyll

Add a headless CMS to Jekyll
Ruby
12
star
45

storyblok-fieldtype

Tool for creating custom fieldtypes for Storyblok with babel, browserify and hotreload
Vue
12
star
46

storyblok-express-boilerplate

Node.js Express boilerplate
CSS
11
star
47

storyblok-workflow-app

Example Storyblok app
Vue
11
star
48

storyblok-angular-example

TypeScript
10
star
49

next.js-ultimate-tutorial

JavaScript
10
star
50

rails-boilerplate

Ruby on Rails Storyblok Starter Boilerplate
Ruby
10
star
51

big-commerce-nuxt-starter

A starter shop template for Big Commerce with Storyblok
Vue
9
star
52

storyblok-integration-field-starter

Custom integration field type starter kit for Storyblok
Vue
9
star
53

storyblok-python-client

Storyblok API library client for python
Python
9
star
54

storyblok-create-demo

Set up a modern framework app with Storyblok by running one command.
TypeScript
9
star
55

storyblok-nextjs-multilanguage-isr-ssg-ssr

JavaScript
8
star
56

nuxt-auth

Storyblok authentification module for the Nuxt.js
JavaScript
8
star
57

talk-blazingly-fast-nuxtjs

Vue
8
star
58

storyblok-react-native-starter

A Starter Kit for Storyblok with React Native (Expo)
JavaScript
8
star
59

silex-boilerplate

Storyblok - PHP - Silex Boilerplate
PHP
8
star
60

space-tool-plugins

TypeScript
8
star
61

storyblok-nuxt-beta

JavaScript
8
star
62

storyblok-gridsome-boilerplate

Storyblok starter boilerplate for Gridsome
Vue
8
star
63

default-datasources

Storyblok - Default Datasources for Single Choice's
7
star
64

remix-ultimate-tutorial

JavaScript
7
star
65

storyblok-react-example

Example of the integration of Storyblok in React
JavaScript
7
star
66

storyblok.github.io

Client Side Integration of the headless Storyblok CMS directly in a github page.
HTML
6
star
67

storyblok-nuxt-2

JavaScript
6
star
68

storyblok-ruby-richtext-renderer

This is Storyblok's rendering service to render html from the data of the richtext field type.
Ruby
6
star
69

storyblok-php-richtext-renderer

Storyblok PHP Richtext Renderer converts the RichText field into HTML
PHP
6
star
70

nodejs-boilerplate

Storyblok - NodeJS - Boilerplate
JavaScript
5
star
71

nextjs-persisted-query-graphql-example

Example of Next.js + Apollo + Storyblok GraphQL api with persisted queries
JavaScript
5
star
72

mui

TypeScript
5
star
73

django-boilerplate

Storyblok - Python - Django Boilerplate
Python
5
star
74

lambda-form-submission

Serverless Form Submission via AWS Lambda and Storyblok as Storage
HTML
5
star
75

storyblok-csv-import-example

An example on how to read a local CSV file and push it into Storyblok using the Management API.
JavaScript
5
star
76

lambda-crawler

Lambda Crawler which extracts content from websites and saves it to Amazon DynamoDB
JavaScript
4
star
77

storyblok-commerce

Commerce Interface and Modules
Vue
4
star
78

lambda-crawler-aws-elasticsearch

Lambda Crawler which extracts content from websites and saves it to AWS Elasticsearch
JavaScript
4
star
79

storyblok-vue-starter

Vue
4
star
80

astro-ultimate-tutorial

Astro
4
star
81

starter-template

DEPRECATED - Storyblok - Start Template
CSS
4
star
82

quickstart

🚀 Quickstart for Rendering Service
Liquid
4
star
83

cloudflare-next-example

A Next.js template application on how to use cloudflare pages for hosting applications built on Storyblok
JavaScript
4
star
84

sinatra-boilerplate

Ruby/Sinatra Example of a Storyblok Integration
CSS
4
star
85

storyblok-graphql-react-apollo

Demo project showcasing Storyblok's GraphQL api
JavaScript
4
star
86

storyblok-tool-example

Example of a Storyblok toolbar app
Vue
4
star
87

city-theme

City Theme for Storyblok
CSS
4
star
88

serverless-custom-app-starter

A starter repository with Nuxt.js to create a custom application in Storyblok
JavaScript
3
star
89

tutorial-websites-scraper

JavaScript
3
star
90

storyblok-react-starter

JavaScript
3
star
91

storyblok-vuejs-website

A demo website using Storyblok with Vuejs
CSS
3
star
92

example-scripts

Collection of example node.js or scripts for imports, exports or other kind of tasks one would like to perform with Storyblok.
JavaScript
3
star
93

gulp-blok

Storyblok - Gulp Plugin
JavaScript
3
star
94

storyblok-sync-script

JavaScript
2
star
95

quickstart-templates

JavaScript
2
star
96

storyblok-fieldtype-react

Storyblok fieldtype plugin with React thanks to Vuera
HTML
2
star
97

nextjs-personalization-demo

nextjs-personalization-demo
JavaScript
2
star
98

gatsby-storyblok-boilerplate-v2

Gatsby (v2) starter template with Storyblok's headless cms and true preview
CSS
2
star
99

grunt-blok

Storyblok - Grunt Plugin
JavaScript
2
star
100

storyblok-app-example

JavaScript
2
star