Package custom component

Hi,
I created a new component and added it to the core/navbar module.

How can I package it so it can be installed on other users as an external extension or something similar?
Currently, we need to copy the component file, add it to the module.ts, and run yarn run build:core.

You need to find how others create add-on for the SuiteCRM.

If I am not wrong, you need to check out the below blogs.