shadcn-logos

Copy brand logo components into your project, like shadcn/ui but for logos. React, Vue, Svelte, and optimized SVG.
388 1
Install
npm install shadcn-logos
Latest Version:0.3.0
License:MIT
Last Updated:Oct 1, 2026
Links: GitHub  ·  npm
Maintainer: albert-mr

shadcn-logos

Copy company logo components into your project. Like shadcn/ui, but for logos.

npm version npm downloads CI license node

bunx shadcn-logos@latest add vercel github react

shadcn-logos is not a logo library. Just like shadcn/ui copies UI components into your project, this copies logo components into your project. You get the actual code, so you own it and can style or change it however you like. Logos come from the SVGL registry (650+ brands) plus a small bundled set.

Why

  • Copy, don't import. The component lives in your repo. No dependency in node_modules to fight, no version lock-in.
  • A size prop that works. <VercelLogo size={32} /> drives width and height. Extra props (className, style, events) forward to the <svg>.
  • Your stack. React, Vue, Svelte, or raw optimized SVG.
  • Dark mode by default. currentColor mode makes monochrome logos inherit your text color; fill="none" is preserved.
  • Clean output. SVGs are minified with svgo; React markup is valid JSX (fill-rule becomes fillRule, and so on).
  • Typed. TypeScript components with a typed props interface, validated config, and a tested core.

Why not shadcn add straight from SVGL?

SVGL now publishes its own shadcn registry (npx shadcn@latest add https://svgl.app/r/vercel.json). If you are on React and want each brand's original colors, that works well. shadcn-logos adds Vue, Svelte, and raw SVG output; a size prop; currentColor theming so monochrome logos follow your text color; svgo-minified markup; and fuzzy names (add nextjs github stripe) instead of exact registry slugs.

Quick start

1. Add a logo

No install needed, run it on demand:

bunx shadcn-logos@latest add vercel

Or set up a config once and add many:

bunx shadcn-logos@latest init -y      # detect framework + TypeScript, write logos.config.json
shadcn-logos add vercel github react  # add several at once
shadcn-logos add vercel --dry-run     # preview without writing files
shadcn-logos add vercel --wordmark --dark  # wordmark, dark-theme variant

2. Use it

import { VercelLogo } from './src/components/logos/vercel'

export function Header() {
  return <VercelLogo size={32} className="text-black dark:text-white" />
}

3. Customize it (you own the code)

Open the generated file and change anything: add classes, hard-code a color, tweak the viewBox, wrap it in your own component. There is no library to override.

Documentation

Full documentation lives in docs/:

Commands

Command What it does
init Create logos.config.json (use -y for defaults).
add <logos...> Add logos. --dark / --wordmark for variants, --dry-run to preview, --force to overwrite.
list Browse the catalog. --category, --search, --limit.
search <query> Find logos by name.
cache Manage the response cache. --stats, --clear.

Full reference: docs/commands.md.

Supported frameworks

Framework Output size prop
React .tsx / .jsx component width/height bound to size
Vue .vue component :width/:height bound to size
Svelte .svelte component width/height bound to size
Raw SVG optimized .svg file n/a

See docs/frameworks.md for real output examples.

What you get

🎨 650+ logos from top companies and tools 📁 Actual component code, copy not import ⚡ Optimized SVGs, small file sizes 🌗 Dark variants and wordmarks when available (--dark, --wordmark) ✨ Fully customizable, edit the code however you want 🔧 TypeScript-ready with full type definitions

Contributing

bun install
bun run check   # lint + type-check + test + build

Credits

License

MIT — use it in any project.

Related Packages

denji

A CLI tool to manage your SVG icons

1,815 6
@esvigy/cli

Official CLI for Esvigy — add customizable, animated illustrations directly to y...

375 3
shapeso

Shape's icons from the terminal: search 11,160 catalog icons from Shape, Lucide,...

362
@arcanalabs/ui-components

Arcana Labs UI Components — a typed, framework-native shadcn-style component lib...

5,735 3
@tesserai/cli

Install a tesserai design system into your project as components you own, keep i...

2,584 0

Version History

Version Released License
0.3.0 MIT
0.2.0 MIT