pheralb
svgl
TypeScript

๐Ÿงฉ A beautiful library with SVG logos. Built with Sveltekit & Tailwind CSS.

Last updated Jul 8, 2026
6.2k
Stars
845
Forks
295
Issues
+6
Stars/day
Attention Score
94
Language breakdown
TypeScript 53.9%
Svelte 43.6%
CSS 0.8%
JavaScript 0.6%
HTML 0.6%
Dockerfile 0.5%
โ–ธ Files click to expand
README

Explore  โœฆ  Sponsor this project  โœฆ  Getting Started  โœฆ  Extensions  โœฆ  Stack  โœฆ  Contributing  โœฆ  License

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:

| | Extension | Description | Created by | Link | | ---------------------------------------------------------------------------------------------------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | | | SVGL CLI | A CLI for easily adding SVG icons to your project. | sujjeee | GitHub Repository | | | SVGL for Framer | Our SVGL plugin for Framer simplifies the use of SVG-based colourful logos. Easily import and easy to use. | Krishna Singh | Framer Marketplace | | | SVGL for React | An open-source NPM package that offers a SVGL Logos for React. | ridemountainpig | GitHub Repository | | | SVGL for Vue | An open-source NPM package that offers a SVGL Logos for Vue. | selemondev | GitHub Repository | | | SVGL for Svelte | An open-source NPM package that offers a SVGL Logos for Svelte. | selemondev | GitHub Repository | | | SVGL for Figma | Add svgs from svgl to your Figma project. | quilljou | Figma Plugin | | | SVGL for PowerToys | Search & copy SVG logos in PowerToys Run. | SameerJS6 | Website | | | SVGL for Raycast | Search SVG logos via svgl. | 1weiho | Raycast Store | | | SVGL for VSCode | SVGL directly in your VSCode. | girlazote | VSCode Marketplace | | | SVGL Badge | A beautiful badges with svgl SVG logos. | ridemountainpig | Website | | | Magic | AI extension for Cursor & other IDEs | serafimcloud | Website | | | SVGL for PowerShell | PowerShell extension to quickly get svgl logos anywhere | Bart Spaans | GitHub Repository | | | SVGL for Flow Launcher | Search & copy SVG logos in Flow Launcher | AFAskar | GitHub Repository |

๐Ÿ› ๏ธ Stack

consistent icons.
  • svelte-sonner - An opinionated toast component for Svelte.
  • Express with Redis - A fast, unopinionated, minimalist web framework for Node.js with a powerful in-memory data structure store.

๐Ÿš€ 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:

git clone git@github.com:your_username/svgl.git
  • Install dependencies:
# Install pnpm globally if you don't have it:
npm install -g pnpm

and install dependencies:

pnpm install
[!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.
  • 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/yourlogowordmark.svg',
  url: 'Website'
}
  • Logo (light & dark mode):
{
  title: 'Title',
  category: 'Category',
  route: {
    light: '/library/yourlogolight.svg',
    dark: '/library/yourlogodark.svg'
  },
  url: 'Website'
}
  • Wordmark (light & dark mode):
{
  title: 'Title',
  category: 'Category',
  wordmark: {
    light: '/library/yourlogolight.svg',
    dark: '/library/yourlogodark.svg'
  },
  url: 'Website'
}
  • Full example with all properties:
{
  title: 'Title',
  category: 'Category',
  route: {
    light: '/library/yourlogolight.svg',
    dark: '/library/yourlogodark.svg'
  },
  wordmark: {
    light: '/library/yourlogowordmark_light.svg',
    dark: '/library/yourlogowordmark_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/yourlogowordmark.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/yourlogowordmark.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.
  • Install the dependencies (optional if you run the web app previously):
pnpm install
cd api-routes
pnpm build:data
  • 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.

  • Run the API server:
pnpm dev

Ready ๐Ÿš€

โœŒ๏ธ Contributing

๐Ÿ”‘ License

ยฉ 2026 GitRepoTrend ยท pheralb/svgl ยท Updated daily from GitHub