Let’s say Illinois for instance.
Illinois is a special case.
The recipient of the gift will need a FOID (Firearms Owner ID) card before any transaction can occur.
After obtaining that, you really should pay for the firearm at the dealer, with the recipient in attendance.
I’m in Calif. Pretty bad here.
I can’t give info for Illinois. You might ask at a gun shop, if you can find one.