Can UFB cable be used for wiring my dryer? Normally I'd just run some NM able, but I found a good deal on 8 AWG UF B and wonder if this is code compliant (NEC 17) or not....or maybe there is another unforeseen problem.
Yes, this is fine as long as it's 8/3
UF is permitted anywhere where NM can be used, in addition to its more traditional uses outside/underground, and an 8AWG wire certainly has enough "grunt" to carry a 30A dryer circuit, so as long as this is an 8/3 W/G UF cable you're talking about, then you're good to go.
Presumably the dryer receptacle will be a NEMA 14-30. Since it is a 30A receptacle, you will be required to use a 30A breaker. NEC 210.21(B).
Remember for wires any larger than this, aluminum wire is your friend. Even in today's market, 4-wire #2 aluminum feeder (90A) is only $1.40/foot. You either select sockets rated for aluminum wire... or go to a main-lug subpanel (which is definitely rated for aluminum; the lugs are aluminum).