How to build a component library for easier coding?

There is no component library to use?all components need to write their own some trouble