Patent attributes
A processor-implemented method, system, and/or computer program product alter a template used to display content on a user interface. One or more processors receive a transmission from the one or more hardware devices that describes a current cognitive state of a user. The processor(s) receive content to be presented to the user on a user interface, and identify template components that are appropriate for presenting the content to the user based on the current cognitive state of the user. The processor(s) alter an initial template used to present the content, such that altering the initial template creates an altered template, and where the altered template uses the template components that are determined to be appropriate for presenting the content to the user based on the current cognitive state of the user. The processor(s) then present the content on the user interface using the altered template.