Logo Figure Ground Cues

Figure Ground Cues

Cộng đồng
Deibler
figure-ground-cues

Apply specific visual cues to control figure-ground perception — shadow, elevation, scale, contrast, saturation, opacity, and texture. Use when designing layered interfaces, focus states, hover treatments, or any context where one element should clearly stand forward against others. Each cue contributes a portion of the figure-ground signal; combining cues strengthens the effect. The skill is selecting and calibrating cues for the desired level of separation.

Add to TypingMind

Tổng quan

Nhà phát hànhDeibler
Kho mãuniversal-design-principles
Tên kỹ năngfigure-ground-cues
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 Figure Ground Cues 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/perception-and-hierarchy-principles/skills/figure-ground-cues
  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/perception-and-hierarchy-principles/skills/figure-ground-cues .claude/skills/figure-ground-cues
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 Figure Ground Cues 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 Figure Ground Cues 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 Figure Ground Cues 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.

Figure-Ground — visual cues

The figure-ground sorting that the user's perception performs depends on specific visual cues. As a designer, you choose which cues to use and how strongly to apply them, calibrated to the desired separation between figure and ground.

The major cues, with notes on their relative strength:

Shadow / elevation

Strongest single cue for figure-ground in modern UI. A drop shadow under an element makes it appear closer to the viewer (figure), with the rest of the layout receding. Multiple levels of shadow create multiple levels of elevation.

Common implementations:

  • Cards with subtle shadow (2–4px blur) for moderate elevation.
  • Floating action buttons with stronger shadow (8–12px blur) for higher elevation.
  • Modals with very prominent shadow + scrim for highest elevation.

Material Design formalized this into a system of "elevation levels" (0, 1, 2, 4, 8, 16, 24 dp) each with a specific shadow recipe. The system makes consistent figure-ground separation across a product easier to maintain.

Scrim / overlay

A semi-transparent layer over the ground that makes the ground visibly recede. Most commonly used with modals: the modal sits above the scrim, the scrim sits above the page.

Calibration:

  • Light scrim (10–20% opacity) for soft separation.
  • Medium scrim (40–60% opacity) for clear modal-style separation.
  • Dark scrim (70%+ opacity) for full focus on the figure (image lightboxes, video players).

Scale

Larger elements tend to come forward as figure, especially when they're surrounded by smaller elements. A hero card among supporting cards reads as figure through scale.

But this can flip: a tiny element on a vast background can also read as figure (the small floating action button on a large canvas is figure despite its size). The cue depends on context.

Contrast and saturation

Higher contrast and more saturated colors come forward; lower contrast and muted colors recede. The active workspace at full saturation; inactive workspaces with muted colors.

This cue is subtle — it's often used in combination with others rather than alone. But it's powerful for distinguishing active from inactive content.

Opacity

Semi-transparent elements recede; fully opaque elements come forward. Reducing the opacity of inactive content (50–70% opacity) is a quick way to send it to the background.

Be careful not to reduce opacity to the point of illegibility. Even "ground" content should usually remain readable.

Sharpness vs. blur

Sharp, in-focus elements come forward; blurred elements recede. iOS uses background blur extensively — a modal's background is blurred, signaling that it's behind the modal.

Blur is a strong cue but expensive computationally. Use deliberately, not casually.

Texture and detail

More detailed elements come forward; smoother, less detailed elements recede. A photographic background with text overlaid feels different than a solid background with text — the texture of the photo competes with the text for figure status.

Outlines and borders

A clear, visible border around an element helps it read as a closed figure. Borderless elements may merge into their background.

But heavy borders can feel "heavy" or dated. Modern design often prefers shadow over border for figure separation.

Position in z-axis (layering)

Elements layered on top of others occlude them, which is a strong figure cue. The element on top is figure; the element behind is ground.

Implementation in CSS: z-index controls the layering order. In design systems: explicit layering levels (cards, popovers, modals, toasts each at their own z-axis level).

Combining cues

The cues compound. A modal that uses shadow AND scrim AND opacity reduction on the background is more clearly figure than a modal using only one of these.

For elements that need to clearly come forward (modals, popovers, focus states), combine cues. For elements that should subtly come forward (hover states, mild emphasis), use a single cue or a combination of subtle ones.

Avoid combining too many cues at high intensity — the result can feel theatrical. Match the cue strength to the actual importance of the figure.

Worked examples

A modal with full figure-ground

A modal opens. Cues applied:

  • Scrim: 50% opacity black overlay between modal and page.
  • Modal elevation: prominent shadow (16px blur, 40% opacity).
  • Modal background: pure white (sharp contrast against the dark scrim).
  • Page beneath: visible through scrim but clearly receding.

The user's perception is unambiguous: the modal is figure, the page is ground. Attention naturally goes to the modal.

A card hover with subtle figure-ground

A card in a grid is hovered. Cues applied:

  • Shadow increases (from 2px blur to 4px blur).
  • Slight scale increase (1.02×).
  • Subtle background shift (0.5% lighter).

The card subtly comes forward. Other cards remain at baseline. The user gets gentle feedback about where their attention is, without dramatic visual change.

Active workspace differentiated from inactive

In a multi-workspace app, the active workspace is rendered with full saturation; inactive workspaces are at 60% opacity with muted colors. The active workspace is clearly figure.

When the user switches workspaces, the cues swap: the new active workspace becomes figure, the previously active workspace becomes ground.

Background photo competing with text

A hero section uses a photo background with text overlaid. Without intervention, the photo's detail and color compete with the text — figure-ground is ambiguous.

Add a dark gradient over the photo (figure-ground cue: scrim) to push the photo further into the background. The text now clearly reads as figure.

A card with too many cues

A card has: a thick border, a heavy drop shadow, a colored background, a glow effect, AND scaling on hover. The card screams. It feels theatrical, almost cartoonish.

The fix: reduce to one or two strong cues. A subtle shadow + a clean white background + a slight border on hover is enough. The figure-ground separation works without the theatrics.

Anti-patterns

Insufficient cues. A modal that uses only a thin border and no shadow or scrim. The figure-ground separation is too weak; the modal blurs into the page.

Mixed cues that fight. A modal with shadow (suggests it's in front) but with reduced opacity (suggests it's receding). Users get conflicting signals.

Overdone cues. Heavy shadows on every card; high-contrast borders everywhere; aggressive scale changes on hover. The cues lose meaning when applied universally.

Inconsistent cues across surfaces. Modals styled with shadow + scrim in one place; modals styled with just a border in another. Users can't form expectations about modality.

Cues that hurt accessibility. Reducing opacity so low that text becomes hard to read; using color-only cues that fail for color-blind users.

Reversed cues. Chrome (sidebar, header) styled with stronger figure cues than the content. Users look at the chrome instead of focusing on their work.

Heuristic checklist

When designing figure-ground separation, ask: What should be figure, and what should be ground? Be deliberate. Which cues am I using to communicate the sorting? List them. Are the cues consistent within the product? Inconsistent cues confuse users. Is the separation strong enough? Test by glancing at the design — what comes forward? Is the separation too aggressive? Theatrical cues feel wrong; calibrate to the actual importance.

Related sub-skills

  • figure-ground-relationship — parent principle on figure-ground perception.
  • figure-ground-overlays-and-modals — sibling skill on the most common figure-ground problem.
  • hierarchy — figure-ground is a primary mechanism for hierarchy.
  • signal-to-noise — figure should be high-signal; ground low-noise.
  • color — color choice is one figure-ground cue.

See also

  • references/elevation-systems.md — practical guidance on building consistent elevation/figure-ground systems across a product.

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 Figure Ground Cues làm được gì?

Apply specific visual cues to control figure-ground perception — shadow, elevation, scale, contrast, saturation, opacity, and texture. Use when designing layered interfaces, focus states, hover treatments, or any context where one element should clearly stand forward against others. Each cue contributes a portion of the figure-ground signal; combining cues strengthens the effect. The skill is selecting and calibrating cues for the desired level of separation.

Vì sao nên dùng Figure Ground Cues 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. Figure Ground Cues 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 Figure Ground Cues 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/perception-and-hierarchy-principles/skills/figure-ground-cues. 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 Figure Ground Cues?

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 Figure Ground Cues 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 Figure Ground Cues 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 Figure Ground Cues 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 👇