/svelte-konvajs

svelte wrapper for konvajs

Primary LanguageSvelteApache License 2.0Apache-2.0

svelte-konvajs

Build Status

Svelte wrapper for konvajs Open for PRs and contributions!

Full Documentation and demo here

Installation

npm i svelte-konvajs

Usage

<Stage width={500} height={500} {container}>
  <Layer>
    <Rect
      x={20}
      y={20}
      width={100}
      height={50}
      fill="green"
      stroke="black"
      strokeWidth={4}
    />
  </Layer>
</Stage>