Core logic for the qr-code widget implemented as a state machine
github.com/chakra-ui/zag
chakra-ui/zag