An open API service indexing awesome lists of open source software.

https://github.com/snailedlt/svelte-devicons

Svelte components for the svg icons of the devicon project
https://github.com/snailedlt/svelte-devicons

devicon devicons devicons-svelte javascript npm npm-package svelte svelte-components svelte3 sveltejs typescript

Last synced: 3 months ago
JSON representation

Svelte components for the svg icons of the devicon project

Awesome Lists containing this project

README

        

# svelte-devicons

svelte components for the svg icons of the
[devicon](https://github.com/devicons/devicon) project.

## Installation

```js
yarn add svelte-devicons
// OR
npm i svelte-devicons
// OR
pnpm i svelte-devicons
```

## Usage

```tsx
import SvelteOriginalIcon from "svelte-devicons/svelte/original";
// or (not recommended, this would increase bundle size by a lot)
import { GithubOriginalIcon, GithubOriginalWordmarkIcon } from "svelte-devicons";

```

### With color

Icons that are only one color can be recolored like this

```tsx
import DeviconPlainIcon from "svelte-devicons/devicon/plain";

;
```