How to export custom elements?

This seems to be a duplicate of this topic, right? I think you can find help there.