Introducing a new way to review your PRs.

Read the announcement

glincker / thesvg

The open SVG brand library: 7,600+ brand logos and cloud icons (AWS, Azure, GCP) as official SVG. Search, copy, ship via npm, CDN, CLI, React, Vue, Svelte, Figma, VS Code, Raycast and MCP. Free, MIT, no gatekeeping.

View on GitHub

27 documents · Updated Nov 23, 2026

docs / ui-icons-web-experience

UI icon web experience

The UI icon web experience is a dedicated area of the site for finding, previewing, tuning, learning about, and reusing the styled UI glyph set. It combines a persistent UI-icon shell with shared browsing state, interactive SVG previews, copy and download actions, usage documentation, release notes, and links to tools and packages.

Dedicated UI icon shell

The UI icon routes run inside a focused shell that separates UI glyph discovery from the main brand-icon experience. The shell provides a fixed desktop sidebar, a mobile navigation sheet, a page-width content frame, themed background effects, and a shared state provider for choices that should remain coherent across routes. The UI mode also has its own metadata and navigation entries for sets, looks, favorites, extensions, and releases.

flowchart LR
    Route[UI route] --> Provider[UI state]
    Provider --> Shell[Sidebar shell]
    Shell --> Content[Page content]
    Provider --> Controls[Look, search, filter, style controls]
    Controls --> Content

The route group covers the following public pages:

RoutePurpose
/uiBrowse the UI icon catalog.
/ui/{slug}Inspect and reuse one UI icon.
/ui/docsLearn package use, props, looks, states, color, size, and accessibility.
/ui/changelogReview released icon drops.
/ui/extensionsFind libraries, SDKs, editor tools, launchers, and AI or CLI integrations.

References: src/…/layout.tsx• L1-19 src/…/template.tsx• L1-4 src/…/ui-sidebar-shell.tsx• L7-25 src/…/shell.tsx• L28-75

Shared browsing state

The UI state provider coordinates the choices that affect both the catalog and individual icon pages. It holds the selected look, accent color, search text, category, release set, brand collection, favorites, and style-lab overrides. It also lets actions started on a detail or secondary page return to /ui before applying a list filter.

The provider makes the browsing view shareable by loading supported choices from the URL and replacing the query string as controls change. Favorites use browser storage when it is available, while the selected sample icon drives the previews shown beside each look in the sidebar. The global site search is bridged into the UI catalog search when the UI section is active.

References: src/…/ui-state.tsx• L10-38 src/…/ui-state.tsx• L48-109 src/…/ui-state.tsx• L111-175

Catalog browsing

The landing page presents the catalog as a filterable, progressively loaded grid. It starts with an introductory hero and a shared style bar, then derives category counts from the selected set so the filter controls match the visible pool. An unfiltered catalog leads with popular glyphs and follows with the remaining icons in name order; search, category, set, and favorite filters replace that presentation with the matching results.

flowchart TD
    Home[/ui] --> Hero[Intro and look picker]
    Hero --> Style[Style controls]
    Style --> Filters[Search, category, set, favorites]
    Filters --> Results[Popular or filtered grid]
    Results --> Card[Icon card]
    Card --> Detail[/ui/{slug}]
    Card --> Quick[Quick preview]

The grid loads additional cards as the user nears its lower sentinel. Each card supports the main discovery actions without leaving the list: favorite, copy the current SVG, download the current look, or open a modal quick view. The quick view offers all looks, SVG and React copy actions, download, and a link to the full detail page.

References: src/…/page.tsx• L1-5 src/…/browse.tsx• L12-107 src/…/hero.tsx• L31-110 src/…/icon-card.tsx• L14-80 src/…/quick-view.tsx• L14-87

Style controls

The style lab gives the catalog a live visual control surface instead of treating each look as a fixed image. Users can select a look, change stroke weight, scale, corner treatment, shadow, terminal cuts, and accent color, then reset the changes. The active settings affect rendered previews and are encoded in the page URL so a tuned view can be shared.

Desktop and tablet layouts keep the style bar near the header while the user scrolls. On phones, a floating Style button opens the same controls in a bottom sheet. The custom color picker supports preset swatches, hex input, recent colors, keyboard movement, and a screen eyedropper where the browser provides one.

References: src/…/lab.tsx• L46-100 src/…/lab.tsx• L110-129 src/…/lab.tsx• L133-190 src/…/color-picker.tsx• L60-227 src/…/ui-state.tsx• L75-141

Icon detail experience

An icon detail route turns one catalog entry into a working inspection and reuse surface. It shows the icon in a preview card, identifies its grid, looks, category, color model, coverage, tags, and build-time craft score, then connects those facts to copy, editor, download, and code actions.

The preview supports realistic sizes, fit-to-card viewing, light and dark canvases, construction grids, anchor points, and pointer tilt. A look picker changes the selected rendering for the whole page. Related icons keep the user within the same category, while the breadcrumb can return to the matching catalog filter.

sequenceDiagram
    participant User
    participant Detail as Icon detail
    participant State as UI state
    participant Renderer as Glyph renderer
    participant Output as Copy/download tools
    User->>Detail: Select look or style
    Detail->>State: Update shared choice
    State->>Renderer: Supply look, color, and style
    Renderer-->>Detail: Refresh preview and examples
    User->>Output: Copy, download, or open in editor
    Output-->>User: SVG, code, raster, or editor action

The detail page also demonstrates the icon in buttons, tabs, fields, notifications, and toggles. Users can map separate looks to rest, hover, and active states or force one state for comparison. The page finishes with optical sizes and generated usage forms for React, Vue, Svelte, HTML, CSS masks, SVG, and data URIs.

References: src/…/page.tsx• L1-27 src/…/detail.tsx• L42-145 src/…/detail.tsx• L147-213 src/…/detail.tsx• L230-349 src/…/in-context.tsx• L28-176 src/…/code-block.tsx• L9-69

Documentation route

The documentation page explains how to use the UI icon packages without requiring the reader to open an individual icon page. It gives a quick install and import path, lists the common SVG props, explains the seven looks and their intended use, and shows how to express rest, hover, and active states.

The same page defines the user-facing rules for currentColor theming, custom color overrides, supported size range, right-to-left flipping, accessible names, decorative icons, focus rings, and minimum hit areas. Each icon detail page extends this guide with copy-ready code for the selected icon.

References: src/…/page.tsx• L1-105 src/…/snippets.ts• L1-20

Changelog route

The changelog presents the UI set as a sequence of released drops rather than as one undifferentiated catalog. It sorts released sets from newest to oldest, shows each drop’s name, count, date, and glyph links, and renders each glyph using the current shared look and accent choices.

Scheduled but unreleased drops appear only as a compact preview note. The sidebar groups daily-drop sets into one navigation entry, while the changelog keeps every released drop visible as its own section.

References: src/…/page.tsx• L1-8 src/…/changelog.tsx• L9-45 src/…/shell.tsx• L33-41 src/…/glyphs.ts• L23-52

Extensions route

The extensions page connects the UI icon catalog to the places where engineers and designers build. It groups entries into libraries and SDKs, design tools and launchers, editors and browser tools, and CLI or AI tools. Each card states whether the integration is published, planned, or open, then links to the relevant package, marketplace, repository, or external service.

The page also describes the open distribution surface for custom integrations. It points builders to per-icon SVG URLs, look manifests, and the complete UI icon manifest, then invites them to list a new workflow through the project repository. Package build and publication details belong in the related UI icon package builds page.

References: src/…/page.tsx• L1-132 src/…/cards.tsx• L5-135

UI-specific rendering components

The web experience uses the UI icon renderer for both product content and the site controls around it. Glyph turns catalog nodes into the selected look with the shared style and color state. UiGlyph supplies compact UI icons for navigation and controls, using the same UI icon system with a chrome-oriented look choice. This keeps the shell, filters, cards, and detail tools visually tied to the catalog they present.

The page-specific components add behavior around that renderer rather than maintaining separate icon artwork. They cover hero look tiles, cards, quick views, detail previews, state demos, quality summaries, code blocks, style controls, changelog grids, and extension cards.

References: src/…/glyph.tsx• L8-25 src/…/ui-glyph.tsx• L8-33 src/…/hero.tsx• L31-110 src/…/quality-card.tsx• L7-24

Change checklist

When these files or sections are changed, remember to consider these:

  • Keep the route shell and shared provider aligned when adding a UI page that needs look, filter, favorite, or style state.
  • Keep URL query names aligned across state hydration and URL updates so shared catalog links restore the same view.
  • Keep every catalog action consistent with the selected look and style overrides, especially card copy, quick view, detail copy, and download output.
  • Keep the docs’ package names, look names, prop rules, and generated snippet tabs aligned with the extension and package pages.
  • Keep release-set grouping consistent between sidebar navigation and changelog ordering when a new drop is added.

Important failure modes

TriggerConsequenceGuard
A supported UI state is read from one query key but written with anotherShared links lose the selected look, filter, or styleMaintain the read and write mappings together in the UI state provider.
A card or quick view builds output without the active look or style stateCopied or downloaded SVG differs from the previewGenerate output from the same shared UI state used by the renderer.
A glyph slug is not present in the generated catalog mapThe detail route cannot render the requested iconKeep static params, route lookup, and catalog data derived from the same glyph set.
A release set is marked differently in sidebar and changelog dataNavigation counts and release history disagreeDerive both views from the shared view-set metadata.
Browser storage is blockedFavorites, hero visibility, lab visibility, or recent colors do not persistTreat storage as optional and keep the current session usable.

Key files

FileWhy to read it
src/…/layout.tsxDefines the UI section metadata, provider, background, and shell boundary.
src/…/ui-state.tsxExplains the shared browsing choices and URL synchronization.
src/…/shell.tsxShows the UI sidebar navigation and its relationship to list state.
src/…/browse.tsxShows the landing-page filter, popular section, and progressive grid flow.
src/…/icon-card.tsxShows card-level favorite, copy, download, and quick-view actions.
src/…/detail.tsxShows the complete icon inspection and reuse experience.
src/…/lab.tsxShows the responsive style-control surface.
src/…/in-context.tsxShows interactive state demonstrations for UI controls.
src/…/page.tsxDefines the public usage guidance for packages and icon behavior.
src/…/changelog.tsxDefines the release-drop view.
src/…/page.tsxDefines the integration and package directory.