Logo Progressive Disclosure Disclosure Affordances

Progressive Disclosure Disclosure Affordances

Cộng đồng
Deibler
progressive-disclosure-disclosure-affordances

Use this skill when picking the *mechanism* for revealing tucked content — accordion vs. modal vs. tab vs. separate page vs. tooltip. Trigger when designing the UI for "More options," picking between an inline accordion and a side sheet, deciding whether a wizard step should be a modal or a separate page, or reviewing whether existing disclosure affordances are doing their job. Sub-aspect of `progressive-disclosure`; read that first.

Add to TypingMind

Tổng quan

Nhà phát hànhDeibler
Kho mãuniversal-design-principles
Tên kỹ năngprogressive-disclosure-disclosure-affordances
Sao
9
Bản fork
3
Tệp đi kèm
1
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Deibler công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Progressive Disclosure Disclosure Affordances trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Deibler/universal-design-principles/tree/main/plugins/cognition-and-learnability-principles/skills/progressive-disclosure-disclosure-affordances
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Deibler/universal-design-principles.git /tmp/universal-design-principles
mkdir -p .claude/skills
cp -r /tmp/universal-design-principles/plugins/cognition-and-learnability-principles/skills/progressive-disclosure-disclosure-affordances .claude/skills/progressive-disclosure-disclosure-affordances
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Progressive Disclosure Disclosure Affordances trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Progressive Disclosure Disclosure Affordances ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Progressive Disclosure Disclosure Affordances với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Progressive disclosure: choosing the affordance

Once you've decided what to tuck, the next decision is how to surface it on demand. Different disclosure affordances suit different relationships between the primary and secondary content. Picking the wrong one is a common subtle UX error.

The affordance ladder

Ordered roughly from lightest to heaviest:

Tooltip / popover         — supplementary info; doesn't disturb flow
Inline expand (accordion) — additional fields/sections within the page
Tab                       — parallel views in the same region
Side sheet / drawer       — detail beside primary content
Modal / dialog            — focused interaction, blocks primary
Separate page             — full context shift, deep-linkable

Each level adds friction; pick the lightest affordance that does the job.

Tooltip / popover

For supplementary information that the user might want but doesn't need to act on.

html
<button>
  Free trial
  <span tabindex="0" aria-describedby="trial-info">ⓘ</span>
</button>
<div id="trial-info" role="tooltip" hidden>
  14 days, no credit card required. Cancel anytime.
</div>

Use for:

  • Definitions of jargon.
  • Format hints for inputs.
  • Explanations of UI labels.
  • Status / metadata that isn't worth a separate field.

Don't use for:

  • Required interaction (clicking inside a tooltip is fragile).
  • Long-form content (tooltips are for small bits).
  • Mobile-primary surfaces (no hover; touch tooltips are awkward).

Inline expand (accordion)

The classic disclosure pattern: a section header that expands to reveal its content.

html
<details>
  <summary>Advanced filters</summary>
  <fieldset>
    <label>Created after <input type="date" /></label>
    <label>Tags <input /></label>
  </fieldset>
</details>

Use for:

  • Optional form fields.
  • Settings sections that are sometimes relevant.
  • FAQ-style content (question = trigger, answer = content).
  • Any case where the deeper content makes sense in line with the primary.

Don't use for:

  • Content that needs more space than the page can give.
  • Content the user must engage with for primary task completion.
  • Sequenced content (steps in a workflow — use a separate page or modal).

Tab

Parallel views within the same page region. Switching tabs preserves context (the user is still on the same page; they're just seeing a different facet).

html
<nav role="tablist">
  <button role="tab" aria-selected="true">Overview</button>
  <button role="tab">Activity</button>
  <button role="tab">Members</button>
  <button role="tab">Settings</button>
</nav>
<div role="tabpanel">...current tab content...</div>

Use for:

  • Parallel views of the same object (overview, activity, members for a project).
  • Different cuts of the same data (filter by status: All / Open / Closed).
  • Configuration sections grouped by purpose.

Don't use for:

  • Sequential workflows (tabs imply parallel; use a stepper for sequence).
  • Tabs where one is far more important than the others (just show the primary; tuck the rest behind a different affordance).
  • Mobile primary nav (mobile bottom-nav is a tab pattern at the global level, but mid-page tabs on mobile are often awkward).

Side sheet / drawer

A panel that slides in beside the primary content, leaving primary visible. Useful for detail-of-an-item interactions where the user wants to see context while they work.

html
<aside class="sheet" role="complementary">
  <header>
    <h2>Edit invoice #1284</h2>
    <button aria-label="Close">×</button>
  </header>
  <form>...invoice fields...</form>
  <footer>
    <button>Cancel</button>
    <button class="primary">Save</button>
  </footer>
</aside>

Use for:

  • Editing a row from a table (the table stays visible; the sheet is the editor).
  • Detail views in inboxes (Gmail's preview pane).
  • Filters or properties for a selected object (Figma's right panel).

Don't use for:

  • Standalone detail views the user might bookmark (use a separate page).
  • Long forms that benefit from full-page focus.
  • Modal-required interactions (use a true modal).

Modal / dialog

A focused surface that blocks the primary. The user can't continue with primary tasks until they close the modal.

html
<dialog role="dialog" aria-labelledby="dialog-title">
  <h2 id="dialog-title">Confirm deletion</h2>
  <p>Permanently delete "Q4 plan"? This can't be undone.</p>
  <button>Cancel</button>
  <button class="destructive">Delete</button>
</dialog>

Use for:

  • Destructive confirmations.
  • Decisions that genuinely block the primary task (you can't continue until you choose).
  • Brief, focused interactions (signing in, reviewing a single short form).

Don't use for:

  • Long flows that would feel claustrophobic in a modal (use a separate page).
  • Information the user might want to reference while continuing work (use a side sheet).
  • Trivial confirmations the user will dismiss on autopilot (lean on undo instead).

Separate page

A full URL change. Used when the disclosed content is large enough or important enough to warrant its own context.

Use for:

  • Deep settings (Account / Security / Billing).
  • Configuration UIs that fill the screen.
  • Documentation that benefits from its own URL (shareable, bookmarkable).
  • Anything the user might link to or return to directly.

Don't use for:

  • Quick edits that should preserve context.
  • Optional fields in an existing form.
  • Brief decisions / confirmations.

Picking the right affordance

A few diagnostic questions:

Does the user need to keep seeing the primary?

  • Yes → tooltip, inline expand, tab, or side sheet.
  • No → modal or separate page.

Will the user return to this disclosed content?

  • Yes, frequently → separate page (so they can bookmark / link).
  • No, just this once → modal or sheet.

Does the disclosed content have its own structure (multiple subsections)?

  • Yes → separate page or full sheet.
  • No → modal, accordion, or tooltip.

Is the disclosed content a parallel view (vs. a deeper level)?

  • Parallel → tab.
  • Deeper → accordion or modal.

Does the disclosed content involve a decision the user must make before continuing?

  • Yes → modal.
  • No → any other affordance.

Common mismatches

  • Modal where a tab would do. A "Filter" modal that pops up to set filters, then closes. Filters belong inline or in a side panel; they're parallel to the main view, not a blocking decision.
  • Accordion where a separate page would do. Account / billing / security crammed into accordions on a single Settings page. Each is its own context; they deserve their own pages.
  • Tooltip where an inline note would do. Important explanation hidden in a tooltip the user must hover. Inline help text under the field is more accessible and discoverable.
  • Separate page where a side sheet would do. Editing a row by navigating to its detail page, then back to the list. Loses scroll position and context. A side sheet preserves both.
  • Tab where progressive disclosure isn't needed. Two tabs where one has 95% of the relevant content. Just show the primary; the second "tab" can be a link or a smaller affordance.

Mobile considerations

Mobile compresses the affordance choices:

  • Tooltips become awkward (no hover); use inline help or a dedicated info screen.
  • Side sheets typically become full-screen sheets (left or right slide-in).
  • Modals typically become full-screen presentations.
  • Tabs stay viable but with smaller labels.
  • Inline accordions still work well; arguably better on mobile (less screen real estate for everything visible).

When in doubt on mobile, default to inline disclosure (accordion) or full-screen takeover. The middle ground (small popovers, partial overlays) often feels cramped.

Accessibility notes

  • <details> / <summary> is the most accessible inline-expand pattern; native keyboard, semantics, and screen-reader support.
  • <dialog> is the modern modal element with proper focus management when used with .showModal().
  • Tabs require ARIA: role="tablist", role="tab", role="tabpanel", aria-selected, arrow-key navigation.
  • Tooltips need keyboard activation (focus, not just hover) and proper aria-describedby references.
  • Sheets / drawers need focus trap, Esc to close, focus restoration on close.

Most modern UI libraries (Radix, React Aria, headless component sets) implement these correctly. Custom implementations frequently get focus management wrong; lean on libraries.

Heuristics

  1. The "lightest viable" rule. Pick the lightest affordance on the ladder that meets the need. Promoting unnecessarily adds friction.
  2. The deep-link test. Can users link directly to the disclosed content? If yes, you probably want a separate page (or modal whose state is in the URL). If no, lighter affordance is fine.
  3. The frequency check. How often does the user open this disclosure? Frequent → light affordance (low friction). Rare → heavier affordance is fine.
  4. The dismiss test. Can the user always dismiss / close? Esc, click outside, close button — at least two of these should work.

Related sub-skills

  • progressive-disclosure (parent).
  • progressive-disclosure-defaults-and-tucking — the editorial decisions that produce the choices this skill helps execute.
  • affordance (interaction) — disclosure triggers must look like triggers.
  • feedback-loop (interaction) — opening a disclosure should give immediate visual feedback.
  • accessibility-operable (process) — disclosure affordances must work with keyboard.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Progressive Disclosure Disclosure Affordances làm được gì?

Use this skill when picking the *mechanism* for revealing tucked content — accordion vs. modal vs. tab vs. separate page vs. tooltip. Trigger when designing the UI for "More options," picking between an inline accordion and a side sheet, deciding whether a wizard step should be a modal or a separate page, or reviewing whether existing disclosure affordances are doing their job. Sub-aspect of `progressive-disclosure`; read that first.

Vì sao nên dùng Progressive Disclosure Disclosure Affordances trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Progressive Disclosure Disclosure Affordances là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Progressive Disclosure Disclosure Affordances trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Deibler/universal-design-principles/tree/main/plugins/cognition-and-learnability-principles/skills/progressive-disclosure-disclosure-affordances. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Progressive Disclosure Disclosure Affordances?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Progressive Disclosure Disclosure Affordances với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Progressive Disclosure Disclosure Affordances với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Progressive Disclosure Disclosure Affordances có miễn phí không?

Kỹ năng này được Deibler phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇