React QR Code

DataModulesSettings

These are the properties you can use to customize the QR Code data modules (the small squares that make up the QR Code).

PropTypeDescriptionDefaultRequiredPossible Values
color
string
The color of the modules#000000No
style
DataModulesStyle
The style of the modulessquareNo
square
square-sm
pinched-square
rounded
leaf
vertical-line
horizontal-line
circle
diamond
star
heart
hashtag
randomSize
boolean
If true, the modules will have random sizes. Can only be used with styles square, circle, diamond, star, heart and hashtag.falseNo
true
false