How to save custom python components

Hello, so I wrote my own scripts on the grasshopper canvas and I would like to save the components for later use. It would be best if I can save as a grasshopper plugin so that I can drag and drop if I want to use it in the future.

Does anyone know how I should achieve it?



highlight your component, and then go up to file->Create User Object.
You will then be presented with a dialog box to add information about your component, (name, description, which category(tab) you want it to show up on, etc…

You can also create a 24x24 pixel icon, (in your pixel based editor of choice), and drag it onto your component, (before you save it as a User object).