> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Function: pluginQRCode()

> **pluginQRCode**(`options?`: [`PluginQRCodeOptions`](/next/api/packages/qrcode-rsbuild-plugin/interfaces/PluginQRCodeOptions.md)): `RsbuildPlugin`

Create a rsbuild plugin for printing QRCode.

## Parameters

| Parameter  | Type                                                                                                |
| ---------- | --------------------------------------------------------------------------------------------------- |
| `options?` | [`PluginQRCodeOptions`](/next/api/packages/qrcode-rsbuild-plugin/interfaces/PluginQRCodeOptions.md) |

## Returns

`RsbuildPlugin`

## Example

```ts
// rsbuild.config.ts
import { pluginQRCode } from '@lynx-js/qrcode-rsbuild-plugin'
export default {
  plugins: [pluginQRCode()],
}
```
