3.25.1 • Published 1 year ago

@storyblok/design-system v3.25.1

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

Storyblok's Design System

This Design System is an open-source collection of components that are used in app.storyblok.com and is continiously developed to improve Storyblok.

Demo

You can see the Design System live under https://next.blok.ink

Compatibility

The @storyblok/design-system package is compatible with Vue 3 only. For Vue 2, please use the storyblok-design-system package.

Getting started

To install the Design System in your project you need to install the package first

npm install @storyblok/design-system --save
yarn add @storyblok/design-system

Then you need to install and use the Design System in your Vue project:

import BlokInk from '@storyblok/design-system'
import '@storyblok/design-system/dist/storyblok-design-system.css'
 
app.use(BlokInk) // vue 3

Then you can use all Blok.Ink components everywhere in your app.

<template>
  <SbIcon name="search" />
</template>

Only install specific components

You can also only install a few components, by specifying the option withComponents.

import BlokInk from '@storyblok/design-system'
import '@storyblok/design-system/dist/storyblok-design-system.css'
 
app.use(BlokInk, {
  withComponents: [
    'SbButton',
    'SbIcon',
  ]
})

For more information on the usage of the Design System go to: https://www.storyblok.com/docs/guide/in-depth/design-system

Development

To develop within the Design System you can use Storybook that has all components setup:

Start & Execute Storybook

yarn # or npm install
yarn storybook

Compiles and minifies for production

yarn build

Run your unit tests

yarn test:unit

Lints and fixes files

yarn lint

3.25.1

1 year ago

3.25.0

1 year ago

3.24.0

1 year ago

3.23.2

1 year ago

3.23.1

1 year ago

3.23.0

1 year ago

3.22.0

1 year ago

3.21.0

1 year ago

3.20.1

1 year ago

3.20.0

2 years ago

3.19.4

2 years ago

3.19.3

2 years ago

3.15.0

2 years ago

3.17.0

2 years ago

3.15.1

2 years ago

3.19.0

2 years ago

3.19.2

2 years ago

3.19.1

2 years ago

3.14.0

2 years ago

3.16.0

2 years ago

3.13.0

2 years ago

3.12.0

2 years ago

3.9.1

2 years ago

3.11.0

2 years ago

3.10.1

2 years ago

3.10.0

2 years ago

3.11.2

2 years ago

3.11.1

2 years ago

3.10.2

2 years ago

3.9.0

2 years ago

3.8.0

2 years ago

3.7.0

2 years ago

3.6.0

2 years ago

3.5.6

2 years ago

3.5.5

2 years ago

3.5.4

2 years ago

3.4.5

2 years ago

3.4.0

3 years ago

3.3.1

3 years ago

3.2.2

3 years ago

3.3.0

3 years ago

3.2.1

3 years ago

3.2.0

3 years ago

3.5.3

2 years ago

3.4.4

2 years ago

3.5.2

2 years ago

3.4.3

2 years ago

3.5.1

2 years ago

3.4.2

2 years ago

3.5.0

2 years ago

3.4.1

2 years ago

3.3.2

3 years ago

3.1.4

3 years ago

3.1.3

3 years ago

3.1.2

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago