In this article I will describe how one can have a library component (that might be a part of a design system) and…