# [Usage](../../../usage.md) > [Components](../basics.md) > [Visuals](../basics.md) > QRCode

A very simple QRCode generator. Use it for shareable links, tickets or device pairing codes; use [Button](button.md) with `url` when a clickable link suffices and no scanning is needed.

![image](img/qrcode_1.png)

```php
{!!
  \KFramework\Components\Visual\QRCode::make()
    ->setValue('hello world');
!!}
```

**End-to-end example:** ticket check-in code.
```php
// Blade:
{!!
  \KFramework\Components\Visual\QRCode::make()
    ->setValue(route('tickets.checkin', $ticket->code))
    ->setDimension(200)
!!}

// Controller:
use KFramework\Components\Visual\QRCode;

$qr = QRCode::make()->setValue('TICKET-123')->setDimension(200);

return view('tickets.show', compact('qr'));
```

---
## Usage

- Blade:
```php
{!! \KFramework\Components\Visual\QRCode::make() !!}
```
- Controller:
```php
QRCode::make()
```

---
## Standard attributes

- `uuid`
- `id`
- `classes`
- `extraAttributes`
- `value`
  - The string to be converted in QR
- `dimension`
  - Used to regulate the height and width of the QR

See their usage and description [here](../basics.md).

## See also
- [Components basics](../basics.md)
- [Button](button.md), [Card](card.md)
- [value](../shared_attributes/value.md), [dimension](../shared_attributes/dimension.md)
