The most common kidney stones are oxalate kidney stones. And any food item having high oxalate can increase the chances of kidney stones. Spinach, beets, nuts, berries, groundnut, but based dry fruits, etc can create kidney stone formation.
Red meat, poultry, processed foods, etc have high protein and if consumed in very high quantities then it may be the cause of kidney stones.
Sugar, sodium, and calcium are the ones that may lead to stones.
However, if any of the above-mentioned items are consumed in limited quantities it will not cause any harm.