bar-pulse
Reactive icon

Bar Pulse

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 26 Apr (16 hours ago)
 by 
EONE TECHNOLOGIES PVT LTD
0.0
 (0 ratings)
bar-pulse

Bar Pulse

Details
BarPulse is a lightweight JavaScript component used to generate barcodes dynamically in the browser without server-side processing. It allows users to input text or numeric data and instantly create scannable barcodes (e.g., CODE128) in real time. The asset provides flexible width and height customization, enabling developers to control the thickness and overall size of the barcode to suit different UI layouts, labels, or print requirements. It also supports foreground and background color configuration, allowing full visual customization while maintaining proper contrast for accurate scanning. BarPulse includes a feature to convert generated barcodes into Base64 format, making it easy to store, transmit, or reuse the barcode image in applications, APIs, or databases. This is especially useful for integrating with image widgets or saving barcode data without handling physical files. Additionally, it offers a download functionality, allowing users to export the generated barcode as an image file (such as SVG or PNG) directly from the browser using JavaScript. This enables quick sharing and offline usage. Overall, BarPulse combines: Real-time barcode generation using JavaScript Adjustable width and height for flexible sizing Custom foreground and background colors Base64 encoding for storage and integration One-click download capability
Read more

BarPulse is a client-side JavaScript component that enables dynamic generation, customization, and export of barcodes directly within web applications and low-code platforms such as OutSystems. It is designed to work entirely in the browser, eliminating the need for server-side processing and ensuring fast, real-time performance.

The asset allows users to input text or numeric values and instantly generate standard barcode formats such as CODE128. Rendering is performed using SVG or Canvas, providing high-quality, scalable output suitable for both on-screen display and printing.

A key feature of BarPulse is its flexible sizing control. Developers can configure both width (bar thickness) and height (overall barcode height), allowing precise adjustment based on use cases such as product labels, invoices, or mobile displays. This ensures the barcode remains readable across different resolutions and devices.

BarPulse also supports foreground and background color customization, enabling developers to match application branding or UI themes. Users can define colors dynamically using input controls, while maintaining recommended contrast (typically dark foreground on light background) to ensure reliable scanning.

Another important capability is Base64 conversion. Once a barcode is generated, it can be serialized into a Base64-encoded string using JavaScript. This allows:

  • Storing barcode images in databases
  • Sending barcode data through APIs
  • Binding directly to image components in UI frameworks
  • Reusing the generated barcode without regeneration

The asset includes a built-in download feature, allowing users to export the generated barcode as an image file (commonly SVG or PNG). This is implemented using browser-native APIs such as XMLSerializer (for SVG) or Canvas methods, enabling quick downloads without backend involvement.

BarPulse is built with reusability and integration in mind. It can be embedded into dynamic screens, supports asynchronous rendering scenarios, and includes safe DOM handling to ensure compatibility in environments where elements are loaded or refreshed dynamically.

Key Features

  • Real-time barcode generation using JavaScript
  • Adjustable width and height for precise sizing
  • Customizable foreground and background colors
  • Base64 encoding for storage and integration
  • Download functionality for exporting barcode images
  • Fully client-side execution (no server dependency)

Use Cases

  • Inventory and warehouse management
  • Product labeling and retail systems
  • Billing and invoicing applications
  • Logistics and shipment tracking
  • Asset management and identification
Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category