• GitHub

Components

Blocks come with a kit of components that are used in the editor and can be used as standalone React components.

Installation

yarn add @blocks/kit

Usage

import React from 'react'
import { BackgroundGradient } from '@blocks/kit'

export default () => (
  <BackgroundGradient>
    <h1>Hello, world!</h1>
  </BackgroundGradient>
)

List of components