svelte-devicons
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

svelte-devicons

svelte components for the svg icons of the devicon project.

Installation

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

Usage

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

<GithubOriginalWordmarkIcon />
<GithubOriginalIcon size="2em" />
<SvelteOriginalIcon className="my-class" />

With color

Icons that are only one color can be recolored like this

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

<DeviconPlainIcon color="white" />;

Readme

Keywords

none

Package Sidebar

Install

npm i svelte-devicons

Weekly Downloads

5

Version

0.0.1

License

MIT

Unpacked Size

4.39 MB

Total Files

896

Last publish

Collaborators

  • snailedlt