Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

thesvg

> 前端框架
Open source

6,400+ brand SVG icons for developers. Tree-shakeable, typed, open source. npm i thesvg

2.5K stars0 likes3 views
WebsiteGitHub

About

6,400+ brand SVG icons for developers. Tree-shakeable, typed, open source. npm i thesvg

</picture>

7,400+ SVG icons. Brands, AWS, Azure, GCP, and more. Search, copy, ship.

Browse Icons  •  Install  •  Extensions  •  CDN  •  API  •  Packages  •  Compare  •  Contribute



Why theSVG?

Most icon libraries focus on UI icons. Brand logos are scattered across press kits, Figma files, and random GitHub repos. theSVG is the single source for SVG icons - brand logos, cloud architecture diagrams, and more. Searchable, versioned, and available as npm packages, CDN, CLI, API, and MCP server.

  • 7,400+ icons across multiple collections
  • 4,600+ brand icons across 115+ categories
  • 858 Auth Badge icons - circular icon badges for 2FA/authenticator apps
  • 739 AWS Architecture icons (2026-Q1)
  • 626 Azure Service icons (2026-Q1)
  • 256 community-curated icons - dev tools, databases, frameworks
  • 214 Google Cloud icons (2026-Q1)
  • 12,300+ SVG variants - color, mono, light, dark, wordmark
  • Tree-shakeable - import one icon, ship only that icon
  • TypeScript-first - fully typed, dual ESM/CJS
  • Framework-agnostic - React, Vue, Svelte, plain HTML, or CDN
  • AI-ready - MCP server for Claude, Cursor, and Windsurf

Collections

theSVG organizes icons into collections:

Collection Icons Description
Brand Icons 4,675 Brand logos from 115+ categories
Auth Badges 858 Circular icon badges styled for 2FA/authenticator apps
AWS Architecture 739 Official AWS service, resource, category, and group icons (2026-Q1)
Azure Services 626 Microsoft Azure service icons (2026-Q1)
Community 256 Dev tools, databases, and frameworks sourced from the open-source community
Google Cloud 214 Google Cloud Platform icons (2026-Q1)
Kubernetes 38 Official Kubernetes/CNCF architecture icons

AWS Architecture Icons

Browse all AWS service and resource icons at thesvg.org/collection/aws. Icons are sourced from the official AWS Architecture Icons package and distributed unmodified under CC BY-ND 2.0. Updated quarterly.

Auth Badges

Browse the full set at thesvg.org/collection/auth-badges. Circular, flat-color badge icons designed for authenticator-app entry lists and 2FA UI - a distinct visual style from the primary brand-mark collection above. Distributed under CC0-1.0 (public domain).

Install

npm

bash
npm install thesvg

Homebrew

bash
brew tap glincker/thesvg
brew install thesvg
typescript
import github from "thesvg/github";

github.svg;        // raw SVG string
github.title;      // "GitHub"
github.hex;        // "181717"
github.variants;   // { default: "<svg...>", mono: "<svg...>" }

Or use the scoped package for tree-shaking:

bash
npm install @thesvg/icons

Packages

Package Description
thesvg All icons in one package
@thesvg/icons Core icon data, tree-shakeable
@thesvg/react Typed React components
@thesvg/vue Typed Vue 3 components
@thesvg/svelte Typed Svelte components
@thesvg/cli CLI tool (npx @thesvg/cli add github)
@thesvg/mcp-server MCP server for AI assistants

Extensions

Use theSVG icons everywhere you build, design, and ship. Browse the full ecosystem at thesvg.org/extensions.

Extension Status Description
Figma Plugin Published Browse 7,400+ brand SVGs, variant picker, recents row, keyboard shortcuts. Insert as editable vectors.
VS Code Published Search 7,400+ icons from the command palette. Copy SVG, JSX, CDN link, or insert at cursor.
Raycast Published Search, preview, and copy any brand SVG in one keystroke. Filter by category, preview variants.
MCP Server Published AI tool calls for Claude, Cursor, Windsurf. Fetch icons by name or category.
Agent Skill Published Drop-in skill for AI agents. Install via npx skills add glincker/thesvg. Teaches the icon CDN and registry.
@thesvg/cli Published shadcn-style installer. npx @thesvg/cli add github drops the SVG into your project.
Homebrew Published brew tap glincker/thesvg && brew install thesvg
CDN via jsDelivr Published Serve any icon via global CDN. Drop into HTML, CSS, Markdown, Notion, Webflow, Framer.
Iconify Published Brand icons available as thesvg (mono) and thesvg-color sets. Works with any Iconify-consuming tool: Mermaid architecture diagrams, Iconify's VS Code and Figma plugins, @iconify/react, and more.
Browser Extension Beta Chrome, Firefox, Edge popup with 7,400+ brand SVGs. MV3, no telemetry.
JetBrains Open IntelliJ, WebStorm, PyCharm, Rider tool window. Help wanted.
Neovim Published Lua plugin with Telescope picker. Insert SVG URL or inline content at cursor.
Alfred Workflow Published macOS quick access. Search anywhere, copy SVG, CDN URL, or markdown.
Sketch / Blender / Webflow / Notion Open Tracking issues open. Build a plugin and we will list it here.

Build your own: the API and CDN are fully open with no auth required. Ship a plugin or workflow, then open a PR and we will add it to the table.

CDN

Use any icon directly without installing:

xml

URL pattern: https://thesvg.org/icons/{slug}/{variant}.svg

Usage

React

typescript
import { Github, Figma } from "@thesvg/react";

export function Logos() {
  return <Github width={24} height={24} className="text-white" />;
}

Vue

xml
<script setup>
import { Github, Figma } from "@thesvg/vue";
</script>

<template>
  <Github width="24" height="24" />
</template>

Svelte

svelte
<script>
  import { Github, Figma } from "@thesvg/svelte";
</script>

<Github width="24" height="24" />

CDN

xml

CLI

bash
npx @thesvg/cli add github
npx @thesvg/cli search "ai"

Variants

Icons support up to 7 variants to match any design context:

Variant Key Description
Default default Primary brand color
Mono mono Inherits text color
Light light White, for dark backgrounds
Dark dark Black, for light backgrounds
Wordmark wordmark Full text logo
Wordmark Light wordmarkLight White text logo
Wordmark Dark wordmarkDark Dark text logo

Not every icon has all variants. default is always present.

API

thesvg ships as a fully static site, served from a CDN. There is no dynamic API; instead, two pre-built JSON manifests cover every use case. Search, filter, and pagination happen on the client.

Base URL: https://thesvg.org

Endpoint Description
GET /api/registry.json Full icon manifest (slug, title, aliases, categories, hex, url, variant keys)
GET /api/categories.json Category list with counts
GET /icons/{slug}/{variant}.svg Raw SVG file (e.g. /icons/openai/default.svg)
bash
# Fetch the manifest once, filter client-side
curl "https://thesvg.org/api/registry.json" | jq '.icons[] | select(.slug | contains("openai"))'

# Then pull the SVG you want
curl "https://thesvg.org/icons/openai/default.svg"

Mirrors

For high-traffic apps, use jsDelivr (free, GitHub-backed) instead of hitting thesvg.org directly:

https://cdn.jsdelivr.net/gh/glincker/thesvg@main/src/data/icons.json
https://cdn.jsdelivr.net/gh/glincker/thesvg@main/public/icons/{slug}/{variant}.svg

src/data/icons.json is the source-of-truth manifest (the same data that builds /api/registry.json, with full per-icon fields including license and dateAdded).

You can also clone the repo (~30 MB) and self-host. The codebase is MIT-licensed; individual brand icons remain trademarks of their respective owners (see LEGAL.md).

A gated, token-based API is on the roadmap at api.thesvg.org for advanced features (search relevance, usage analytics, webhooks). Until then, the static manifest above is the supported integration path.

Categories

Icons are organized into 115+ categories:

AI Analytics Identity Automotive Aviation Browser Cloud CMS Community Crypto Database Design DevTool Education Entertainment Finance Food Framework Gaming `Hardw

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptagent-skillsawsbrandscloud-icons

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架