11.12.0 • Published 14 days ago

simple-icons v11.12.0

Weekly downloads
136,427
License
CC0-1.0
Repository
github
Last release
14 days ago

Usage

Important\ We ask that all users read our legal disclaimer before using icons from Simple Icons.

General Usage

Icons can be downloaded as SVGs directly from our website - simply click the download button of the icon you want, and the download will start automatically.

CDN Usage

Icons can be served from a CDN such as jsDelivr or Unpkg. Simply use the simple-icons npm package and specify a version in the URL like the following:

<img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/[ICON SLUG].svg" />
<img height="32" width="32" src="https://unpkg.com/simple-icons@v11/icons/[ICON SLUG].svg" />

Where [ICON SLUG] is replaced by the slug of the icon you want to use, for example:

<img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/simpleicons.svg" />
<img height="32" width="32" src="https://unpkg.com/simple-icons@v11/icons/simpleicons.svg" />

These examples use the latest major version. This means you won't receive any updates following the next major release. You can use @latest instead to receive updates indefinitely. However, this will result in a 404 error if the icon is removed.

CDN with colors

We also provide a CDN service which allows you to use colors.

<img height="32" width="32" src="https://cdn.simpleicons.org/[ICON SLUG]" />
<img height="32" width="32" src="https://cdn.simpleicons.org/[ICON SLUG]/[COLOR]" />
<img height="32" width="32" src="https://cdn.simpleicons.org/[ICON SLUG]/[COLOR]/[DARK_MODE_COLOR]" />

Where [COLOR] is optional, and can be replaced by the hex colors or CSS keywords of the icon you want to you use. The color is defaulted to the HEX color of the icon shown in simpleicons.org website. [DARK_MODE_COLOR] is used for dark mode. The CSS prefers-color-scheme will be used when a value is specified. For example:

<img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons" />
<img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/gray" />
<img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/hotpink" />
<img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/0cf" />
<img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/0cf9" />
<img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/00ccff" />
<img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/00ccff99" />
<img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/orange/pink" />
<img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/_/eee" />
<img height="32" width="32" src="https://cdn.simpleicons.org/simpleicons/eee/_" />

Node Usage

The icons are also available through our npm package. To install, simply run:

npm install simple-icons

All icons are imported from a single file, where [ICON SLUG] is replaced by a capitalized slug. We highly recommend using a bundler that can tree shake such as webpack to remove the unused icon code:

// Import a specific icon by its slug as:
// import { si[ICON SLUG] } from 'simple-icons'

// For example:
// use import/esm to allow tree shaking
import { siSimpleicons } from 'simple-icons';
// or with require/cjs
const { siSimpleicons } = require('simple-icons');

It will return an icon object:

console.log(siSimpleicons);

/*
{
    title: 'Simple Icons',
    slug: 'simpleicons',
    hex: '111111',
    source: 'https://simpleicons.org/',
    svg: '<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">...</svg>',
    path: 'M12 12v-1.5c-2.484 ...',
    guidelines: 'https://simpleicons.org/styleguide',
    license: {
        type: '...',
        url: 'https://example.com/'
    }
}

NOTE: the `guidelines` entry will be `undefined` if we do not yet have guidelines for the icon.
NOTE: the `license` entry will be `undefined` if we do not yet have license data for the icon.
*/

If you need to iterate over all icons, use:

import * as icons from 'simple-icons';

TypeScript Usage

Type definitions are bundled with the package.

import type { SimpleIcon } from 'simple-icons';

PHP Usage

The icons are also available through our Packagist package. To install, simply run:

composer require simple-icons/simple-icons

The package can then be used as follows, where [ICON SLUG] is replaced by a slug:

<?php
// Import a specific icon by its slug as:
echo file_get_contents('path/to/package/icons/[ICON SLUG].svg');

// For example:
echo file_get_contents('path/to/package/icons/simpleicons.svg');

// <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">...</svg>
?>

Third-Party Extensions

ExtensionAuthorLicenseSimple Icons Version
Angular module @avmaisaknpm.iov6.18.0
Blazor Nuget package @TimeWarpEngineeringnpm.ionpm.io
Blender add-on @mondejanpm.ionpm.io
Drawio library @mondejanpm.ionpm.io
Drupal module Phil Wolstenholmenpm.ionpm.io
Figma plugin @LitoMorenpm.ionpm.io
Flutter package @jlnrrgnpm.ionpm.io
Framer component @LitoMorenpm.ionpm.io
Hexo plugin @nidbCNnpm.ionpm.io
Home Assistant plugin @vigonotionnpm.iov7.14.0
Hugo module @foo-dogsquarednpm.ionpm.io
Java library @silentsoftnpm.ionpm.io
Jetpack Compose library @DevSrSouzanpm.iov4.14.0
Kirby plugin @runxelnpm.ionpm.io
LaTeX package @ineshbosenpm.ionpm.io
Laravel package @adrian-ubnpm.ionpm.io
Leptos crate @Carlostednpm.iov9.14.0
Python package @sachinrajanpm.iov7.21.0
Raycast extension @LitoMorenpm.ionpm.io
React package @wootsbotnpm.ionpm.io
Ruby gem @thepewnpm.ionpm.io
Solid package @x64Bitsnpm.iov9.0.0
Stream Deck icon pack @mackenlynpm.ionpm.io
Svelte package @wootsbotnpm.ionpm.io
Vue 3 package @wyatt-herkampnpm.ionpm.io
Vue package @noahlitvinnpm.ionpm.io
Webflow app @diegolivnpm.ionpm.io
WordPress plugin @tjtaylonpm.iov4.25.0

Important\ From our next scheduled major release (v12, releasing on May 26, 2024), we will begin removing third-party extensions from the above list that are not up to date with at least our previous major release.\ For example, when v12 is released, we will remove any extensions that don't support v11.0.0 or higher.\ Please create a PR to update the version number of your extension in this README following each update of your extension.

Contribute

npm.io npm.io npm.io npm.io

Information describing how to contribute can be found in the file CONTRIBUTING.md

Contributors

11.12.0

14 days ago

11.11.0

20 days ago

11.10.0

27 days ago

11.9.0

1 month ago

11.8.0

1 month ago

11.7.0

2 months ago

11.6.0

2 months ago

11.5.0

2 months ago

11.4.0

2 months ago

11.3.0

3 months ago

11.2.0

3 months ago

11.1.0

3 months ago

11.0.0

3 months ago

10.4.0

4 months ago

10.3.0

4 months ago

10.2.0

4 months ago

10.0.0

5 months ago

9.19.0

6 months ago

9.19.1

6 months ago

9.18.0

6 months ago

9.21.0

5 months ago

10.1.0

5 months ago

9.20.0

5 months ago

9.17.0

7 months ago

9.16.1

7 months ago

9.8.0

9 months ago

9.12.0

8 months ago

9.9.0

9 months ago

9.11.0

8 months ago

9.0.0

11 months ago

9.10.0

8 months ago

9.1.0

10 months ago

9.3.0

10 months ago

9.2.0

10 months ago

9.4.0

10 months ago

8.15.0

11 months ago

9.16.0

7 months ago

9.5.0

10 months ago

9.15.0

7 months ago

9.6.0

9 months ago

9.14.0

7 months ago

9.7.0

9 months ago

9.13.0

8 months ago

8.11.0

12 months ago

8.12.0

12 months ago

8.12.1

12 months ago

8.13.0

12 months ago

8.4.0

1 year ago

8.3.0

1 year ago

8.14.0

11 months ago

8.5.0

1 year ago

8.6.0

1 year ago

8.7.0

1 year ago

8.8.0

1 year ago

8.10.0

1 year ago

8.9.0

1 year ago

7.18.0

1 year ago

7.21.0

1 year ago

8.1.0

1 year ago

7.17.0

1 year ago

7.20.0

1 year ago

8.2.0

1 year ago

7.16.0

2 years ago

7.19.0

1 year ago

7.15.0

2 years ago

8.0.0

1 year ago

7.11.0

2 years ago

7.10.0

2 years ago

7.13.0

2 years ago

7.9.0

2 years ago

7.12.0

2 years ago

7.14.0

2 years ago

7.3.0

2 years ago

7.4.0

2 years ago

7.5.0

2 years ago

7.6.0

2 years ago

7.7.0

2 years ago

7.8.0

2 years ago

6.23.0

2 years ago

7.0.0

2 years ago

6.22.0

2 years ago

7.1.0

2 years ago

7.2.0

2 years ago

6.20.0

2 years ago

6.21.0

2 years ago

6.17.0

2 years ago

6.16.0

2 years ago

6.15.0

2 years ago

6.14.0

2 years ago

6.19.0

2 years ago

6.18.0

2 years ago

6.13.0

2 years ago

6.12.0

2 years ago

6.5.0

2 years ago

6.6.0

2 years ago

6.7.0

2 years ago

6.8.0

2 years ago

6.9.0

2 years ago

6.1.0

2 years ago

6.2.0

2 years ago

6.3.0

2 years ago

6.11.0

2 years ago

6.4.0

2 years ago

6.10.0

2 years ago

6.0.0

2 years ago

5.22.0

2 years ago

5.23.0

2 years ago

5.24.0

2 years ago

5.21.1

2 years ago

5.21.0

2 years ago

5.20.0

2 years ago

5.18.0

3 years ago

5.19.0

3 years ago

5.17.0

3 years ago

5.16.0

3 years ago

5.15.0

3 years ago

5.14.0

3 years ago

5.13.0

3 years ago

5.12.0

3 years ago

5.11.0

3 years ago

5.10.0

3 years ago

5.9.0

3 years ago

5.8.1

3 years ago

5.8.0

3 years ago

5.7.0

3 years ago

5.6.0

3 years ago

5.5.0

3 years ago

5.4.0

3 years ago

5.3.0

3 years ago

5.0.0

3 years ago

5.1.0

3 years ago

5.2.0

3 years ago

4.25.0

3 years ago

4.21.0

3 years ago

4.24.0

3 years ago

4.23.0

3 years ago

4.22.0

3 years ago

4.20.0

3 years ago

4.19.0

3 years ago

4.18.0

3 years ago

4.17.0

3 years ago

4.16.0

3 years ago

4.15.0

3 years ago

4.14.0

3 years ago

4.13.0

3 years ago

4.12.0

3 years ago

4.11.0

3 years ago

4.10.0

3 years ago

4.9.0

3 years ago

4.8.0

3 years ago

4.7.0

3 years ago

4.6.0

3 years ago

4.5.0

3 years ago

4.4.0

3 years ago

4.3.0

3 years ago

4.2.0

3 years ago

4.1.0

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

3.13.0

3 years ago

3.12.4

3 years ago

3.12.3

3 years ago

3.12.2

3 years ago

3.12.1

3 years ago

3.12.0

4 years ago

3.11.0

4 years ago

3.10.0

4 years ago

3.9.0

4 years ago

3.8.0

4 years ago

3.7.0

4 years ago

3.6.1

4 years ago

3.6.0

4 years ago

3.5.0

4 years ago

3.4.1

4 years ago

3.4.0

4 years ago

3.3.0

4 years ago

3.2.0

4 years ago

3.1.0

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.19.0

4 years ago

2.18.0

4 years ago

2.17.1

4 years ago

2.17.0

4 years ago

2.16.0

4 years ago

2.15.0

4 years ago

2.14.0

4 years ago

2.13.0

4 years ago

2.12.0

4 years ago

2.11.0

4 years ago

2.10.0

4 years ago

2.9.0

4 years ago

2.8.0

4 years ago

2.7.0

4 years ago

2.6.0

4 years ago

2.5.0

4 years ago

2.4.0

4 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.20.0

4 years ago

1.19.1

4 years ago

1.19.0

4 years ago

1.18.0

5 years ago

1.17.1

5 years ago

1.17.0

5 years ago

1.16.0

5 years ago

1.15.0

5 years ago

1.14.0

5 years ago

1.13.0

5 years ago

1.12.0

5 years ago

1.11.0

5 years ago

1.10.0

5 years ago

1.9.28

5 years ago

1.9.27

5 years ago

1.9.26

5 years ago

1.9.25

5 years ago

1.9.24

5 years ago

1.9.23

5 years ago

1.9.22

5 years ago

1.9.21

5 years ago

1.9.20

5 years ago

1.9.19

5 years ago

1.9.18

5 years ago

1.9.17

5 years ago

1.9.16

5 years ago

1.9.15

5 years ago

1.9.14

5 years ago

1.9.13

5 years ago

1.9.12

5 years ago

1.9.11

5 years ago

1.9.10

5 years ago

1.9.9

5 years ago

1.9.8

6 years ago

1.9.7

6 years ago

1.9.6

6 years ago

1.9.5

6 years ago

1.9.4

6 years ago

1.9.3

6 years ago

1.9.2

6 years ago

1.9.1

6 years ago

1.9.0

6 years ago

1.8.8

6 years ago

1.8.7

6 years ago

1.8.6

6 years ago

1.8.5

6 years ago

1.8.4

6 years ago

1.8.3

6 years ago

1.8.2

6 years ago

1.8.1

6 years ago

1.8.0

6 years ago

1.7.1

6 years ago

1.7.0

6 years ago

1.6.8

6 years ago

1.6.7

6 years ago

1.6.4

6 years ago

1.6.3

6 years ago

1.6.2

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.3.8

6 years ago

1.3.7

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.2.19

6 years ago

1.2.18

6 years ago

1.2.17

6 years ago

1.2.16

6 years ago

1.2.15

6 years ago

1.2.14

6 years ago

1.2.13

6 years ago

1.2.12

6 years ago

1.2.11

6 years ago

1.2.10

6 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.3

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago