[Home](/index.md) › [Docs](/docs.md) › Packages › Icon font

# Icon font

Devicons as a web font. No build step, works everywhere.

`devicons` is the no-framework option: one CSS file with a glyph for every icon file. It works in legacy stacks and plain HTML.

> **Version numbering & naming** _(info)_
>
> The font package has a higher version number (`>2.x`) than the framework packages since it has been around for almost 12 years. That's why it's also not prefixed with `@dev.icons/` like the others.

## Install

```bash
npm install devicons
```

For a no-build workflow, see the [CDN guide](/docs/cdn/).

## Usage

Import the stylesheet once. With a bundler:

```css
@import "devicons/css";
```

Then add glyphs with the `devicons` base class plus `devicons-{file}`:

```html
<i class="devicons devicons-react"></i>
<i class="devicons devicons-vue"></i>
<i class="devicons devicons-svelte"></i>
```

`{file}` is one of the icon's file names, which each icon page lists (for example `react`, `nextjs`, `nextjs-icon`). Glyphs are monochrome.

## Sizing and color

The font inherits `font-size` and `color`.

```html
<i
  class="devicons devicons-github"
  style="font-size: 32px; color: #ff4d00;"
></i>
```

## Other exports

| Import | File |
| --- | --- |
| `devicons/css` | `dist/devicons.css` |
| `devicons/woff2` | `dist/devicons.woff2` |
| `devicons/ttf` | `dist/devicons.ttf` |
| `devicons/sprite` | `dist/sprite-symbol.svg` |
| `devicons/codepoints` | `dist/codepoints.json` (file name → codepoint) |

For full-color logos, use the [React](/docs/react/), [Vue](/docs/vue/), or [Svelte](/docs/svelte/) packages, or the [SVG URLs](/docs/cdn/).

---

← Previous: [Core](/docs/core.md)
→ Next: [CDN](/docs/cdn.md)

[← All docs](/docs.md)
