What problem did the realization that core UI elements were infrastructure drive the creation of formal collections to solve?

Answer

Design drift and ballooning development time from recreating standard interactions

If every team built its own standard components like 'Button' or 'Modal' independently, design inconsistency (drift) and wasted development time resulted.

What problem did the realization that core UI elements were infrastructure drive the creation of formal collections to solve?
softwarelibraryinventorcomponent