# Hig Components Menus > HIG de Apple para menús y botones: menu bar, toolbars, context menus, action buttons, pop-up y pull-down. Fuente: https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-menus Markdown: https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-menus.md Repositorio: https://github.com/raintree-technology/hig-doctor Autor: raintree-technology Licencia: MIT Actualizado: hace 3 meses Coste de contexto: 174 tok instalada, 1.1k tok al activarse, 7.9k tok con todos los archivos del bundle Bundle: 12 archivos, 31 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add raintree-technology/hig-doctor --skill hig-components-menus --agent claude-code # Cursor npx -y skills add raintree-technology/hig-doctor --skill hig-components-menus --agent cursor # Codex npx -y skills add raintree-technology/hig-doctor --skill hig-components-menus --agent codex # Gemini CLI npx -y skills add raintree-technology/hig-doctor --skill hig-components-menus --agent gemini # Windsurf npx -y skills add raintree-technology/hig-doctor --skill hig-components-menus --agent windsurf # Cline npx -y skills add raintree-technology/hig-doctor --skill hig-components-menus --agent cline ``` ## Qué hace - Aplica HIG a menús y botones: menu bar, toolbars, context menus, action/pop-up/pull-down buttons y disclosure. - En macOS el menu bar es la interfaz primaria de comandos; toolbars y context menus lo complementan, no lo sustituyen. - Nunca deja un comando solo en el menú contextual; pop-up elige una opción, pull-down ofrece acciones. ## Cuándo usarla - El usuario pregunta cómo deben verse los botones, qué va en el menu bar o cómo diseñar un toolbar. - Hay que elegir entre context menu y action sheet, o diseñar dock/edit menus. ## Qué la activa - "¿Qué va en el menu bar de esta app Mac?" - "¿Context menu o action sheet?" - "Cómo diseñar la toolbar" ## Archivos - SKILL.md — 4 KB - references/action-button.md — 1 KB - references/buttons.md — 5 KB - references/context-menus.md — 2 KB - references/disclosure-controls.md — 1 KB - references/dock-menus.md — 872 B - references/edit-menus.md — 3 KB - references/menus.md — 3 KB - references/pop-up-buttons.md — 1 KB - references/pull-down-buttons.md — 2 KB - references/the-menu-bar.md — 3 KB - references/toolbars.md — 4 KB ## SKILL.md Reproducido tal cual desde raintree-technology/hig-doctor bajo MIT. Esta sección es el documento original y está en inglés. # Apple HIG: Menus and Buttons Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered. ## Key Principles 1. **Menus should be contextual and predictable.** Standard items in standard locations. Follow platform conventions for ordering and grouping. 2. **Use standard button styles.** System-defined styles communicate affordance and maintain visual consistency. Prefer them over custom designs. 3. **Toolbars for frequent actions.** Most commonly used commands in the toolbar. Rarely used actions belong in menus. 4. **Menu bar is the primary command interface on macOS.** Every command reachable from the menu bar. Toolbars and context menus supplement, not replace. 5. **Context menus for secondary actions.** Right-click or long-press, relevant to the item under the pointer. Never put a command only in a context menu. 6. **Pop-up buttons for mutually exclusive choices.** Select exactly one option from a set. 7. **Pull-down buttons for action lists.** No current selection; they offer a set of commands. 8. **Action buttons consolidate related actions** behind a single icon in toolbars or title bars. 9. **Disclosure controls for progressive disclosure.** Show or hide additional content. 10. **Dock menus: short and focused** on the most useful actions when the app is running. ## Reference Index | Reference | Topic | Key content | |---|---|---| | [menus.md](references/menus.md) | General menu design | Item ordering, grouping, shortcuts | | [context-menus.md](references/context-menus.md) | Context menus | Right-click, long press, secondary actions | | [dock-menus.md](references/dock-menus.md) | Dock menus | macOS app-level actions, running state | | [edit-menus.md](references/edit-menus.md) | Edit menus | Undo, copy, paste, standard items | | [the-menu-bar.md](references/the-menu-bar.md) | Menu bar | macOS primary command interface, structure | | [toolbars.md](references/toolbars.md) | Toolbars | Frequent actions, customization, placement | | [buttons.md](references/buttons.md) | Buttons | System styles, sizing, affordance | | [action-button.md](references/action-button.md) | Action button | Grouped secondary actions, toolbar use | | [pop-up-buttons.md](references/pop-up-buttons.md) | Pop-up buttons | Mutually exclusive choice selection | | [pull-down-buttons.md](references/pull-down-buttons.md) | Pull-down buttons | Action lists, no current selection | | [disclosure-controls.md](references/disclosure-controls.md) | Disclosure controls | Progressive disclosure, show/hide | ## Output Format 1. **Component recommendation** -- which menu or button type and why. 2. **Visual hierarchy** -- placement, sizing, grouping within the interface. 3. **Platform-specific behavior** across iOS, iPadOS, macOS, visionOS. 4. **Keyboard shortcuts** (macOS) -- standard and custom shortcuts for menu items and toolbar actions. ## Questions to Ask 1. Which platforms? 2. Primary or secondary action? 3. How many actions need to be available? 4. macOS menu bar app? ## Related Skills - **hig-components-search** -- Search fields, page controls alongside toolbars and menus - **hig-components-controls** -- Toggles, pickers, segmented controls complementing buttons - **hig-components-dialogs** -- Alerts, sheets, popovers triggered by menu items or buttons - **hig-inputs** -- Keyboard shortcuts and pointer interactions with menus and toolbars --- *Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)* ## Dónde encaja - Categoría: [Diseño y UI](https://skillsagentes.com/categorias/diseno-ui.md) — Sistemas de diseño, trabajo con componentes y acabado visual. - Creador: [raintree-technology](https://skillsagentes.com/creators/raintree-technology.md) — 14 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) ## Otras skills del mismo repositorio - [Hig Components System](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-system.md): HIG de Apple para experiencias de sistema: widgets, Live Activities, notificaciones, complications, App Clips y shortcuts. - [Hig Components Controls](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-controls.md): HIG de Apple para controles de selección y entrada: pickers, toggles, sliders, steppers, segmented controls, campos de texto y teclados virtuales. - [Hig Components Dialogs](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-dialogs.md): HIG de Apple para presentación: alerts, action sheets, popovers, sheets y digit entry. Cuándo interrumpir y cómo confirmar acciones destructivas. - [Hig Components Layout](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-layout.md): HIG de Apple para layout y navegación: sidebars, split views, tab bars, lists, tables y windows, adaptados a cada tamaño de pantalla. - [Hig Components Content](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-content.md): HIG de Apple para componentes de contenido: charts, collection views, imágenes, web views, lockups y visualización de datos. ## Skills relacionadas - [Hig Components Content](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-content.md): HIG de Apple para componentes de contenido: charts, collection views, imágenes, web views, lockups y visualización de datos. - [Hig Components System](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-system.md): HIG de Apple para experiencias de sistema: widgets, Live Activities, notificaciones, complications, App Clips y shortcuts. - [Hig Components Controls](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-controls.md): HIG de Apple para controles de selección y entrada: pickers, toggles, sliders, steppers, segmented controls, campos de texto y teclados virtuales. - [Hig Components Dialogs](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-dialogs.md): HIG de Apple para presentación: alerts, action sheets, popovers, sheets y digit entry. Cuándo interrumpir y cómo confirmar acciones destructivas. - [Hig Components Layout](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-layout.md): HIG de Apple para layout y navegación: sidebars, split views, tab bars, lists, tables y windows, adaptados a cada tamaño de pantalla. --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)