Conditional field formatting in Lightning App Builder
Key Takeaway
Conditional field formatting adds a colored icon to a field when your rules are met, while the field value stays visible. Because conditional formatting works only on Dynamic Forms-enabled record pages, a page that shows fields through the Record Detail component must be upgraded to Dynamic Forms first.
Conditional field formatting adds an icon, in a color you choose, to a record field when rules you define are met. Users can then spot the most important information on a record page quickly. You set it up in the Lightning App Builder. Conditional formatting works only on Dynamic Forms-enabled record pages, where each field is its own component on the canvas.
Where conditional formatting works
Conditional formatting is a Lightning record page feature that page layouts can't provide. You can apply it to almost any field on a Dynamic Forms-enabled record page, including fields in the Dynamic Highlights Panel component.
Some record pages show fields through the Record Detail component instead. Those fields come from the page layout, so you can't format them where they are. Select the Record Detail component and use its option to upgrade the page to Dynamic Forms first. After the upgrade, each field is its own component that you can format.
The object also matters. Conditional formatting works only on objects that support Dynamic Forms. Most but not all standard LWC-enabled objects support Dynamic Forms. If an object's record page in the Lightning App Builder has no "Fields" tab in the component panel, that object supports neither Dynamic Forms nor conditional formatting.
Some objects can't use conditional formatting. Note has a fixed layout, so it doesn't support Dynamic Forms. Campaigns, Products, and Tasks aren't LWC-enabled and use page layout information, so they support neither Dynamic Forms nor conditional formatting.