Skip to content

PDF417 Code

Pro

A wide stacked code for printed boarding passes, driving licences, and ID cards. It holds a whole record, and you set its rows and columns.

  • React 19
  • Tailwind CSS 4

Added Nov 11, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

PDF417 Code needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
14
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Pass the BCBP data of the boarding pass.

boarding-pass-code.tsx

Pdf417Code

<div>
PropTypeDefaultDescription
aria-labelstring—Defines a string value that labels the current element. The accessible name. Default the kind ("Data Matrix code"), or "<kind>: <value>" for a link.
valueRequiredstring—The data etiket encodes. The data: a boarding pass (BCBP) string, or the fields of an ID card. Default width 320px.
pixelSizenumber—The outer width in px, quiet zone included. The height follows the symbol.
fitboolean—Fill the width of the parent, in whole px a module when that loses one module or less (the QR Code rule), else the exact width. Default false. Wide codes (postal, PDF417) on a phone.
plateboolean—The light plate under the code. Default true.
status"empty""error""loading""ready"—The load state. Default ready. loading: the skeleton while the value is not known yet. empty: the empty box. error shows as ready: the error box is for a value the code cannot hold.
labelsPartial<CodeSymbolLabels>—The texts of the empty and error states.
onError—Runs once for each new error (too much data, a character the kind cannot hold), after commit. It does not run again for the same error, and typed values are deferred: a field that shows the error should derive it from the value with the kind's encoder (cached, so free), not clear it on each change.
rowHeightnumberPDF417_KIND.rowHeightThe row height in whole modules. Default 3, never less (not a number: 3).
columnsnumber—The data columns, 1 to 30. Default: the fewest that make a band 2.5 times as wide as high.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Use it for the IATA BCBP data of a boarding pass or the AAMVA data of a licence.
  • Use rowHeight for taller rows, in whole modules (3 or more).
  • Use columns (1 to 30) for a taller or a lower band, for example to fit the back of a card.
  • Use plate={false} when the code sits on your own white paper or card.

It is an image named "PDF417 code" by default. Pass aria-label to say whose pass or card it is.

Show the name, the flight, and the seat as text on the pass too.

  1. AddedPDF417 Code.
Open the release