寇 is a Chinese hanzi, listed here under the keyword “bandits”. It is built from 宀 (roof), 元 (first) and 攴 (rap). It appears as a component in 2 other characters in this index.
On KumiJi Glyph Explorer, open the parts search and type “roof” + “first” + “rap”. 寇 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.