@pagezilla/layers

A Photoshop-like layers panel for your page editor

Usage no npm install needed!

<script type="module">
  import pagezillaLayers from 'https://cdn.skypack.dev/@pagezilla/layers';
</script>

README

@pagezilla/layers

NPM

A Photoshop-like layers panel for your page editor.

Documentation

Craft.js

Usage

yarn add @pagezilla/layers styled-components
import React from "react";
import {Editor} from "@pagezilla/core"
import {Layers} from "@pagezilla/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>
  );
}