Stop writing components from scratch. Find the component you need, copy the code, and paste it into your project. It's that simple.