Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/k2tzumi/slidev-addon-qrcode

Slidev add-on qrcode component
https://github.com/k2tzumi/slidev-addon-qrcode

hacktoberfest qrcode slidev-addon vuejs

Last synced: 3 months ago
JSON representation

Slidev add-on qrcode component

Awesome Lists containing this project

README

        

# slidev-addon-qrcode

[Slidev](https://sli.dev/) add-on qrcode component

![screenshot](example-export/001.png)

## Dependencies

- [styled-qr-code](https://www.npmjs.com/package/styled-qr-code)

## Installation

```console
npm i @katzumi/slidev-addon-qrcode
```

## Slidev Configuration

Define this package into your slidev addons.

In your slides metadata (using Front Matter):

```yaml
addons:
- "@katzumi/slidev-addon-qrcode"
```

Or in your `package.json`:
```json
{
"slidev": {
"addons": [
"@katzumi/slidev-addon-qrcode"
]
}
}
```

## Components

You can create a poll by using the [QRCode component](#QRCode).

### QRCode

```xml

```

Parameters:
* `value` (`string`) : The date will be encoded to the QR code
* `width` (`number` , default `200`) : Size of canvas
* `height` (`number` , default `200`) : Size of canvas
* `color` (`string` , default `000000`) : Color code of QR dots
* `image` (`string`) : The image will be copied to the center of the QR code