harmony-modal-pattern
Skill for implementing a Harmony modal pattern using Harmony Modal components.
Overview
The Modal pattern is a temporary overlay dialog that focuses user attention on a single task or piece of information. It intentionally blocks interaction with the underlying page until the user completes or dismisses the modal, so it should be used sparingly.
This pattern composes a trigger control with Modal, Modal.Body, and Modal.Actions. Keep content concise, action-oriented, and scoped to one decision or short workflow.
Template Variants
With Content (./templates/with-content.tsx)
Use when: You need a focused confirmation, acknowledgement, or short workflow that requires explicit user action before returning to the page.
Components: trigger Button + Modal + Modal.Body + Modal.Actions
Best for: Destructive confirmations, short approval flows, simple data-entry tasks, or important informational dialogs that must interrupt the current page.
Usage
- Launch the modal from a deliberate user action such as a button click.
- Put the primary task or supporting content in
Modal.Body. - Keep dismiss and completion actions in
Modal.Actions. - If content can exceed the viewport, make the body region scrollable and keyboard reachable.
Templates
- ./templates/with-content.tsx
Related Assets
Harmony Components
Reference for Harmony Design System React components including buttons, modals, panels, form controls, navigation, and data display elements.
Owner: pcorazao
harmony-form-pattern
Build accessible healthcare forms using the Harmony Design System (@uhg-harmony/react). Provides component patterns, layout templates, and state management guidance for TextInput, DatePicker, Checkbox, Select, FormControl, and multi-step form flows. Use when creating React forms with Harmony components, fixing layout or accessibility issues, or scaffolding new healthcare intake forms.
Owner: pcorazao
harmony-app-layout-pattern
Skill for implementing a responsive app layout pattern using Harmony components.
Owner: pcorazao
Optum Harmony Healthcare Demo App
Create a Harmony-based example healthcare application that showcases eligibility, claims, and remittance concepts using current Harmony skills, instructions, navigation, forms, and components.
Owner: harmony-platform
Harmony Overview
Overview of the Harmony Design System — Optum's unified React component library combining UITK and UICL for building scalable, brand-compliant, and accessible healthcare web applications.
Owner: pcorazao
Harmony Setup
Setup guide for creating new projects with the Harmony Design System, including license keys, Node.js prerequisites, Artifactory NPM configuration, and React integration.
Owner: pcorazao

