QR display
An accessory code's durable QR link: the code rendered client-side from the short URL (this specimen's code is real and scans), the target, scan count, copy, download and re-point (printed tags keep working).
Covers: M13. Exports: QrDisplay.
Anatomy
The component as it sits in the product: English, compact, real data shapes.
States
5 states, left to right, top to bottom. A mock poll never finishes, so each state is drawn on purpose.
QR link didn’t load
admin.accessory-qr.show answered 500.
Density
The phone shell is always comfortable (POWERUPS #15): 44px tap targets, 16px inputs. Compact exists on desktop only; see the desktop page.
English · 中文
Staff pick en or cn (T001 Q25). Labels arrive localised; CJK falls back to PingFang SC / Noto Sans SC.
Long string · permission denied
The long-string case (PL-063) and what a role without the permission sees (the server decides; T003).
Contract
The @rj/admin-kit API for this family. Mirrored in CONTRACT.md.
- Export
QrDisplay·@rj/admin-kit- Props
shortUrl·shortCode·target·scans·onRepoint- States
- default · repointing · none · loading · error · read-only
- shadcn / Radix
- Card + Button
- Package underneath
- qrcode.react
- Accessibility
- the image has the URL as its accessible name
- API operations
- admin.accessory-qr.show · admin.accessory-qr.repoint
- Phone variant
- same, stacked