this way; that way; in such a way; how
Describes the manner or way in which something is done or the state of something, meaning 'in this/that way' or 'like this/that'.
ふうに is a common N2 expression used to indicate manner, style, or method. It follows the same patterns as ように but adds a nuance of 'way of doing' or 'appearance'. It's often used to say 'in this way' or 'that kind of way', and can also mean 'how to' when following a verb's dictionary form, as in するふうに (how to do).
In conversation, you'll hear it to describe someone's actions or to advise someone on how to do something. It's slightly more specific than ように because it focuses on the manner itself, not just the purpose or resemblance. When used with nouns and な-adjectives, it describes the style or appearance of something or someone. For example, 日本人のふうに means 'in the Japanese style'.
It's a standard pattern taught at N2, and it's used in both spoken and written Japanese, though it's a bit more descriptive than everyday casual speech. You can use it in daily conversation as well, but note that it can sound a little formal if overused. For a more casual tone, you might just say こう or そう.