# Feedback & Communication / Note to Citizen Officer note display pattern with alert banner and action button **Category:** Patterns **Storybook:** https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-feedback-communication-note-to-citizen--introduction ## Pattern variants - Note to Citizen: https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-feedback-communication-note-to-citizen--note-to-citizen ## When to use this pattern Use Feedback & Communication / Note to Citizen when building citizen-facing flows that match the described government journey. Combine components such as cards, forms, tables, buttons, and status indicators as shown in Storybook. ## Framework setup ### HTML / CDN ```html ``` ### React ```bash npm install ux4g-web-components ``` ```jsx import 'ux4g-web-components/styles.css'; import 'ux4g-web-components/design-system'; ``` ### Angular Update `angular.json`: ```json { "styles": [ "node_modules/ux4g-web-components/styles/ux4g.css", "src/styles.css" ], "scripts": [ "node_modules/ux4g-web-components/dist/runtime/design-system.js" ] } ``` ## Code examples The snippets below are extracted from the Storybook canvas for Feedback & Communication / Note to Citizen. Each example shows the rendered HTML, the equivalent React JSX, and the Angular template markup. ### 1. Introduction — Introduction HTML: ```html
Officer note display pattern with alert banner and action button
Officer note displayed as a warning alert with timestamp, detailed message, and resubmit action button.
Officer note display pattern with alert banner and action button
Officer note displayed as a warning alert with timestamp, detailed message, and resubmit action button.
Officer note display pattern with alert banner and action button
Officer note displayed as a warning alert with timestamp, detailed message, and resubmit action button.
A note written by a reviewing officer.
A note written by a reviewing officer.
A note written by a reviewing officer.