integrate yaml file containing data to generate components from a component library in your nextjs project