# @ttsalpha/qrcode
> Lightweight React QR code library: pure SVG, zero dependencies, fully typed. Covers SSR, custom dot/corner shapes, logo embedding, and PNG/SVG export. Version 2.4.3. MIT license.
Requires React 18+ as peer dependency.
Install: `pnpm add @ttsalpha/qrcode`
Quick start:
```tsx
import { QRCode } from '@ttsalpha/qrcode';
export default function App() {
return ;
}
```
**QRCodeProps**
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | Data to encode (required) |
| size | number | 256 | Width and height in pixels |
| margin | number | 4 | Quiet zone in modules |
| dotStyle | DotStyle | 'square' | Style of data modules |
| dotColor | string | '#000000' | Color of data modules |
| backgroundColor | string | '#ffffff' | Background color; 'transparent' accepted |
| corner | CornerOptions | — | Finder pattern styles and colors |
| logo | LogoOptions | — | Logo in center |
| qr | QROptions | — | QR encoding options |
| className | string | — | CSS class on `