How to Export Komponent?

I made a kompoment and I want to share it use KAPK, but kapk ask me to select a kompoment file, and I don't know how to export kompoment to file.

In the KWidget's editor, you can find a symbole with three points, at the top left. Click on it, then you'll find an "Export" menu item that is the menu item to click to export the komponent.