Компоненты = ok, but составляющие even a bit more ok
Indeed, ингридиенты are for cooks and scientists.
And often we could see Ингридиенты instead Состав: on the food's packaging



There is also difficult English verb "comprise" , I struggled with it in the past