14.10.0 • Published 3 months ago

simple-icons v14.10.0

Weekly downloads
136,427
License
CC0-1.0
Repository
github
Last release
3 months 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 simpleicons.org - 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@v14/icons/[ICON SLUG].svg" />
<img height="32" width="32" src="https://unpkg.com/simple-icons@v14/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@v14/icons/simpleicons.svg" />
<img height="32" width="32" src="https://unpkg.com/simple-icons@v14/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 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/_" />

You can use a viewbox=auto parameter to get a auto-sized viewbox. This is useful if you want all icons rendered with consistent size:

<img height="20" src="https://cdn.simpleicons.org/github?viewbox=auto" />
<img height="20" src="https://cdn.simpleicons.org/simpleicons?viewbox=auto" />
<img height="20" src="https://cdn.simpleicons.org/awesomelists?viewbox=auto" />

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

The below are known extensions to third-party tools.

ExtensionAuthor
Blender add-on @mondeja
Boxy SVG library @Jarek
Drawio library @mondeja
Figma plugin @LitoMore
Miro app @LitoMore
Raycast extension @LitoMore
Stream Deck icon pack @mackenly
Webflow app @diegoliv

Maintain an extension? Submit a PR to include it in the list above.

Third-Party Libraries

The below are known third-party libraries for use in your own projects. We only keep items in the list that are at least up to date with our previous major version.

LibraryAuthorLicenseSimple Icons
Angular package @khalilou88LicenseSimple Icons version
Astro package @AviorthekingLicenseSimple Icons version
Blazor Nuget package @TimeWarpEngineeringLicenseSimple Icons version
Flutter package @jlnrrgLicenseSimple Icons version
Framer component @LitoMoreLicenseSimple Icons version
Hugo module @foo-dogsquaredLicenseSimple Icons version
Kirby plugin @runxelLicenseSimple Icons version
LaTeX package @ineshboseLicenseSimple Icons version
Laravel package @adrian-ubLicenseSimple Icons version
Python wheel @carstencodesLicenseSimple Icons version
React package @wootsbotLicenseSimple Icons version
Ruby gem @thepewLicenseSimple Icons version
Svelte package @wootsbotLicenseSimple Icons version
Vue 3 package @wyatt-herkampLicenseSimple Icons version

Maintain a library? Submit a PR to include it in the list above.

Contribute

Good first issues Icon issues Code issues Documentation issues

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

Contributors

14.1.0

5 months ago

14.9.0

3 months ago

13.18.0

7 months ago

14.2.0

5 months ago

13.19.0

6 months ago

13.20.0

6 months ago

14.7.0

4 months ago

13.16.0

7 months ago

13.21.0

6 months ago

14.0.0

6 months ago

14.0.1

6 months ago

14.8.0

4 months ago

13.17.0

7 months ago

14.5.0

4 months ago

14.6.0

4 months ago

14.3.0

5 months ago

14.10.0

3 months ago

14.4.0

5 months ago

13.15.0

8 months ago

13.10.0

9 months ago

13.11.0

9 months ago

13.9.0

9 months ago

13.14.0

8 months ago

13.14.1

8 months ago

13.8.0

10 months ago

13.12.0

9 months ago

13.13.0

8 months ago

13.3.0

11 months ago

12.4.0

12 months ago

13.4.0

10 months ago

12.3.0

12 months ago

13.1.0

11 months ago

13.2.0

11 months ago

13.7.0

10 months ago

12.0.0

1 year ago

13.0.0

12 months ago

13.5.0

10 months ago

12.2.0

1 year ago

13.6.0

10 months ago

12.1.0

1 year ago

11.15.0

1 year ago

11.14.0

1 year ago

11.13.0

1 year ago

11.12.0

1 year ago

11.11.0

1 year ago

11.10.0

1 year ago

11.9.0

1 year ago

11.8.0

1 year ago

11.7.0

1 year ago

11.6.0

1 year ago

11.5.0

1 year ago

11.4.0

1 year ago

11.3.0

1 year ago

11.2.0

1 year ago

11.1.0

1 year ago

11.0.0

1 year ago

10.4.0

1 year ago

10.3.0

1 year ago

10.2.0

2 years ago

10.0.0

2 years ago

9.19.0

2 years ago

9.19.1

2 years ago

9.18.0

2 years ago

9.21.0

2 years ago

10.1.0

2 years ago

9.20.0

2 years ago

9.17.0

2 years ago

9.16.1

2 years ago

9.8.0

2 years ago

9.12.0

2 years ago

9.9.0

2 years ago

9.11.0

2 years ago

9.0.0

2 years ago

9.10.0

2 years ago

9.1.0

2 years ago

9.3.0

2 years ago

9.2.0

2 years ago

9.4.0

2 years ago

8.15.0

2 years ago

9.16.0

2 years ago

9.5.0

2 years ago

9.15.0

2 years ago

9.6.0

2 years ago

9.14.0

2 years ago

9.7.0

2 years ago

9.13.0

2 years ago

8.11.0

2 years ago

8.12.0

2 years ago

8.12.1

2 years ago

8.13.0

2 years ago

8.4.0

2 years ago

8.3.0

2 years ago

8.14.0

2 years ago

8.5.0

2 years ago

8.6.0

2 years ago

8.7.0

2 years ago

8.8.0

2 years ago

8.10.0

2 years ago

8.9.0

2 years ago

7.18.0

3 years ago

7.21.0

3 years ago

8.1.0

3 years ago

7.17.0

3 years ago

7.20.0

3 years ago

8.2.0

2 years ago

7.16.0

3 years ago

7.19.0

3 years ago

7.15.0

3 years ago

8.0.0

3 years ago

7.11.0

3 years ago

7.10.0

3 years ago

7.13.0

3 years ago

7.9.0

3 years ago

7.12.0

3 years ago

7.14.0

3 years ago

7.3.0

3 years ago

7.4.0

3 years ago

7.5.0

3 years ago

7.6.0

3 years ago

7.7.0

3 years ago

7.8.0

3 years ago

6.23.0

3 years ago

7.0.0

3 years ago

6.22.0

3 years ago

7.1.0

3 years ago

7.2.0

3 years ago

6.20.0

3 years ago

6.21.0

3 years ago

6.17.0

3 years ago

6.16.0

3 years ago

6.15.0

3 years ago

6.14.0

3 years ago

6.19.0

3 years ago

6.18.0

3 years ago

6.13.0

3 years ago

6.12.0

3 years ago

6.5.0

3 years ago

6.6.0

3 years ago

6.7.0

3 years ago

6.8.0

3 years ago

6.9.0

3 years ago

6.1.0

4 years ago

6.2.0

4 years ago

6.3.0

3 years ago

6.11.0

3 years ago

6.4.0

3 years ago

6.10.0

3 years ago

6.0.0

4 years ago

5.22.0

4 years ago

5.23.0

4 years ago

5.24.0

4 years ago

5.21.1

4 years ago

5.21.0

4 years ago

5.20.0

4 years ago

5.18.0

4 years ago

5.19.0

4 years ago

5.17.0

4 years ago

5.16.0

4 years ago

5.15.0

4 years ago

5.14.0

4 years ago

5.13.0

4 years ago

5.12.0

4 years ago

5.11.0

4 years ago

5.10.0

4 years ago

5.9.0

4 years ago

5.8.1

4 years ago

5.8.0

4 years ago

5.7.0

4 years ago

5.6.0

4 years ago

5.5.0

4 years ago

5.4.0

4 years ago

5.3.0

4 years ago

5.0.0

4 years ago

5.1.0

4 years ago

5.2.0

4 years ago

4.25.0

4 years ago

4.21.0

4 years ago

4.24.0

4 years ago

4.23.0

4 years ago

4.22.0

4 years ago

4.20.0

4 years ago

4.19.0

4 years ago

4.18.0

4 years ago

4.17.0

4 years ago

4.16.0

4 years ago

4.15.0

4 years ago

4.14.0

4 years ago

4.13.0

4 years ago

4.12.0

4 years ago

4.11.0

4 years ago

4.10.0

4 years ago

4.9.0

4 years ago

4.8.0

4 years ago

4.7.0

4 years ago

4.6.0

4 years ago

4.5.0

4 years ago

4.4.0

4 years ago

4.3.0

4 years ago

4.2.0

5 years ago

4.1.0

5 years ago

4.0.1

5 years ago

4.0.0

5 years ago

3.13.0

5 years ago

3.12.4

5 years ago

3.12.3

5 years ago

3.12.2

5 years ago

3.12.1

5 years ago

3.12.0

5 years ago

3.11.0

5 years ago

3.10.0

5 years ago

3.9.0

5 years ago

3.8.0

5 years ago

3.7.0

5 years ago

3.6.1

5 years ago

3.6.0

5 years ago

3.5.0

5 years ago

3.4.1

5 years ago

3.4.0

5 years ago

3.3.0

5 years ago

3.2.0

5 years ago

3.1.0

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.19.0

5 years ago

2.18.0

5 years ago

2.17.1

5 years ago

2.17.0

5 years ago

2.16.0

5 years ago

2.15.0

5 years ago

2.14.0

5 years ago

2.13.0

5 years ago

2.12.0

5 years ago

2.11.0

5 years ago

2.10.0

5 years ago

2.9.0

5 years ago

2.8.0

5 years ago

2.7.0

5 years ago

2.6.0

5 years ago

2.5.0

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.0

6 years ago

1.20.0

6 years ago

1.19.1

6 years ago

1.19.0

6 years ago

1.18.0

6 years ago

1.17.1

6 years ago

1.17.0

6 years ago

1.16.0

6 years ago

1.15.0

6 years ago

1.14.0

6 years ago

1.13.0

6 years ago

1.12.0

6 years ago

1.11.0

6 years ago

1.10.0

6 years ago

1.9.28

6 years ago

1.9.27

6 years ago

1.9.26

6 years ago

1.9.25

6 years ago

1.9.24

6 years ago

1.9.23

6 years ago

1.9.22

6 years ago

1.9.21

6 years ago

1.9.20

6 years ago

1.9.19

6 years ago

1.9.18

6 years ago

1.9.17

6 years ago

1.9.16

6 years ago

1.9.15

7 years ago

1.9.14

7 years ago

1.9.13

7 years ago

1.9.12

7 years ago

1.9.11

7 years ago

1.9.10

7 years ago

1.9.9

7 years ago

1.9.8

7 years ago

1.9.7

7 years ago

1.9.6

7 years ago

1.9.5

7 years ago

1.9.4

7 years ago

1.9.3

7 years ago

1.9.2

7 years ago

1.9.1

7 years ago

1.9.0

7 years ago

1.8.8

7 years ago

1.8.7

7 years ago

1.8.6

7 years ago

1.8.5

7 years ago

1.8.4

7 years ago

1.8.3

7 years ago

1.8.2

7 years ago

1.8.1

7 years ago

1.8.0

7 years ago

1.7.1

7 years ago

1.7.0

7 years ago

1.6.8

7 years ago

1.6.7

7 years ago

1.6.4

7 years ago

1.6.3

7 years ago

1.6.2

7 years ago

1.6.1

7 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.8

7 years ago

1.3.7

7 years ago

1.3.6

7 years ago

1.3.5

7 years ago

1.3.4

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.2.19

7 years ago

1.2.18

7 years ago

1.2.17

7 years ago

1.2.16

8 years ago

1.2.15

8 years ago

1.2.14

8 years ago

1.2.13

8 years ago

1.2.12

8 years ago

1.2.11

8 years ago

1.2.10

8 years ago

1.2.9

8 years ago

1.2.8

8 years ago

1.2.7

8 years ago

1.2.6

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.3

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago