How to create a static module

I know HubSpot has drag-and-drop content (dnd_module), but do you know how to create a module when creating a module that has a fixed amount of content on that page, like a WordPress custom field?

For example
I have a slider on the first view of the top page.
If you create a custom module like “slider” and set up an image field, you can rewrite only the source of the image inside the slider.
If we create a custom module, it can be dragged and dropped from the theme as drag-and-drop content, but we want to hide it from this panel.
I would like to hide the module from this panel.

Sorry, but thank you in advance.

Create it as custom module, and then uncheck this box, you can still use it in code, but it’s not accessible from the front end

Thank you for your valuable response.
I am surprised to know that it is easier than I thought to hide them.
And I can hide it and copy it from the snippet area on my template and embed it in the template.