@modelicons/svg
v0.1.0
Published
300+ AI model brand logos as raw SVG strings. Framework-agnostic — works with Vue, Svelte, SolidJS, Astro, Web Components, plain HTML, or anywhere else.
Maintainers
Readme
@modelicons/svg
300+ AI model brand logos as raw SVG strings. Framework-agnostic.
npm install @modelicons/svgUse anywhere
Vue
<script setup>
import { mono } from '@modelicons/svg/OpenAI';
</script>
<template>
<div v-html="mono" />
</template>Svelte
<script>
import { mono } from '@modelicons/svg/OpenAI';
</script>
{@html mono}SolidJS
import { mono } from '@modelicons/svg/OpenAI';
() => <div innerHTML={mono} />;Astro
---
import { mono } from '@modelicons/svg/OpenAI';
---
<Fragment set:html={mono} />Vanilla HTML / DOM
import { mono } from '@modelicons/svg/OpenAI';
document.getElementById('logo').innerHTML = mono;Web Components
import { mono } from '@modelicons/svg/OpenAI';
class Logo extends HTMLElement {
connectedCallback() { this.innerHTML = mono; }
}
customElements.define('llm-logo', Logo);What each brand exports
import {
mono, // <svg fill="currentColor"> single-color string
color, // <svg> full-color string (where the brand has a Color variant)
text, // <svg> wordmark / logotype string (where present)
title, // 'OpenAI'
colorPrimary, // '#000'
} from '@modelicons/svg/OpenAI';Bulk metadata
import { brands } from '@modelicons/svg';
console.log(brands.length); // 319
console.log(brands[0]); // { id: 'Ace', title: 'Ace', colorPrimary: '#...' }React?
Use modelicons instead — it ships React components built from the same SVG sources.
License
MIT. SVG art derived from lobehub/lobe-icons (MIT).
