You would click receive, You would click lightning and the mint would return to you a lightning invoice or say send x amount to this Bitcoin address.
At the same time an invoice is generated, that invoice is also used with bolts API to make a swap from on a chain. Boltz will return an amount and address. So then the wallet could provide both the lightning invoice or the on-chain address with the amount to send.