Building the library is the cheap part. The expensive part is the eighteen months afterwards, when nobody owns it and every new screen quietly forks a component.
What maintenance actually costs, who should own it in a team of twelve, and the smallest version of a system that still earns its keep.