Web3 integration to website

How do we build a custom component?