Skip to main content

Labels

title: Using labels with Svelte layout: svelte_page


Creating a label is a multi-step process in Konva, as a Label instance needs to contain a Tag and Text instance to function. In svelte-konva the Tag and Text components can be easily nested inside the Label component to automatically create a correct Label without having to wire things up manually.

Hover over the circles to show the tooltips,