<!-- Generated by npm run gen:skill from ui/QR/skill.md - do not edit. -->

# QR

## `<qr>`

- `value`
- actions: set

```xml
<application name="QRExample1" instances="0" xmlns:xlink="http://www.w3.org/1999/xlink">
  <about loader="false"/>
  <view name="v1" width="320" height="180">
    <panel type="columns" padding="8" gap="12" valign="center">
      <qr name="site" value="https://xios3.com" width="140" height="140" alt="QR code to xios3.com"/>
      <label text="Scan to open https://xios3.com"/>
    </panel>
  </view>
</application>
```

## Guidance

- What it encodes: `value`, the text content, or a bound node's text.
- A Wi-Fi network: `<qr><wifi ssid="Guests"><password type="WPA">secret</password></wifi></qr>`; no `password` for an open network, `hidden="true"` on `wifi` for a hidden one.
- Square: the same `width` and `height` (256 without them). At most 1,273 plain characters; longer draws nothing.
- `alt` says what scanning does; put the link or the network and password in a label beside it.
