• What is KendoReact
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Charts
    • Common Utilitiesupdated
    • Conversational UI
    • Data Gridupdated
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBox
    • ListView
    • Mapbeta
    • Notification
    • PDF Processing
    • PDFViewernew
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeView
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Troubleshooting

BarcodeProps

Represents the props of the KendoReact Barcode component.

NameTypeDefaultDescription

background?

string

"white"

The background color of the Barcode. Accepts a valid CSS color string, including hex and rgb.

border?

Border

The border of the Barcode.

checksum?

boolean

false

If set to true, the Barcode will display the checksum digit next to the value in the text area.

className?

string

Sets additional CSS classes to the component.

color?

string

"black"

The color of the Barcode. Accepts a valid CSS color string, including hex and rgb.

height?

number

The height of the Barcode in pixels.

The Barcode dimensions can also be set through regular CSS styling.

padding?

number | Padding

0

The padding of the Barcode. A numeric value sets all paddings.

renderAs?

RenderMode

Sets the preferred rendering engine.

The supported values are:

  • "svg"—If available, renders the component as an inline svg element.
  • "canvas"—If available, renders the component as a canvas element.

style?

React.CSSProperties

The styles that are applied to the component.

text?

BarcodeText

The Barcode text label configuration.

type

string

"Code39"

The symbology (encoding) the Barcode will use.

value

string | number

The value of the Barcode.

width?

number

The width of the Barcode in pixels.

The Barcode dimensions can also be set through regular CSS styling.