用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/thedaviddias/ux-patterns-for-developers --skill account-settings命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | account-settings |
| description | Use when implementing user account configuration and preferences. |
| metadata | {"id":"account-settings","category":"authentication","pattern":"Account Settings","source":"uxpatterns.dev","url":"https://uxpatterns.dev/patterns/authentication/account-settings","sourcePath":"apps/web/content/patterns/authentication/account-settings.mdx"} |
User account configuration and preferences
Account Settings is the centralized interface where authenticated users manage their account configuration, security preferences, notification settings, and personal data. It serves as the control center for everything related to the user's relationship with the application. A well-organized settings page groups related options logically, confirms destructive actions, and provides clear feedback when changes are saved — all while keeping sensitive operations behind re-authentication.
Use Account Settings to give users control over their account configuration, security, and preferences. Common scenarios include:
references/pattern.md, then choose the smallest viable variation.Do's ✅
aria-live="polite" on the status element<nav> with aria-labelaria-current on the active navigation item
Don'ts ❌Lazy Load Settings Sections
const SecuritySettings = lazy(() => import('./SecuritySettings'));
The Problem: A single "Save all" button at the bottom of the page means users must scroll to save, and it's unclear which changes will be applied.
How to Fix It: Use per-section save buttons. Each section saves independently with its own feedback message.
The Problem: Users can change their email, password, or disable 2FA without proving their identity again, allowing attackers with session access to take over the account.
How to Fix It: Require the current password (or 2FA code) before allowing changes to email, password, security settings, or account deletion.
The Problem: A single click on "Delete account" permanently destroys the account without warning.
How to Fix It: Use a multi-step confirmation: first click reveals a warning, second click confirms. Consider requiring the user to type "DELETE" or their email. Offer a grace period for recovery.
For full implementation detail, examples, and testing notes, see references/pattern.md.
Pattern page: https://uxpatterns.dev/patterns/authentication/account-settings