Barcode
The Avonni Barcode component lets you easily create and customize barcodes within your Salesforce

Tutorials
Learn to create and display product code barcodes in Salesforce efficiently and effectively.

Changing the properties
Customizing the barcode value
The value for the barcode can be set in two ways. Firstly, you can manually enter the desired value for the barcode. Alternatively, the value can be sourced from one of your existing collections. To use a value from a collection, switch to the 'Mapped' input option and select the appropriate collection as your source.

Choosing the barcode type
The Barcode component renders more than 150 different types of barcodes. Select the one you need.
Specifications
Value
String
The Value to encode in the barcode.
Type
String
The type of barcode to render.
Hide Value
Boolean
If present, hide the value of the barcode.
Checksum
Boolean
If present, show the checksum value.
Background
Changes the background color of the barcode.
Choose any color to match your design.
Color
Alters the color of the barcode stripes.
Select a color that contrasts well with the background.
Text Color
Modifies the color of the barcode value text.
Ensure readability with a contrasting text color.
Text Alignment
Adjusts the position of the barcode value.
Options include left, center, or right alignment.
Height
Sets the height of the barcode.
Adjust according to the space available.
Width
Defines the width of the barcode.
Choose a width that fits your layout.
Last updated
Was this helpful?
