客 is a Chinese hanzi, listed here under the keyword “guest”. It is built from 宀 (roof) and 各 (each). It appears as a component in 9 other characters in this index.
On KumiJi Glyph Explorer, open the parts search and type “roof” + “each”. 客 is among the results, together with every other character containing the same shapes.
Open 客 in the interactive kanji search
to expand every part down to its smallest pieces, add your own names and mnemonic stories,
or search for other characters by their parts.