A granola product page: a blurb built from Heading, Badge, Body and Text, beside a nutrition facts panel with the printed label’s heavy rules, bold hierarchy and % Daily Value column. It is a Server Component with no client JavaScript.
Tidewater Pantry · Granola
Oat clusters, maple & sea salt
Whole grainVegan6g protein
Slow-baked rolled oats and almonds, glazed with dark maple syrup and finished with flaky sea salt. Big, crunchy clusters that hold up in cold milk.
$6.49 · 15.5 oz (440g)
Ingredients: whole grain rolled oats, almonds, maple syrup, cane sugar, sunflower oil, brown rice flour, sea salt, cinnamon. Contains: almonds.
Nutrition Facts
8 servings per container
Serving size⅔ cup (55g)
Amount per servingCalories240
Nutrients per serving
Nutrient and amount
% Daily Value*
Total Fat 9g
12%
Saturated Fat 1.5g
8%
Trans Fat 0g
Cholesterol 0mg
0%
Sodium 140mg
6%
Total Carbohydrate 36g
13%
Dietary Fiber 4g
14%
Total Sugars 11g
Includes 9g Added Sugars
18%
Protein 6g
Vitamin D 0mcg
0%
Calcium 30mg
2%
Iron 1.8mg
10%
Potassium 210mg
4%
* The % Daily Value (DV) tells you how much a nutrient in a serving of food contributes to a daily diet. 2,000 calories a day is used for general nutrition advice.
The panel is a section with its own heading, the serving summary as paragraphs, and the nutrients as a table: each row header holds the nutrient and its amount, and the column header names the % Daily Value. Hidden text gives the first column and the table a name for screen readers.
One ink does everything: --ds-color-text for type and rules on --ds-color-bg. Printed labels are black on white, so the panel sets data-ds-theme="light" and keeps the light tokens in a dark page. The three rule weights are custom properties computed from border and space tokens.
Indent levels are data (indent: 1 | 2) rendered as data-indent, which sets both the indent and the regular weight of sub-nutrients.
A container query puts the panel beside the blurb when the article is wide and under it when it isn’t. The panel is a container too: in a narrow column its rows step down a size so no line wraps.