算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
wayfinding-breadcrumbs-and-context【设计与创意】Use this skill when designing the orientation chrome that tells users where they are — breadcrumbs, current-page indicators, page titles, header context, "you are here" markers, parent-link affordances. Trigger when designing a multi-level IA, when users complain "I lost track of where I was," when reviewing whether to add or remove a breadcrumb, or …
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
wayfinding; read that first.'The orientation stage of wayfinding is largely served by the chrome a user sees on every page: the breadcrumb at the top, the highlighted item in the nav, the page title, the URL pattern. Done well, this chrome is invisible (the user just knows where they are). Done poorly, it forces the user to actively reconstruct their location every time they look up.
Three jobs, on every page:
Each job has standard patterns; combining them produces a complete orientation system.
Breadcrumbs are the most-cited orientation pattern: a horizontal path from the root to the current page.
<nav aria-label="Breadcrumb">
<ol>
<li><a href="/">Home</a></li>
<li><a href="/projects">Projects</a></li>
<li><a href="/projects/acme">Acme</a></li>
<li aria-current="page">Settings</li>
</ol>
</nav>
/u/3829/p/abc/n — confusion.The user looks at the primary nav and sees one item highlighted: the current page (or current section).
<nav>
<a href="/dashboard">Dashboard</a>
<a href="/projects" aria-current="page">Projects</a>
<a href="/team">Team</a>
<a href="/settings">Settings</a>
</nav>
<style>
nav a[aria-current="page"] {
background: var(--bg-active);
color: var(--fg-active);
font-weight: 500;
}
</style>
aria-current="page" makes the indicator accessible to screen readers; CSS makes it visible.
For sidebar navs with sections and sub-items, both the section header and the current sub-item should have indicators — the user sees the section context as well as the specific page.
The page's <h1> and the browser tab's <title> are wayfinding chrome.
<h1> confirms what page you're on. It should match the nav item that brought you here.<title> appears in the browser tab and in browser history. It should be descriptive enough to identify the page without context.<title>Q4 plan — Notes — Acme — MyProduct</title>
<h1>Q4 plan</h1>
The tab title shows the path from specific to general (current page → context → product); the H1 shows just the current page (since context is visible elsewhere on the page).
The URL is wayfinding for power users and for shared/bookmarked links.
/projects/acme/notes/q4-plan) reflect IA depth. Each segment is a real, navigable level./p/8f3c7a) are opaque. Useful for stable IDs; bad for orientation./search?q=q4+plan&filter=notes) carry orientation about what the user did, not where they are in the IA.The pragmatic rule: hierarchical URLs for content that has a hierarchy; opaque URLs for objects that don't (a chat message, a notification). Don't mix.
The persistent app header carries orientation information beyond the nav:
<header class="app-header">
<a href="/" class="logo">MyProduct</a>
<button class="org-switcher">Acme Inc ▾</button>
<nav>...</nav>
<button class="user-menu">
<img alt="Maria Mendoza" src="/avatar/maria.jpg" />
</button>
</header>
In settings or developer tools, an environment indicator ("PROD", "STAGING", "DEV") in a strong color belongs in the header — it's safety-critical orientation.
For pages that exist below a parent (a detail view of an item in a list), a "Back to ..." link at the top is more compact and sometimes more useful than a full breadcrumb:
<a class="back-link" href="/projects/acme">
← Back to Acme
</a>
<h1>Q4 plan</h1>
This works well when the user came from the parent. It's less appropriate when the user landed on the detail directly (e.g., from a notification or shared link), because they may not have a clear "back" in mind.
Mobile screens compress orientation chrome. Patterns:
The single most useful test: the deep-link test.
If yes to all four, your orientation chrome is working. If no, the chrome is too thin.
/p/8f3c7a with no breadcrumb, no nav highlight, no clear title. The user can't form a cognitive map even if they want to.wayfinding (parent).wayfinding-physical-spatial-metaphors — spatial metaphors set the high-level wayfinding model; breadcrumbs handle the per-page orientation.wayfinding-search-and-recovery — when orientation fails, search recovers.hierarchy (perception) — visual hierarchy on a page is page-internal wayfinding.recognition-over-recall — orientation chrome lets users recognize where they are; without it, they recall (slower, error-prone).visibility — chrome must be visible to do its job.