svelte components for the svg icons of the devicon project.
yarn add svelte-devicons
// OR
npm i svelte-devicons
// OR
pnpm i svelte-devicons
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" />
Icons that are only one color can be recolored like this
import DeviconPlainIcon from "svelte-devicons/devicon/plain";
<DeviconPlainIcon color="white" />;