Skip to main content
The QrCodeColumn class allows you to render QR codes inside any Filament table column.

Basic usage

By default, the column uses the model attribute matching the column name as the payload, renders an inline SVG, and provides a hover tooltip with the payload string.

Sizing and quiet zone

Set custom pixel dimensions and quiet-zone margins:

Formats and error correction

Choose between vector SVG (default) or raster formats (PNG, WebP):

Error correction levels

  • L (Low): 7% recovery. Ideal for clean digital displays with small data density.
  • M (Medium): 15% recovery (default). Recommended balance for general usage.
  • Q (Quartile): 25% recovery. Suitable for print media where partial obstruction may occur.
  • H (High): 30% recovery. Best when embedding logos or when harsh scanning conditions exist.

Brand colors and palette tokens

You can pass standard HEX color codes or Filament theme palette tokens:
Supported palette tokens: primary, danger, warning, success, info, gray.

Gradients and finder eyes

Enhance visual presentation with custom gradients and individual eye colors:
Overlay an icon or brand logo in the center of the QR code:

Interactive actions: download and preview

Enable single-click download or preview behaviors:

Custom payload resolution

Override the raw state resolution using a closure: