Welcome to Vanilla Breeze
This bell pulls live notifications from /go/notify/messages — the same contract documented at /docs/concepts/service-contracts/. Static articles like this one are the no-JS / no-backend fallback.
This bell pulls live notifications from /go/notify/messages — the same contract documented at /docs/concepts/service-contracts/. Static articles like this one are the no-JS / no-backend fallback.
Searchable, categorized glossary for ubiquitous language and project taxonomy — progressively enhances a dl definition list.
A web component that progressively enhances a <dl> definition list into a searchable, categorized glossary with alphabet navigation and cross-linking. Without JavaScript, the definition list renders normally. With JavaScript, terms are grouped by category, searchable, and navigable via an A–Z jump bar.
<glossary-wc title="Project Glossary" searchable> <dl> <div data-category="Domain" data-term-id="velocity"> <dt>Velocity</dt> <dd>The amount of work a team can complete in a sprint, measured in story points.</dd> </div> <div data-category="Domain" data-term-id="epic"> <dt>Epic</dt> <dd>A large body of work broken down into stories. See also: <a href="#velocity">velocity</a>.</dd> </div> <div data-category="Technical" data-term-id="api-gateway"> <dt>API Gateway</dt> <dd>Single entry point for all client requests.</dd> </div> </dl></glossary-wc>
| Attribute | Type | Default | Description |
|---|---|---|---|
title | string | — | Glossary heading |
src | string (URL) | — | JSON data URL |
searchable | boolean | — | Enables search input that filters terms |
compact | boolean | — | Reduced spacing |
Each term is wrapped in a <div> inside the <dl> with these data attributes:
| Attribute | On | Description |
|---|---|---|
data-category | <div> | Category label for grouping (e.g., "Domain", "Technical") |
data-term-id | <div> | Unique ID, auto-set as HTML id for fragment anchors |
searchable is set, a search input filters terms by name and definition text<a href="#term-id"> inside definitions to link between terms{ "title": "Project Glossary", "terms": [ { "id": "velocity", "term": "Velocity", "definition": "Work completed per sprint in story points.", "category": "Domain", "seeAlso": ["epic", "sprint"] } ]}
| Event | Detail | When |
|---|---|---|
glossary-wc:ready | { termCount, categories } | After setup |
glossary-wc:search | { query, matchCount } | On search input |
<dl> provides native definition list semantics before and after upgradearia-label and role="search"aria-expanded<adr-record> — ADRs that reference glossary terms<site-map-wc> — IA tree that organizes content described in the glossary