thesvg

7,600+ brand SVG icons - tree-shakeable, typed, dual ESM/CJS. The one-stop brand icon library.
181,993 2,881
Install
npm install thesvg
Latest Version:3.4.1
License:MIT
Last Updated:Oct 21, 2026
Links: GitHub  ·  npm
Maintainer: gdsks

This is the convenience package for @thesvg/icons. Both packages contain the same 7,600+ icons.

Install

npm install thesvg

Quick Start

import github from "thesvg/github";

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

Usage

// Named exports
import { svg, title, hex } from "thesvg/github";

// Barrel import (includes all icons)
import { github, vercel, stripe } from "thesvg";

// React
import { svg } from "thesvg/github";
const Logo = () => <div dangerouslySetInnerHTML={{ __html: svg }} />;

// Variants
import icon from "thesvg/github";
const dark = icon.variants["dark"];

CDN

<img src="https://thesvg.org/icons/github/default.svg" alt="GitHub" width="24" />

Packages

Package Description
thesvg Convenience wrapper (this package)
@thesvg/icons Core icon data
@thesvg/react Typed React components
@thesvg/cli CLI tool

Community

Questions, icon requests, or ideas? Join the GLINR Discord, where theSVG has its own forum.

Discord

License

MIT. Icons under their respective upstream licenses.

Related Packages

@thesvg/vue

Typed Vue 3 SVG components for all 7,600+ brand icons from thesvg.org

15,449 2,887
@qlik/sprout-icons

Comprehensive icon library for the Sprout Design System, available as React and...

578,832
@incremark/icons

Incremark icons - SVG icon library for Vue, React, and Svelte components.

27,270 282
lucide-brands

The brand icons removed from lucide-react 1.1 (Github, Twitter, Linkedin, Youtub...

603 1
iconsax

Iconsax web component — 1200+ free icons out of the box, Pro icons via `iconsax...

37,176

Version History

Version Released License
3.4.1 MIT
3.4.0 MIT
3.3.15 MIT
3.3.14 MIT
3.3.13 MIT