Skip to content

PatWie/svelte-konvajs

Repository files navigation

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>