pheralb/svgl

🧩 A beautiful library with SVG logos. Built with Sveltekit & Tailwind CSS.

TypeScript

6,365

2,150 commits

updated Oct 5, 2026

See the code

README

Svelte Badge Redis Badge Express Badge Build Status GitHub stars GitHub forks GitHub issues GitHub PRs

📦 Extensions

A list of extensions that use the SVGL API, created by the community:

ExtensionDescriptionCreated byLink
SVGL CLIA CLI for easily adding SVG icons to your project.sujjeeeGitHub Repository
SVGL for FramerOur SVGL plugin for Framer simplifies the use of SVG-based colourful logos. Easily import and easy to use.Krishna SinghFramer Marketplace
SVGL for ReactAn open-source NPM package that offers a SVGL Logos for React.ridemountainpigGitHub Repository
SVGL for VueAn open-source NPM package that offers a SVGL Logos for Vue.selemondevGitHub Repository
SVGL for SvelteAn open-source NPM package that offers a SVGL Logos for Svelte.selemondevGitHub Repository
SVGL for FigmaAdd svgs from svgl to your Figma project.quilljouFigma Plugin
SVGL for PowerToysSearch & copy SVG logos in PowerToys Run.SameerJS6Website
SVGL for RaycastSearch SVG logos via svgl.1weihoRaycast Store
SVGL for VSCodeSVGL directly in your VSCode.girlazoteVSCode Marketplace
SVGL BadgeA beautiful badges with svgl SVG logos.ridemountainpigWebsite
MagicAI extension for Cursor & other IDEsserafimcloudWebsite
SVGL for PowerShellPowerShell extension to quickly get svgl logos anywhereBart SpaansGitHub Repository
SVGL for Flow LauncherSearch & copy SVG logos in Flow LauncherAF_AskarGitHub Repository

🛠️ Stack

🚀 Getting Started

[!IMPORTANT] Before submitting an SVG, ensure you have the right to use it and that its license permits adding it to svgl. If you are uncertain, please contact the author or the company.

You will need:

  1. Fork this repository and clone it locally:
git clone git@github.com:your_username/svgl.git
  1. Install dependencies:
# Install pnpm globally if you don't have it:
npm install -g pnpm

# and install dependencies:
pnpm install
  1. Go to the static/library folder and add your .svg logo.

[!WARNING]

  • Remember to optimize SVG for web, you can use SVGOMG.
  • When you optimize the SVG, make sure that the viewBox is not removed.
  • The size limit for each .svg is 21kb.
  1. Go to the src/data/svgs.ts and add the information about your logo, following the structure:
  • Simple logo:
{
  title: 'Title',
  category: 'Category',
  route: '/library/your_logo.svg',
  url: 'Website'
}
  • Simple logo + wordmark:
{
  title: 'Title',
  category: 'Category',
  route: '/library/your_logo.svg',
  wordmark: '/library/your_logo_wordmark.svg',
  url: 'Website'
}
  • Logo (light & dark mode):
{
  title: 'Title',
  category: 'Category',
  route: {
    light: '/library/your_logo_light.svg',
    dark: '/library/your_logo_dark.svg'
  },
  url: 'Website'
}
  • Wordmark (light & dark mode):
{
  title: 'Title',
  category: 'Category',
  wordmark: {
    light: '/library/your_logo_light.svg',
    dark: '/library/your_logo_dark.svg'
  },
  url: 'Website'
}
  • Full example with all properties:
{
  title: 'Title',
  category: 'Category',
  route: {
    light: '/library/your_logo_light.svg',
    dark: '/library/your_logo_dark.svg'
  },
  wordmark: {
    light: '/library/your_logo_wordmark_light.svg',
    dark: '/library/your_logo_wordmark_dark.svg'
  },
  url: 'Website'
}
  • Add brand guidelines (where to find the images, how to use it, colors, fonts...):
{
  title: 'Title',
  category: 'Category',
  route: '/library/your_logo.svg',
  wordmark: '/library/your_logo_wordmark.svg',
  brandUrl: 'https://assets.website.com/brand-guidelines',
  url: 'Website'
}
  • Add Loftlyy brand URL:

Loftlyy is a brand identity reference site — discover and explore brand colors, typography, logos, and design systems. Created by preetsuthar17.

{
  title: 'Title',
  category: 'Category',
  route: '/library/your_logo.svg',
  wordmark: '/library/your_logo_wordmark.svg',
  loftlyyUrl: 'https://www.loftlyy.com/en/brand-name',
  url: 'Website'
}

[!NOTE]

  • The list of categories is here: src/types/categories.ts. You can add a new category if you need it.
  • You can add multiple categories to the same logo, for example: category: ['Social', 'Design'].

And create a pull request with your logo ✨.

🧑‍🚀 Getting Started with API

[!WARNING] This section is how to run API locally. For all API endpoints, check the API documentation.

  1. Install the dependencies (optional if you run the web app previously):
pnpm install
  1. Go to the api-routes folder and generate SVGs data using generate-data.mjs script:
cd api-routes
pnpm build:data
  1. Create a .env file inside the api-routes folder and add the following environment variables:
CORS_ORIGIN= # use your local development URL, e.g., http://localhost:5173
REDIS_URL= # use your Redis URL, e.g., rediss://:password@hostname:port

You can create a Redis server using: Railway - Coolify - Koyeb - Local with Docker.

  1. Run the API server:
pnpm dev

Ready 🚀

✌️ Contributing

🔑 License

hacktoberfest
logos
open-source
optimized
svelte
sveltekit
svg
svg-icons
svg-images
tailwindcss

pheralb/svgl

🧩 A beautiful library with SVG logos. Built with Sveltekit & Tailwind CSS.

TypeScript

6,365

2,150 commits

updated Oct 5, 2026

See the code

README

Svelte Badge Redis Badge Express Badge Build Status GitHub stars GitHub forks GitHub issues GitHub PRs

📦 Extensions

A list of extensions that use the SVGL API, created by the community:

ExtensionDescriptionCreated byLink
SVGL CLIA CLI for easily adding SVG icons to your project.sujjeeeGitHub Repository
SVGL for FramerOur SVGL plugin for Framer simplifies the use of SVG-based colourful logos. Easily import and easy to use.Krishna SinghFramer Marketplace
SVGL for ReactAn open-source NPM package that offers a SVGL Logos for React.ridemountainpigGitHub Repository
SVGL for VueAn open-source NPM package that offers a SVGL Logos for Vue.selemondevGitHub Repository
SVGL for SvelteAn open-source NPM package that offers a SVGL Logos for Svelte.selemondevGitHub Repository
SVGL for FigmaAdd svgs from svgl to your Figma project.quilljouFigma Plugin
SVGL for PowerToysSearch & copy SVG logos in PowerToys Run.SameerJS6Website
SVGL for RaycastSearch SVG logos via svgl.1weihoRaycast Store
SVGL for VSCodeSVGL directly in your VSCode.girlazoteVSCode Marketplace
SVGL BadgeA beautiful badges with svgl SVG logos.ridemountainpigWebsite
MagicAI extension for Cursor & other IDEsserafimcloudWebsite
SVGL for PowerShellPowerShell extension to quickly get svgl logos anywhereBart SpaansGitHub Repository
SVGL for Flow LauncherSearch & copy SVG logos in Flow LauncherAF_AskarGitHub Repository

🛠️ Stack

🚀 Getting Started

[!IMPORTANT] Before submitting an SVG, ensure you have the right to use it and that its license permits adding it to svgl. If you are uncertain, please contact the author or the company.

You will need:

  1. Fork this repository and clone it locally:
git clone git@github.com:your_username/svgl.git
  1. Install dependencies:
# Install pnpm globally if you don't have it:
npm install -g pnpm

# and install dependencies:
pnpm install
  1. Go to the static/library folder and add your .svg logo.

[!WARNING]

  • Remember to optimize SVG for web, you can use SVGOMG.
  • When you optimize the SVG, make sure that the viewBox is not removed.
  • The size limit for each .svg is 21kb.
  1. Go to the src/data/svgs.ts and add the information about your logo, following the structure:
  • Simple logo:
{
  title: 'Title',
  category: 'Category',
  route: '/library/your_logo.svg',
  url: 'Website'
}
  • Simple logo + wordmark:
{
  title: 'Title',
  category: 'Category',
  route: '/library/your_logo.svg',
  wordmark: '/library/your_logo_wordmark.svg',
  url: 'Website'
}
  • Logo (light & dark mode):
{
  title: 'Title',
  category: 'Category',
  route: {
    light: '/library/your_logo_light.svg',
    dark: '/library/your_logo_dark.svg'
  },
  url: 'Website'
}
  • Wordmark (light & dark mode):
{
  title: 'Title',
  category: 'Category',
  wordmark: {
    light: '/library/your_logo_light.svg',
    dark: '/library/your_logo_dark.svg'
  },
  url: 'Website'
}
  • Full example with all properties:
{
  title: 'Title',
  category: 'Category',
  route: {
    light: '/library/your_logo_light.svg',
    dark: '/library/your_logo_dark.svg'
  },
  wordmark: {
    light: '/library/your_logo_wordmark_light.svg',
    dark: '/library/your_logo_wordmark_dark.svg'
  },
  url: 'Website'
}
  • Add brand guidelines (where to find the images, how to use it, colors, fonts...):
{
  title: 'Title',
  category: 'Category',
  route: '/library/your_logo.svg',
  wordmark: '/library/your_logo_wordmark.svg',
  brandUrl: 'https://assets.website.com/brand-guidelines',
  url: 'Website'
}
  • Add Loftlyy brand URL:

Loftlyy is a brand identity reference site — discover and explore brand colors, typography, logos, and design systems. Created by preetsuthar17.

{
  title: 'Title',
  category: 'Category',
  route: '/library/your_logo.svg',
  wordmark: '/library/your_logo_wordmark.svg',
  loftlyyUrl: 'https://www.loftlyy.com/en/brand-name',
  url: 'Website'
}

[!NOTE]

  • The list of categories is here: src/types/categories.ts. You can add a new category if you need it.
  • You can add multiple categories to the same logo, for example: category: ['Social', 'Design'].

And create a pull request with your logo ✨.

🧑‍🚀 Getting Started with API

[!WARNING] This section is how to run API locally. For all API endpoints, check the API documentation.

  1. Install the dependencies (optional if you run the web app previously):
pnpm install
  1. Go to the api-routes folder and generate SVGs data using generate-data.mjs script:
cd api-routes
pnpm build:data
  1. Create a .env file inside the api-routes folder and add the following environment variables:
CORS_ORIGIN= # use your local development URL, e.g., http://localhost:5173
REDIS_URL= # use your Redis URL, e.g., rediss://:password@hostname:port

You can create a Redis server using: Railway - Coolify - Koyeb - Local with Docker.

  1. Run the API server:
pnpm dev

Ready 🚀

✌️ Contributing

🔑 License

hacktoberfest
logos
open-source
optimized
svelte
sveltekit
svg
svg-icons
svg-images
tailwindcss

Significant stargazers

(top 24 of 59)

Hiroki Osame

3,979 followers · starred Apr 2024

fregante

1,983 followers · starred Dec 2023

CanisMinor

892 followers · starred Dec 2023

Yi-Jyun Pan

679 followers · starred Jan 2025