• Getting Started
  • Components
    • Barcodes
    • Buttons
    • Chartsupdated
    • Conversational UIupdated
    • Data Query
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Filter
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputsupdated
    • Labels
    • Layout
    • ListBox
    • ListView
    • Map
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PDFViewer
    • PivotGrid
    • Popup
    • ProgressBars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • ToolBar
    • Tooltips
    • TreeList
    • TreeView
    • Typography
    • Uploads
    • Utilities
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Sample Applications
  • FAQ
  • Troubleshooting
  • Updates
  • Changelogs
New to Kendo UI for Angular? Start a free 30-day trial

QRCodeOptions

The QR Code configuration options.

NameTypeDefaultDescription

background?

string

"white"

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

border?

Border

The border of the QR Code.

color?

string

"black"

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

encoding?

QRCodeEncoding

"ISO_8859_1"

The encoding mode used to encode the value.

Important The UTF-8 encoding is not included in the specifications and is not supported by all readers.

The possible values are:

  • "ISO_8859_1"—Supports all characters from the ISO/IEC 8859-1 character set.
  • "UTF_8"—Supports all Unicode characters.

errorCorrection?

QRCodeErrorCorrection

"L"

The error correction level to use.

The possible values are:

  • "L"—Approximately 7% of the codewords can be restored.
  • "M"—Approximately 15% of the codewords can be restored.
  • "Q"—Approximately 25% of the codewords can be restored.
  • "H"—Approximately 30% of the codewords can be restored.

overlay?

QRCodeOverlay

An optional image overlay that will placed over the QR Code.

Note Always test if the code reads correctly with the applied overlay. Depending on the length of the value and the size of the overlay, you might need to raise the errorCorrection level to "M" or "H".

padding?

number | Padding

0

The padding of the QR Code. A numeric value sets all paddings.

renderAs?

RenderMode

"svg"

Sets the preferred rendering mode of the QR Code.

The supported values are:

  • "canvas"—Renders the component as a Canvas element.
  • "svg"—Renders the component as an inline SVG document.

size?

string | number

"200px"

Specifies the size of a QR Code. Numeric values are treated as pixels.

If no size is specified, the size will be determined from the element width and height. If the element has width or height of zero, a default value of 200 pixels will be used.

value

string | number

The value of the QR Code.