# qr()

Creates a QR code object

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/config/helpers.php#L443>

****

```php
qr(Kirby\Cms\ModelWithContent|string $data): Kirby\Image\QrCode
```

## Parameters

| Name | Type | Default | Description |
| ---- | ---- | ---- | ---- |
| `$data` (required) | `Kirby\Cms\ModelWithContent` or `string` | – | – |

## Return type

`Kirby\Image\QrCode`