components (button,input) so if i want to update it in one place it updates this component for all the pages

What exactly do you want to change?
You want to change something inside components?
You want to change inside several components over several pages?

Can you elaborate more about your project-flow?

Your information are not enough to give to a solide answer (at least not enough for me).