Added embed functionality to easily add the type component into a webpage