Working with Community Components

I’m wondering how to bake and/or breakdown community components.
For example I’ll bring a Shopify component into a project. The component seems to be constructed with variables, nested components, and styles that may come from other projects, or master projects.

How can I bake these components into my project so that I can modify the content, styles, etc, without breaking the component? Is there some kind of best practice?
Maybe there is a plugin that does this?