use-design-system/AlertDialog

Render customizable modal alert dialogs with React and accessibility features.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/tokijh/minapp --skill use-design-system-alertdialog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: use-design-system/AlertDialog
Source: https://github.com/tokijh/minapp/tree/main/.claude/skills/use-design-system/subskills/AlertDialog
Command: npx skills add https://github.com/tokijh/minapp --skill use-design-system-alertdialog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a standardized and accessible way to present important alerts, warnings, and confirmation dialogs to users within an application, ensuring critical information is communicated effectively.

Core Features & Use Cases

  • Modal Dialogs: Presents information in a focused overlay that requires user interaction.
  • Customizable Content: Supports titles, descriptions, and action buttons for tailored messages.
  • Accessibility: Built with accessibility in mind, including focus trapping and keyboard navigation.
  • Control Over Closing: Offers options to prevent closing via dimmer clicks or back events for critical confirmations.
  • Use Case: When a user attempts to delete a critical record, an AlertDialog can appear asking for confirmation with "Delete" (danger) and "Cancel" options.

Quick Start

Use the AlertDialog skill to display a confirmation message with a delete and cancel button.

Frequently Asked Questions about use-design-system/AlertDialog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a React modal confirmation dialog for critical actions?

You can create a React modal confirmation dialog using a component that renders customizable titles, descriptions, and action buttons. It presents a focused overlay requiring user interaction, ideal for critical confirmations like deleting records.

When should I use an alert dialog instead of a regular modal in React?

Use an alert dialog for critical alerts and important notifications that require immediate user confirmation. Unlike regular modals, it offers control over closing behavior, preventing dismissal via dimmer clicks or back events to ensure users acknowledge critical information.

Does this React alert dialog component support accessibility features like focus trapping?

Yes, the React alert dialog component supports accessibility by including focus trapping and keyboard navigation. This ensures users interacting via keyboard or screen readers are confined to the modal until the required action is completed.

Can I prevent a React confirmation dialog from closing when clicking the dimmer?

Yes, the alert dialog component provides control over closing behavior, allowing you to prevent dismissal via dimmer clicks and back events. This ensures users cannot accidentally bypass critical warnings or confirmation prompts.

How do I add danger and cancel action buttons to a React modal alert?

You can add action buttons by customizing the content of the alert dialog component. It supports tailored action buttons, enabling you to include specific options like a danger 'Delete' button and a 'Cancel' button for user confirmations.