Wood is a common choice for built-ins, but wood is not heatproof.
Its suitability depends on the distance from the firebox, the manufacturer's limits and the surface treatment. Where the manual calls for noncombustible materials near the opening, the design uses them, such as cement board, gypsum board on approved framing or stone at the hearth. Fireplace surround cabinetry in Matthews, North Carolina follows the same test: the material is matched to the spot, not to the style.