Nutrition Label (2018 Version)

from Nutritionix
Back

Example 1

View Code

  • $('#label1').nutritionLabel({
    	allowCustomWidth : true,
    	allowNoBorder : true,
    	showServingUnitQuantity : false,
    	itemName : 'Bleu Cheese Dressing',
    	ingredientList : 'Bleu Cheese Dressing',
    	showPolyFat : false,
    	showMonoFat : false,
    	valueCalories : 450,
    	valueFatCalories : 430,
    	valueTotalFat : 48,
    	valueSatFat : 6,
    	valueTransFat : 0,
    	valueCholesterol : 30,
    	valueSodium : 780,
    	valueTotalCarb : 3,
    	valueFibers : 0,
    	valueSugars : 3,
    	valueProteins : 3,
    	valueVitaminD : 0,
    	valuePotassium_2018 : 0,
    	valueCalcium : 0,
    	valueIron : 0,
    	valueCaffeine : 15.63,
    	showLegacyVersion : false
    });
    
Back

Example 2

View Code

  • $('#label2').nutritionLabel({
    	allowCustomWidth : true,
    	allowNoBorder : true,
    
    	valueServingPerContainer : 1.33,
    	valueServingWeightGrams : 2.56,
    
    	showServingsPerContainer : true,
    
    	valueServingUnitQuantity : 0,
    	valueServingSizeUnit : 'DONUTS',
    
    	naPolyFat : true,
    	naFibers : true,
    
    	showMonoFat : false,
    	showTransFat : false,
    	showVitaminD : false,
    	showVitaminC : false,
    	showCalcium : false,
    	showIron : false,
    
    	valueCalories : 400,
    	valueFatCalories : 220,
    	valueTotalFat : 24,
    	valueSatFat : 15,
    	valueCholesterol : 25,
    	valueSodium : 430,
    	valueTotalCarb : 44,
    	valueSugars : 24,
    	valueProteins : 4,
    	valueCaffeine : 15.63,
    
    	ingredientList : 'Enriched Bleached Wheat Flour (Bleached Flour, Malted Barley Flour)',
    	showLegacyVersion : false
    });
    
Back

Example 3

View Code

  • $('#label3').nutritionLabel({
    	allowCustomWidth : true,
    	allowNoBorder : true,
    
    	valueServingPerContainer : 1.33,
    	valueServingWeightGrams : 2.56,
    
    	showServingsPerContainer : true,
    	showServingUnitQuantity : false,
    
    	valueServingUnitQuantity : 6,
    	valueServingSizeUnit : 'DONUTS',
    
    	naPolyFat : true,
    	naFibers : true,
    
    	showMonoFat : false,
    	showTransFat : false,
    	showVitaminD : false,
    	showVitaminC : false,
    	showCalcium : false,
    	showIron : false,
    
    	valueCalories : 400,
    	valueFatCalories : 220,
    	valueTotalFat : 24,
    	valueSatFat : 15,
    	valueCholesterol : 25,
    	valueSodium : 430,
    	valueTotalCarb : 44,
    	valueSugars : 24,
    	valueProteins : 4,
    	valueCaffeine : 15.63,
    
    	ingredientList : 'Enriched Bleached Wheat Flour (Bleached Flour, Malted Barley Flour)',
    	showLegacyVersion : false
    });
    
Back

Example 4

View Code

  • $('#label4').nutritionLabel({
    	allowCustomWidth : true,
    	allowNoBorder : true,
    
    	valueServingPerContainer : 1.33,
    	valueServingWeightGrams : 2.56,
    
    	showServingsPerContainer : true,
    	showItemName : false,
    
    	valueServingUnitQuantity : 0,
    	valueServingSizeUnit : 'DONUTS',
    
    	naPolyFat : true,
    	naFibers : true,
    
    	showMonoFat : false,
    	showTransFat : false,
    	showVitaminD : false,
    	showVitaminC : false,
    	showCalcium : false,
    	showIron : false,
    	showCaffeine : false,
    
    	valueCalories : 400,
    	valueFatCalories : 220,
    	valueTotalFat : 24,
    	valueSatFat : 15,
    	valueCholesterol : 25,
    	valueSodium : 430,
    	valueTotalCarb : 44,
    	valueSugars : 24,
    	valueProteins : 4,
    
    	ingredientList : 'Enriched Bleached Wheat Flour (Bleached Flour, Malted Barley Flour)',
    	showLegacyVersion : false
    });