He worked as an art editor for the children’s magazine Barvinok, in Kyiv publishing houses Dnipro and Veselka, and taught at the National Academy of Fine Arts and Architecture, leading the studio of free graphics as a professor.
Kompanets’ work is notable for its wide-ranging genres. His main fields were book and easel graphics, executed realistically. He worked in watercolor, ink, pencil, pastel, charcoal, and sanguine. His series of illustrations for Ukrainian literary works are considered a graphic classic. He illustrated works by Kotliarevsky, Gogol, Shevchenko, Kvitka-Osnovianenko, Nechui-Levytskyi, Stelmakh, and others. He also created a series of easel paintings, including the cycle The Land of My Fathers. These works convey artistic depth, refinement, and emotional warmth, evoking poignant nostalgia for his homeland. His paintings express a tender love for the native land, memories of childhood, and reverence for the enduring wisdom of the Ukrainian people.
Kompanets participated in various exhibitions. Solo exhibitions were held in Kyiv in 1984 and in Montargis, France, in 1987. His works are held in the National Art Museum of Ukraine, the Cherkasy Art Museum, the Izmail Art Gallery, and the Taras Shevchenko Museum in Canada.