Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@protocraft/layers

protofy.xyz263MIT0.2.1-2TypeScript support: included

A Photoshop-like layers panel for your page editor

wysiwyg, html, layers, photoshop, craftjs, page-editor, web-builder, react

readme

@protocraft/layers

NPM

A Photoshop-like layers panel for your page editor.

Documentation

Craft.js

Usage

yarn add @protocraft/layers styled-components
import React from "react";
import {Editor} from "@protocraft/core"
import {Layers} from "@protocraft/layers"

export default function App() {
  return (
    <div style={{margin: "0 auto", width: "800px"}}>
      <Typography variant="h5" align="center">A super simple page editor</Typography>
      <Editor resolver={...}>
        <Layers />
      </Editor>
    </div>
  );
}

changelog