Declaring allergens on ingredients
Every ingredient in CostingBrik has an Allergens section on its detail page. Because allergens are recorded per supplier, the section reflects the preferred supplier's declaration.
The Allergens summary card
Open any ingredient (CostingBrik → Ingredients → pick one). Below the ingredient information panel, the Allergens card shows:
- Which preferred supplier the declaration is inherited from (and brand, if recorded).
- The 14 regulated allergens, with the ones declared as present highlighted.
- The current state - not yet declared, declared allergen-free, or contains specific allergens - and the timestamp of the last review.
- An Edit on {supplier name} link that opens the Label Data modal scoped to that supplier.
If the ingredient has no preferred supplier yet, the card prompts you to set one. Until then, recipes that use this ingredient will treat it as undeclared.
Making a declaration
Allergen declarations are made inside the Label Data modal, which also houses the ingredient composition tree. To open it:
- From the ingredient page, click Edit on {supplier name} on the Allergens card.
- If the ingredient has more than one supplier, switch between them with the Supplier dropdown at the top of the modal. By default the modal opens scoped to the preferred-and-active supplier.
Inside the modal:
- Toggle each of the 14 allergens that apply to this supplier's product.
- If none apply, click Confirm: contains none of the regulated allergens to record an explicit allergen-free declaration. This is required - simply toggling nothing leaves the supplier in the "not yet declared" state.
- Click Save allergens. The declaration is timestamped automatically.
Pricing and pack details are edited separately on the supplier row in the Suppliers list - the Label Data modal is scoped to allergens and composition only.
Declarations are per supplier and brand. If you swap to a new supplier of the same ingredient, you will need to declare them too - the old supplier's declaration does not carry over, because cross-contamination risk can differ.
Why per-supplier?
Two real-world examples:
- Oats - one supplier may sell gluten-free certified oats, another sells standard oats milled in a facility that also handles wheat. The same ingredient row, two very different allergen profiles.
- Chocolate chips - some brands are produced in a peanut-free facility, others are not. The recipe's allergen claim depends entirely on which supplier you actually buy from.
Brikly records this at the supplier level so that switching your preferred supplier - or comparing prices across suppliers - automatically updates the recipe roll-up and any downstream surfaces.
Updating declarations
When a supplier reformulates, switches facility, or you receive a new spec sheet:
- Open the ingredient and click Edit on {supplier name} on the Allergens card (or pick the right supplier from the modal's dropdown if you're already inside).
- Update the toggles in the allergen picker.
- Click Save allergens.
The change cascades automatically:
- The ingredient's summary card refreshes.
- Every recipe that uses this ingredient (with this supplier as preferred) recomputes its allergen roll-up in the background.
- Any matrix or downstream surface in SafetyBrik picks up the new declaration on next view.
Recipe roll-ups recompute in the background and can take a few seconds for large recipe libraries. The recipe Allergens tab will show a "Recomputing..." note while this is in progress.