Skip to content

MicroPDF417 Code

Pro

A small stacked code for packs and tags where a PDF417 is too wide. It holds a lot, a date, or a short record in 1 to 4 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

MicroPDF417 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 data. Add columns to set the shape.

lot-code.tsx

MicroPdf417Code

<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 lot, a date, a part number. Default width 160px.
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.
rowHeightnumberMICRO_PDF417_KIND.rowHeightThe row height in whole modules. Default 2, never less (not a number: 2).
columns1234—The data columns, 1 to 4. Default: the fewest that make a band 2 times as wide as high.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Set columns (1 to 4) to fit the label: more columns make a wider, lower code.
  • Leave columns out for a band about 2 times as wide as high.
  • Set rowHeight (2 or more modules) for taller rows when the print is rough.
  • For one number that every till reads, use a 1D Barcode.
  • For the facts in words next to the code, add a Data List.

It is an image named "MicroPDF417 code" by default. Pass aria-label to say what it holds, for example "Lot code L2611A".

Print the data as text near the code, so people can read it too.

  1. AddedMicroPDF417 Code.
Open the release