Polotno Docs
Demos

Bar Codes

Display and edit bar codes on the canvas using SVG and custom data

There are several tools that will help you display and change bar codes in Polotno Editor:

  1. Using JsBarcode (or a similar library), generate an SVG image of a bar code.
  2. With an svg element, display the generated SVG image on the canvas.
  3. Use the custom attribute of the svg shape to save any additional data. You can store the bar code data string for future reference.

Instructions: try changing the content of a selected bar code. Try to deselect the element to create new bar codes.

Live demo

On this page