Skip to content
Skillpedia
Interfaces (UI/UX)48k · #3198

hig-components-dialogs

Helps your agent follow Apple's guidelines for presentation components. It ensures alerts and menus follow the standard.

What it does

This tool helps choose the right type of 'box' (like an alert or menu) to show information or ask for actions in an app, following Apple's rules. It ensures these boxes appear best on different devices.

When to use it

  • ✓When deciding how to show an important error to the user.
  • ✓When creating a quick form for the user to fill out.
  • ✓When offering action options for the user to choose from.

Example of what to ask your AI

“I need to show a confirmation message before deleting a file. What's the best type of box?”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hig-components-dialogs/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hig-components-dialogs/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool analyzes what you want to show or ask for and suggests the most suitable visual component (alert, menu, etc.) according to Apple's design guidelines. It considers if the action is urgent, needs confirmation, or is just an option.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill hig-components-dialogs

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/hig-components-dialogs/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Apple HIG: Presentation Components

Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.

Key Principles

  1. Alerts: sparingly, for critical situations. Errors needing attention, destructive action confirmations, or information requiring acknowledgment. They interrupt flow and demand a response.

  2. Sheets: focused tasks that maintain context. Slides in from the edge (or attaches to a window on macOS). Use for creating items, editing settings, multi-step forms.

  3. Popovers: non-modal on iPad and Mac. Appear next to the trigger element, dismissed by tapping outside. For additional information, options, or controls without taking over the screen.

  4. Action sheets: choosing among actions. Present when picking from multiple actions, especially if one is destructive. iPhone: slide up from bottom. iPad: appear as popovers.

  5. Minimize interruptions. Before reaching for a modal, consider inline presentation or making the action undoable instead.

  6. Concise, actionable alert text. Short descriptive title. Brief message body if needed. Button labels should be specific verbs ("Delete", "Save"), not "OK".

  7. Mark destructive actions clearly. Destructive button style (red text). Place destructive buttons where users are less likely to tap reflexively.

  8. Provide a cancel option for alerts and action sheets with multiple actions. On action sheets, cancel appears at the bottom, separated.

  9. Digit entry: focused and accessible. Appropriately sized input fields, automatic advancement between digits, support for paste and autofill.

  10. Adapt presentation to platform. The same interaction may use different components on iPhone, iPad, Mac, and visionOS.

Reference Index

Reference Topic Key content
alerts.md Alerts Button ordering, title/message text, confirmation, destructive actions
action-sheets.md Action sheets Multiple actions, cancel option, destructive handling
popovers.md Popovers Non-modal, dismiss on tap outside, iPad/Mac
sheets.md Sheets Modal task, context preservation
digit-entry-views.md Digit entry PIN input, autofill, auto-advance

Output Format

  1. Recommended presentation type with rationale and why alternatives are less suitable.
  2. Content guidelines -- title, message, button labels per Apple's tone and brevity rules.
  3. Dismiss behavior -- how the user dismisses and what happens (save, discard, cancel).
  4. Alternatives -- when the scenario might not need a modal at all (inline feedback, undo, progressive disclosure).

Questions to Ask

  1. What information or action does the presentation need?
  2. Blocking or non-blocking?
  3. Which platforms?
  4. How often does this appear?

Related Skills

  • hig-components-menus -- Buttons and toolbar items triggering presentations
  • hig-components-controls -- Input controls within sheets and popovers
  • hig-components-search -- Search and navigation within presented views
  • hig-patterns -- Modality, interruptions, user flow management
  • hig-foundations -- Color, typography, layout for presentation components

Built by Raintree Technology · More developer tools

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Example

User request:

Use @hig-components-dialogs for this task: Apple HIG guidance for presentation components including alerts, action sheets, popovers, sheets, and digit entry views.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
FAQ

What are 'presentation components'?

These are the visual elements that appear 'on top' of the app's main content to get the user's attention, like alert windows, action menus, or forms that slide onto the screen.

Why follow Apple's rules?

Following Apple's guidelines (called HIG) helps create apps that feel familiar and easy to use for people who already use other Apple products, ensuring a good experience.

When should I not use this tool?

Don't use it if your need isn't about how to visually present information or request actions in an organized way, or if you already know exactly which type of box to use.

Details

Original description by the author

Apple HIG guidance for presentation components including alerts, action sheets, popovers, sheets, and digit entry views.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#3198
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills