{"name":"design-buttons-and-actions-by-platform","description":"Places actions on an iOS phone, Android and a desktop PC so the main action is obvious and the rest stay quiet - toolbar or a floating button, filled or text, and a status bar or a dialog. Use when the user asks which button style matches the platform, or whether the action belongs in a toolbar.","category":"apps","tags":["buttons"],"models":["any"],"proven":false,"passing_families":0,"model_testing":"Not yet model-tested; testing Jan 2027","url":"https://theskillvault.ai/skills/design-buttons-and-actions-by-platform","api_url":"https://theskillvault.ai/api/skills/design-buttons-and-actions-by-platform","raw_url":"https://theskillvault.ai/api/skills/design-buttons-and-actions-by-platform/raw","body":"# Design buttons and actions by platform\n\nA single primary action per screen is enough. The platform already has a place for it. Extra emphasis on every control makes none of them look important.\n\n## When to use\n- A screen has several actions and it is unclear which action is primary.\n- Someone wants a floating action button on an iOS phone, or a tab-bar item that only creates something.\n- A desktop PC message is popping a dialog for a status that could be a bar.\n\n## When not to use\n- Skip this when you are choosing the section control (tab bar, rail, sidebar). That is a separate skill.\n- Skip this when you are coding an Expo sheet or switch. That is a separate skill.\n- The screen is a marketing website button. Web buttons are a different look.\n\n## Steps\n1. Name the single primary action on the screen. Everything else is secondary or quiet.\n2. On iOS phone and iPad, put that action in the toolbar, not in the tab bar. A tab bar changes sections. It does not create or delete.\n3. On Android, a floating action button is for the most important action on that screen. If the action is milder, use a filled button. Use a tonal or outlined button for the next level, and a text or icon button for the quiet ones. Do not make every control filled.\n4. On a desktop PC, put commands in the command bar. Use an info bar for a status the person can dismiss. Do not open a dialog just to say something succeeded.\n5. Keep hit targets large enough for a thumb, about 44 points on Apple screens. Do not shrink an icon button below that.\n6. Destructive actions stay secondary until the person confirms them. Do not colour every button red.\n7. Check light and dark. The primary action must still be the action the eye hits first.\n\n## Gotchas\n- Do not label a sample button with a password, a token or a private balance.\n- Two floating buttons on an Android screen fight each other. Keep a single floating button.\n- An iOS phone toolbar action copied as a desktop dialog feels heavy. Match the platform.\n- These notes are our summary of public platform guidance. They are not vendor documentation.\n\n## Portability\nIf you use SwiftUI, Jetpack Compose or WinUI, map the choice onto that toolkit's toolbar, floating button or info bar. That mapping is the remaining work. If you use React Native or Expo, the same ranking applies. The widget names differ.\n\n## Done when\n- The screen has a single primary action, in the platform's usual place.\n- Secondary actions are visibly quieter.\n- Status messages do not open a dialog when a bar would do.\n\n## Example prompt\n\"This Android order screen has Save, Share and Delete all as filled buttons, plus a second floating button. Rank them the Material way and move Delete behind a confirm.\"\n\n---\nWritten by TheSkillVault, CC BY 4.0. Button placement is summarised from public Apple, Material and Fluent guidance. No text was copied from those docs.","files":[],"license":"CC-BY-4.0","license_name":"CC BY 4.0","license_url":"https://creativecommons.org/licenses/by/4.0/","attribution":"From TheSkillVault, https://theskillvault.ai, CC BY 4.0","install":{"claude_code":"curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/design-buttons-and-actions-by-platform/raw' -o ~/'.claude/skills/design-buttons-and-actions-by-platform/SKILL.md'","cursor":"curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/design-buttons-and-actions-by-platform/raw' -o '.cursor/skills/design-buttons-and-actions-by-platform/SKILL.md'","agents":"curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/design-buttons-and-actions-by-platform/raw' -o '.agents/skills/design-buttons-and-actions-by-platform/SKILL.md'","mcp_url":"https://theskillvault.ai/mcp","cursor_mcp_deeplink":"cursor://anysphere.cursor-deeplink/mcp/install?name=theskillvault&config=eyJ1cmwiOiJodHRwczovL3RoZXNraWxsdmF1bHQuYWkvbWNwIn0%3D","mcp_config":{"mcpServers":{"theskillvault":{"url":"https://theskillvault.ai/mcp"}}}},"bundles":[],"tested_on":[{"family":"chatgpt","name":"ChatGPT","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"claude","name":"Claude","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"gemini","name":"Gemini","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"grok","name":"Grok","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"llama","name":"Llama","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"deepseek","name":"DeepSeek","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"mistral","name":"Mistral","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"qwen","name":"Qwen","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"kimi","name":"Kimi K","outcome":null,"date":null,"source":null,"counts":false,"stale":false}],"proven_rule":{"threshold":5,"window_days":365,"computed_at":"2026-11-29T03:42:30.374Z"}}