The components this item is built from, and the items it can be upgraded into, taken from the game's recipe data for the current patch.
Each icon links to the item page. The gold cost of the finished item is the sum of its components plus a combine cost, which is why buying components first never costs more than saving up.