[verb (plain)] + のは + [noun] + の方だ [i-adj] + のは + [noun] + の方だ [na-adj] + なのは + [noun] + の方だ [noun] + なのは + [noun] + の方だ
Note: の方だ may also appear as のほうだ; past tense のほうだった is also common.
The structure のはXの方だ is a cleft sentence pattern used to identify or emphasize which one (of two or more options) matches a given description. It corresponds to English expressions like "It is X that…", "X is the one who…", or "…is the one that…".
The clause before のは describes an action or characteristic, and Xの方だ specifies which side, person, or thing fits that description. This pattern naturally implies a contrast – by singling out X, it implicitly distinguishes X from another option.
The sentence is built by nominalizing the verb clause with の, marking it as the topic with は, and then pointing to the answer with Xの方だ.
This pattern is especially common in situations involving comparison, blame, credit, or clarification – whenever you need to make clear which of two parties or things applies.
It can be used with adjectives as well, where the clause before のは describes a quality:
In polite speech, だ becomes です:
の方 here is not expressing preference (as in ~の方が好き) but rather identification – it singles out which one matches the description.