Gestalt Uiのロゴ

Gestalt Ui

コミュニティ
alpham8
gestalt-ui

ゲシュタルトの視覚知覚原則をUIデザインに適用します。次のような場面で使用します。(1)UI要素を効果的にグループ化して整理する、(2)コンポーネント間に直感的な視覚的関係を作る、(3)レイアウトの知覚的な分かりやすさを評価する、(4)ユーザーがひと目で理解できるナビゲーション、カード、フォーム、ダッシュボードを設計する。デジタルインターフェースに応用したゲシュタルト心理学の研究に基づいています。

Add to TypingMind

概要

公開者alpham8
リポジトリagentic-webdev
スキル名gestalt-ui
スター
4
フォーク
0
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    alpham8がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Gestalt Ui」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/alpham8/agentic-webdev/tree/master/skills/wondelai/gestalt-ui
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/alpham8/agentic-webdev.git /tmp/agentic-webdev
mkdir -p .claude/skills
cp -r /tmp/agentic-webdev/skills/wondelai/gestalt-ui .claude/skills/gestalt-ui
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでGestalt Uiを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にGestalt Uiを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Gestalt Uiは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Gestalt Principles for UI Design

A framework for applying Gestalt psychology to interface design. Gestalt principles describe how humans automatically group, separate, and interpret visual elements -- use them intentionally to make interfaces self-explanatory.

Core Principle

Users don't see individual elements -- they see patterns and relationships. Every spacing decision, border, colour choice, and alignment communicates grouping, hierarchy, and meaning whether you intend it to or not. Gestalt principles are always active. The question is whether you're using them deliberately or accidentally.

Scoring

Goal: 10/10. When reviewing or designing interfaces, rate 0-10 based on deliberate application of Gestalt principles.

  • 9-10: Every grouping is intentional. Proximity, similarity, and common region work together. Visual relationships match semantic relationships perfectly.
  • 7-8: Most groupings are clear. Minor spacing inconsistencies or ambiguous element relationships in secondary areas.
  • 5-6: Groupings partially work but some elements feel disconnected or wrongly associated. Spacing is inconsistent.
  • 3-4: Significant grouping problems. Users must read labels to understand relationships because visual structure doesn't communicate them.
  • 1-2: No discernible visual grouping. Elements scattered without spatial logic. Users are lost.

The Gestalt Framework

1. Proximity -- The Primary Grouping Mechanism

Core concept: Elements positioned close together are perceived as related. Spacing is the most fundamental tool for communicating structure.

Why it works: The brain groups nearby elements automatically, before conscious thought. This is faster than reading labels or borders.

Key insights:

  • Related elements need less space between them than unrelated elements
  • A label must be closer to its input field than to the previous field
  • Section gaps should be noticeably larger than intra-section spacing
  • Equal spacing everywhere makes everything look equally related -- destroying hierarchy

Product applications:

ContextApplicationExample
FormsTighter spacing within field groups, larger gaps between groupsShipping address fields grouped tightly, separated from billing by 2x gap
NavigationClustered items in header menusPrimary nav items grouped, utility links (login, search) spatially separated
DashboardsRelated metrics grouped by proximityRevenue metrics clustered together, user metrics in a separate spatial zone
CardsContent within cards tightly spacedTitle-description-meta as a tight unit, action buttons slightly separated

Common mistake: Equal margins on all elements. If your form has identical gaps between every field, you've removed all visual grouping.

See: references/proximity-similarity.md

2. Similarity -- Visual Consistency Signals Function

Core concept: Elements sharing visual characteristics (colour, shape, size, weight, texture) are perceived as related and functionally equivalent.

Why it works: Once the brain identifies one element's meaning, it transfers that meaning to all visually similar elements. A blue underlined word learned as "clickable" makes all blue underlined words clickable.

Key insights:

  • All interactive elements of the same type must look identical (links, buttons, inputs)
  • Breaking similarity creates emphasis -- the Von Restorff Effect (see laws-of-ux skill)
  • Icon families must use uniform stroke weight, dimensions, and style
  • Typography hierarchy: same size and weight = same level of importance

Product applications:

ContextApplicationExample
NavigationConsistent link styling signals clickabilityAll nav links same colour, weight, and hover behaviour
ButtonsSame-level buttons share visual styleAll secondary actions use outlined style, all primary use filled
Data tablesConsistent cell styling signals data typeAll currency values right-aligned, same font, same colour
Status indicatorsConsistent badge/tag stylingAll "active" badges green, same size and shape

Critical rule: Breaking similarity must be intentional. A red item in a list of blue items demands attention -- use this for CTAs, errors, or critical actions, never accidentally.

See: references/proximity-similarity.md

3. Common Region -- Boundaries Create Groups

Core concept: Elements enclosed within the same boundary are perceived as grouped and related, even if they're otherwise dissimilar.

Why it works: Borders, backgrounds, and cards create explicit containers. Common region can override proximity -- items far apart but within the same card appear more related than close items in different cards.

Key insights:

  • Cards, panels, and bordered sections are common region in action
  • Background colour changes signal section boundaries
  • Common region is stronger than proximity -- use it to override spatial grouping when needed
  • Too many containers create visual noise; use sparingly and with purpose

Product applications:

ContextApplicationExample
FormsFieldsets with visible borders group related inputsAddress fields in a bordered fieldset, payment in another
DashboardsCards containing related metrics"Revenue" card with total, growth, and chart -- visually one unit
SettingsPanels separating configuration areasAccount settings panel, notification preferences panel, privacy panel
PricingPlan cards enclosing features, price, and CTAEach plan visually distinct as a complete unit

See: references/region-connectedness.md

4. Figure-Ground -- Focus vs Context

Core concept: Elements separate into figure (focal element) and ground (background/context). The brain must decide what's foreground and what's behind -- make this decision obvious.

Why it works: Stable figure-ground relationships direct attention. Unstable ones create confusion about what to focus on.

Key insights:

  • High-contrast elements become figure; low-contrast becomes ground
  • Smaller overlapping objects tend to be figure; larger ones ground
  • Shadows and elevation create clear figure-ground separation
  • Modal overlays use dimmed backgrounds to force figure-ground clarity

Product applications:

ContextApplicationExample
CTAsHigh-contrast button against neutral backgroundBright "Sign Up" button on a muted hero section
ModalsDimmed/blurred backdrop establishes overlay as figureDark scrim behind a confirmation dialog
CardsSubtle shadows lift content off the pageCard with box-shadow on flat background
NavigationSidebar visually distinct from main contentDarker sidebar, lighter content area

Ethical boundary: Never use ambiguous figure-ground to hide important information (dark patterns). Pricing, terms, and opt-outs must be clear figure elements.

See: references/figure-ground-closure.md

5. Closure -- The Brain Completes Patterns

Core concept: We fill in missing visual information to perceive complete shapes. Partial information is enough when the pattern is recognisable.

Why it works: The brain wants coherence. Showing "enough" lets users infer the rest without overwhelming them with visual detail.

Key insights:

  • Partially visible carousel items signal "more content available"
  • Progress bars use closure -- an incomplete fill implies a complete target
  • Truncated text with "..." signals expandable content
  • Dotted or dashed lines suggest boundaries without solid visual weight

Product applications:

ContextApplicationExample
CarouselsPartially visible cards at edgesNext card peeking 20% into view signals scrollability
ProgressIncomplete fills show remaining work"3 of 5 steps completed" with partial bar
ListsTruncated items signal more content"Showing 5 of 23 results" with fade-out
IconsSimplified shapes the brain completesAn incomplete circle still reads as "loading"

See: references/figure-ground-closure.md

6. Continuity -- Follow the Line

Core concept: Elements arranged on a line or curve appear related and sequential. The eye follows the path naturally.

Why it works: We continue perceiving shapes and paths beyond their visible endpoints. This creates flow and sequence.

Key insights:

  • Aligned elements along invisible grid lines create order and cohesion
  • Progress steppers guide users through sequences
  • Breadcrumbs follow a linear path showing hierarchy
  • Diagonal or curved layouts guide eye movement through content

Product applications:

ContextApplicationExample
WizardsStep indicators connected by a lineSteps 1-2-3-4 connected, showing progression
TimelinesChronological events along a vertical lineActivity feed with connecting timeline
BreadcrumbsLinear path showing navigation hierarchyHome > Category > Product
Grid alignmentElements aligned to invisible columnsDashboard widgets snapped to a 12-column grid

7. Uniform Connectedness -- The Strongest Grouping

Core concept: Visually connected elements are perceived as most strongly related. This is the most powerful Gestalt grouping principle.

Why it works: Explicit visual connections (lines, arrows, shared containers) create unambiguous relationships that override all other grouping cues.

Key insights:

  • Connecting lines don't need direct contact with elements -- visual alignment is sufficient
  • Stronger than proximity, similarity, and common region
  • Use for explicit relationships that must be unambiguous
  • Process flows, org charts, and data relationships benefit most

Product applications:

ContextApplicationExample
Process flowsLines connecting sequential stepsCheckout: Cart → Shipping → Payment → Confirm
Org chartsLines showing reporting relationshipsTree structure with connecting branches
Data vizLines connecting related data pointsLine charts, node graphs, dependency trees
FormsVisual connectors between conditional fields"If yes" → reveal connected sub-fields

See: references/region-connectedness.md

8. Common Fate -- Movement Creates Grouping

Core concept: Elements moving together or in the same direction are perceived as related, regardless of visual similarity or distance.

Why it works: Shared motion is a powerful grouping signal -- the brain assumes co-moving elements are part of the same system.

Key insights:

  • Animated hover states affecting multiple elements simultaneously group them
  • Parallax layers moving at the same speed appear related
  • Swiping a card group as a unit signals they belong together
  • Scroll-linked animations on multiple elements create perceived unity

Product applications:

ContextApplicationExample
Hover effectsRelated elements react together on hoverHovering a card highlights its image, title, and CTA simultaneously
LoadingGrouped skeleton placeholders shimmer togetherThree related cards pulsing in sync
Scroll effectsCo-moving elements during scrollHeader and subheader sliding up together
Drag and dropSelected items moving as a groupMulti-select files dragging together

9. Focal Points -- What Stands Out Gets Attention

Core concept: Elements with contrast, emphasis, or visual distinction capture attention. The eye is drawn to what differs from its surroundings.

Why it works: Focal points require a baseline of similarity -- without uniform surrounding elements, nothing can stand out. Contrast is relative.

Key insights:

  • A highlighted CTA only works if surrounding elements are visually quieter
  • Larger text draws attention to key information
  • Colour contrast makes specific elements stand out
  • Unique shapes among uniform elements attract the eye
  • If everything is emphasised, nothing is emphasised

Product applications:

ContextApplicationExample
CTAsContrasting colour on primary actionBlue "Submit" button among grey secondary buttons
PricingRecommended plan visually distinct"Popular" plan larger, different colour, highlighted border
AlertsProminent styling for important messagesRed banner for errors among neutral content
DataKey metric highlightedDashboard KPI in large, bold font; supporting data in standard size

10. Pragnanz (Simplicity) -- Simple Wins

Core concept: People perceive complex arrangements in the simplest possible form. We prefer clear, ordered, symmetrical structures because they require less cognitive effort.

Why it works: Simpler interpretations are processed faster and feel safer. This is the meta-principle underlying all other Gestalt principles.

Key insights:

  • Clean, uncluttered interfaces are processed faster
  • Break complex information into simple, scannable components
  • Favour straightforward iconography over detailed illustrations
  • When in doubt, simplify -- if users must think about the structure, it's too complex

Product applications:

ContextApplicationExample
NavigationHierarchical organisation over flat listsCategorised menu instead of 40 links
IconsSimple, recognisable shapesMagnifying glass for search, not a detailed binoculars illustration
LayoutsClean grids over chaotic arrangementsUniform card grid instead of scattered elements
OnboardingStep-by-step over all-at-onceWizard with 4 clear steps instead of one overwhelming form

Principle Interactions

Gestalt principles don't work in isolation. They interact, reinforce, and sometimes conflict.

Reinforcement (Stronger Together)

CombinationEffect
Proximity + SimilarityElements that are close AND look alike are very strongly grouped
Common Region + ProximityCards with tight internal spacing -- double grouping signal
Continuity + Uniform ConnectednessSteps connected by a line AND aligned -- maximum sequence clarity
Figure-Ground + Focal PointsHigh-contrast CTA on dimmed background -- maximum attention

Conflicts (Resolution Required)

ConflictResolution
Proximity suggests group A, but Similarity suggests group BCommon Region overrides both -- use a container
Uniform Connectedness creates unwanted associationIncrease spacing (Proximity) AND change styling (Similarity) to counteract
Closure implies content exists but it doesn'tRemove the visual cue -- don't show a partial card if there's nothing to scroll to

Common Mistakes

MistakeWhy It FailsFix
Equal spacing everywhereRemoves all visual grouping -- everything looks equally relatedUse a spacing scale: tighter within groups, looser between
Too many containers/bordersVisual noise, every element screams "I'm a group"Use proximity and whitespace first; add borders only when needed
Inconsistent interactive stylingUsers can't predict what's clickableAudit all links, buttons, and interactive elements for visual consistency
Ambiguous figure-groundUsers don't know where to focusIncrease contrast on focal elements; dim/blur backgrounds
Accidental similarityUnrelated elements look alike, implying false relationshipsVary colour, size, or shape to differentiate distinct element types

Quick Diagnostic

QuestionIf NoAction
Can you tell which elements are grouped without reading labels?Spacing doesn't communicate structureAdjust proximity: tighter within groups, larger gaps between
Do all interactive elements of the same type look the same?Inconsistent similarityAudit and unify link, button, and input styling
Is there one clear focal point per screen/section?Everything competes for attentionReduce visual weight on secondary elements; increase on primary
Do cards/containers have clear internal hierarchy?Flat visual weight inside containersApply figure-ground and size contrast within cards
Can users predict what happens when they interact with an element?Weak signifiersStrengthen similarity with other interactive elements of the same type

Reference Files

Further Reading

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Gestalt Ui」では何ができますか?

ゲシュタルトの視覚知覚原則をUIデザインに適用します。次のような場面で使用します。(1)UI要素を効果的にグループ化して整理する、(2)コンポーネント間に直感的な視覚的関係を作る、(3)レイアウトの知覚的な分かりやすさを評価する、(4)ユーザーがひと目で理解できるナビゲーション、カード、フォーム、ダッシュボードを設計する。デジタルインターフェースに応用したゲシュタルト心理学の研究に基づいています。

TypingMindでGestalt Uiを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Gestalt Uiはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにGestalt Uiをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/alpham8/agentic-webdev/tree/master/skills/wondelai/gestalt-uiを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Gestalt Uiを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Gestalt Uiで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGestalt Uiを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Gestalt Ui」は無料ですか?

はい。alpham8がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇