Icon families and brand grouping
Icon families connect a parent brand mark to the product and service marks owned by the same company. The system turns these links into a family index, family landing pages, and small links from each individual icon page so engineers and users can move between one logo and its wider brand set. See the icon catalog and data pipeline for the wider icon data flow.
Family relationship model
An icon family is separate from an icon category. A category describes what an icon represents, while a family describes the brand owner. The parent is a brand icon such as google; child icons point to that parent through their family value. The parent itself has no family value, so families do not nest. src/…/icons.ts src/…/families.ts
Parent and child relationships
The relationship is valid only when the family value names an existing brand icon. A family page needs at least four current members when the parent is counted. This keeps small or accidental groups out of the family navigation while still leaving each icon available on its own page.
The family view presents the parent first. It then presents current child marks as the related set. A child icon can therefore point back to the same family page as its parent. src/…/families.ts src/…/families.ts src/…/families.test.ts
References: src/…/icons.ts• L27-61 src/…/families.ts• L5-19 src/…/families.ts• L41-51 src/…/families.test.ts• L13-47
Current brand marks
Brand refreshes remain separate icon records so users can open both the old and new marks. Family views show only the current mark when a newer sibling replaces an older one through explicit lineage or a year-suffixed slug. This keeps a family page focused on the current set without removing historical icon pages.
The same current-mark rule is used for family counts and generated family metadata. If refresh lineage is missing, an old mark can appear beside its replacement and inflate the family set. src/…/family-current.ts src/…/families.ts
References: src/…/family-current.ts• L1-41 src/…/families.ts• L41-44 src/…/generate-families.ts• L40-64
Family metadata generation
Family metadata is derived from the canonical icon registry rather than maintained as a second hand-built catalog. The generation flow groups records by their family link, removes superseded members, confirms the parent, and emits only groups that meet the minimum size.
This diagram shows how icon records become navigation and external family metadata.
flowchart LR
A[Icon registry] --> B[Group by family link]
B --> C[Remove replaced marks]
C --> D[Confirm parent and minimum size]
D --> E[Sidebar family data]
D --> F[Family pages]
D --> G[Family API and LLM catalog]
Navigation metadata
The fully derived family summaries power the family list and sidebar. Each summary carries the family slug, parent title, current count, a logo source, and enough tone information to keep the logo visible across themes. The committed src/…/families.json is a small client-facing copy of this result, so the sidebar does not need the full icon registry.
The generator also keeps light and dark logo sources distinct when needed. A sync check compares the committed summary list with the live registry-derived list, which protects family names and counts from drifting apart. src/…/generate-families.ts src/…/generate-families.ts src/…/families.test.ts
References: src/…/generate-families.ts• L1-8 src/…/generate-families.ts• L24-68 src/…/families.test.ts• L58-67
External family index
The generated family API gives external consumers the same stable grouping view as the site. It exposes the family URL, parent logo, current member count, and member slugs. The LLM-oriented catalog uses the same rule and adds a short list of member names, so machine readers can discover family pages without scanning every icon.
Member slugs remain the bridge from family metadata to icon assets. Consumers resolve artwork through each icon's recorded variant path rather than by guessing a file name, and package builds preserve readable variants even when a file name differs from its variant key. This keeps family discovery separate from asset selection while preserving the link between the two.
This output is a companion to the broader icon APIs described in icon package builds and web icon discovery. It is a discovery contract: consumers use it to find the family and then resolve individual icon assets through the normal icon paths. src/…/generate-api.ts src/…/generate-llms-txt.ts
References: src/…/generate-api.ts• L91-120 src/…/generate-llms-txt.ts• L140-182 packages/…/variants.ts• L27-71 packages/…/variants.test.ts• L17-40 packages/…/variants.test.ts• L79-115
Family landing experience
The family landing experience has two levels: /families introduces all available families, and /family/<slug> explains one family and lists its current marks. Both levels lead to individual icon pages, while the individual pages lead back to the family that owns the icon.
Family index
The family index is the broad entry point for brand grouping. Each card shows a small set of representative logos, the parent name, a short family description, and the total number of logos. The sidebar also exposes the same family set with compact logo, title, and count links.
This gives users a choice between browsing by owner and browsing by icon category. The sidebar data is intentionally small, but the destination page remains the complete source for that family’s members. src/…/families-index.tsx src/…/sidebar.tsx
References: src/…/families-index.tsx• L14-67 src/…/sidebar.tsx• L275-326
Family detail page
The family detail page turns one parent brand into a browsable product set. Its hero identifies the brand and summarizes logo, category, and variant counts. It also links to the parent logo, official brand resources, and related architecture collections when the brand has one.
The full set starts with selected flagship products. The remaining current members are grouped by curated product areas for very large families, or by meaningful categories for smaller families. Unmatched icons go into a catch-all group, so grouping never hides a new member. src/…/page.tsx src/…/page.tsx src/…/family-view.tsx src/…/family-view.tsx
References: src/…/page.tsx• L62-118 src/…/page.tsx• L121-195 src/…/family-view.tsx• L136-267 src/…/family-view.tsx• L354-433
Family page discovery
Family routes are created only for valid family slugs and are included in the site map. The page also publishes collection-page and item-list data so search systems can understand the parent brand, the family URL, and the individual icon URLs as one related set. src/…/page.tsx src/…/page.tsx src/…/sitemap.ts
References: src/…/page.tsx• L36-58 src/…/page.tsx• L132-158 src/…/sitemap.ts• L67-74
Individual icon relationship
An individual icon page explains one mark and exposes its place in the family without replacing the icon’s own download and usage flow. The page resolves family data before rendering, then uses small relationship controls to connect the icon to siblings, the parent, and the full family page.
Family links and sibling strip
Every icon that belongs to a qualifying family receives a family badge near its title. The badge says whether the icon is the family parent or a member. A compact “More from” strip then shows up to six sibling marks and links to the complete family page; it appears in a prominent position when the icon has no variant picker and below the export controls when it does.
Sibling selection favors icons with the same primary category. This keeps the small strip useful without making the icon page carry the full family list. src/…/page.tsx src/…/page.tsx src/…/page.tsx src/…/family-strip.tsx src/…/families.ts
References: src/…/page.tsx• L150-163 src/…/page.tsx• L550-567 src/…/page.tsx• L603-649 src/…/family-strip.tsx• L18-80 src/…/families.ts• L85-102
Family and version relationships
Family membership and version lineage answer different questions. Family membership says which company owns related marks. Version lineage says which mark replaced another. An icon page can expose both links, while the family page uses the version relationship only to select the current family set.
This distinction lets users compare a brand refresh without treating the older mark as a separate product family member. It also keeps direct links to historical marks stable. src/…/page.tsx src/…/icon-detail-page.tsx src/…/icon-detail-page.tsx
References: src/…/page.tsx• L172-211 src/…/icon-detail-page.tsx• L409-435 src/…/icon-detail-page.tsx• L528-567
Change checklist
When these files or sections are changed, remember to consider these:
- When an icon gains or loses a
familyvalue, regenerate src/…/families.json and the family API so sidebar counts, family routes, and external member lists stay aligned. - When a parent slug changes, update every child family link plus featured products, family theme data, architecture-collection links, and any public family URLs that use that slug.
- When a brand refresh is added, set its lineage fields or follow the supported year-suffix form so current family counts do not show both marks.
- When a family member slug or primary category changes, check curated family sections and the sibling strip because both use those values to order or group icons.
- When parent logo variants change, check the generated light/dark family assets and the family open-graph image because they represent the family outside the detail page.
- When a catalog variant key or path changes, check family logos and package consumers together. Family metadata provides member identity, while package output must still resolve the recorded SVG path and retain every readable variant.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| A child points to a missing or non-brand parent | The relationship cannot resolve to a valid family page | Family relationship tests require an existing parent in the brand collection |
| A group has fewer than four current members | No family route or family navigation entry is created | The family summary and route builders apply the same minimum-member rule |
| families.json is not regenerated after registry changes | The sidebar can show stale names, logos, or counts | The sync test compares the committed file with live family summaries |
| A replacement mark lacks lineage or a recognized year suffix | Both old and new marks can appear in the current family set | Current-member filtering uses supersedes, supersededBy, and year-suffix checks |
| A large-family slug no longer matches a curated rule | Products move to the catch-all section instead of the intended product area | The family page keeps unmatched icons visible and the grouping rules should be reviewed with slug changes |
| A family member keeps an invalid or missing SVG path | Family discovery can find the icon, but package output can omit its artwork or variants | Keep catalog paths inside the safe SVG path boundary and run variant coverage checks |
Key files
| File | Why to read it |
|---|---|
| src/…/icons.json | Canonical icon records and the family links that define ownership. |
| src/…/families.ts | Shared rules for family membership, current marks, summaries, siblings, featured products, and themes. |
| src/…/family-current.ts | The rule that removes replaced marks from family views while keeping their icon pages reachable. |
| src/…/generate-families.ts | The source-to-sidebar metadata generation flow. |
| src/…/page.tsx | The family route, grouping policy, metadata, and links to related collections. |
| src/…/family-view.tsx | The landing-page structure for the hero, flagship marks, grouped set, and other families. |
| src/…/page.tsx | Server-side resolution of the family relationship for an individual icon page. |
| src/…/family-strip.tsx | The compact sibling experience that connects an icon to its family. |
| src/…/generate-api.ts | The machine-readable family contract for external consumers. |
| packages/…/variants.ts | The package-side bridge from catalog variant paths to readable SVG content. |
| packages/…/variants.test.ts | The checks for variant coverage, primary artwork selection, and safe path handling. |