value the text or URL to encode, and the code draws itself at the default size with a light frame around it.bordered={false} to drop the frame, for a code that sits on a card or panel that already has its own.size to scale the code, and iconSize to scale the logo in its center along with it.color for the modules and bgColor for the background, with type="svg" when either is a CSS variable.errorLevel from L to H so the code survives more damage, which it needs once an icon covers its center.status to loading, scanned or expired to cover the code with an overlay, and onRefresh to offer a refresh.status yourself: set expired when the code times out, then go through loading back to active in onRefresh.statusRender to draw the overlay for every status yourself, using the locale text it receives.type to canvas or svg, then read the rendered element to download the code as a PNG or an SVG file.