prompt
Button Hierarchy Guide
Defines a clear button hierarchy (primary, secondary, tertiary) with when to use each.
Define a button hierarchy for {{product}}. Describe primary, secondary, tertiary, and destructive buttons: their visual treatment, when to use each, how many primaries per screen, and how disabled and loading states behave. Add one example of a screen using them together correctly.
Variables
productProductExample output
Button hierarchy. Primary: solid brand fill, white text — the one main action; max one per screen. Secondary: outlined or tinted — supporting actions like Cancel or Back. Tertiary: text-only link style — low-emphasis actions like Learn more. Destructive: red treatment, used only for delete or irreversible actions, often with a confirm step. Disabled: reduced opacity, no hover, with a tooltip explaining why if not obvious. Loading: replace label with a spinner, keep width stable. Example: a settings dialog uses Save (primary), Cancel (secondary), and Reset to defaults (tertiary), with Delete account (destructive) separated lower down.
Details
Author
AI Khazna
License
—
Security
Vetted
Type
prompt
Related assets
More curated picks in Design & Creative.
git clone https://github.com/anthropics/skills && cp -r skills/skills/canvas-design ~/.claude/skills/
git clone https://github.com/anthropics/skills && cp -r skills/skills/web-artifacts-builder ~/.claude/skills/
git clone https://github.com/anthropics/skills && cp -r skills/skills/slack-gif-creator ~/.claude/skills/
Checks color pairs against WCAG contrast rules and suggests accessible fixes.
Photorealistic architecture renders — exteriors, interiors, urban context.
Adapts a light-mode color palette to an accessible dark-mode palette with surface and text tokens.
Audit before you install
Run any source through our checks - AI visibility, security, performance, and stack detection.
Automated Web Security Scan
security
PageSpeed Analyzer
performance
AI Content Quality Test
arabic content
AI Agent / MCP Server Tester
ai testing
Site Stack Detector
migration
AI SEO / AEO / GEO Audit
ai visibility
llms.txt Generator
ai visibility
Readability Score
arabic content
Schema / JSON-LD Builder
ai visibility
AI Cost Calculator
ai testing
Headline Analyzer
arabic content