shadcn-logos
v0.2.0
Published
A CLI tool for adding company logos to your projects
Maintainers
Readme
shadcn-logos
Copy company logos into your project. Just like shadcn/ui, but for logos.
bunx shadcn-logos@latest add vercel github reactWhat is this?
This is NOT a logo library. It's a way to copy logo components directly into your project.
Just like shadcn/ui copies UI components, shadcn-logos copies logo components. You get the actual component code that you can customize however you want.
Quick Start
1. Copy a logo into your project
bunx shadcn-logos@latest add vercel2. Use it in your app
import { VercelLogo } from './src/components/logos/vercel'
function Header() {
return <VercelLogo size={32} />
}3. Customize it (because you own the code!)
// Edit ./src/components/logos/vercel.tsx
export function VercelLogo(props) {
const { size = 24, className, ...otherProps } = props
return (
<svg
className={`my-custom-styles ${className}`} // ← Customize however you want
width={size}
height={size}
{...otherProps}
>
{/* SVG content you can modify */}
</svg>
)
}That's it! The logo is now yours to customize. ✨
Installation
No installation needed - use with bunx:
bunx shadcn-logos@latest add [logo-name]Or install globally:
npm install -g shadcn-logos
shadcn-logos add [logo-name]Commands
add - Add logos to your project
# Add one logo
shadcn-logos add vercel
# Add multiple logos
shadcn-logos add vercel github react typescript
# See what would be added (dry run)
shadcn-logos add vercel --dry-runlist - Browse available logos
# See all available logos
shadcn-logos list
# Filter by category
shadcn-logos list --category ai
shadcn-logos list --category databasesearch - Find specific logos
shadcn-logos search react
shadcn-logos search databaseinit - First time setup
# Interactive setup
bunx shadcn-logos@latest init
# Quick setup with defaults
bunx shadcn-logos@latest init -ySupported Frameworks
- ✅ React - TypeScript components with props
- ✅ Vue - Vue 3 components
- ✅ Svelte - Svelte components
- ✅ Raw SVG - Just the SVG files
Examples
React Component
import { VercelLogo, GitHubLogo } from './src/components/logos'
function MyApp() {
return (
<div>
<VercelLogo size={24} />
<GitHubLogo size={32} className="text-blue-500" />
</div>
)
}Vue Component
<template>
<div>
<VercelLogo :size="24" />
<GitHubLogo :size="32" class="text-blue-500" />
</div>
</template>
<script>
import { VercelLogo, GitHubLogo } from './src/components/logos'
</script>Raw SVG
When using format: "svg", logos are saved as SVG files you can use anywhere.
What You Get
🎨 500+ logos from top companies and tools
📁 Actual component code - Copy, don't import
⚡ Optimized SVGs - Small file sizes
🌗 Dark/light variants - When available
✨ Fully customizable - Edit the code however you want
🔧 TypeScript ready - Full type definitions
Available Logos
Popular logos include:
- Frameworks: React, Vue, Svelte, Angular, Next.js
- Tools: GitHub, GitLab, VS Code, Figma, Notion
- Cloud: Vercel, Netlify, AWS, Google Cloud
- Databases: PostgreSQL, MongoDB, Redis, Supabase
- And 500+ more...
Use bunx shadcn-logos@latest list to see all available logos.
Configuration
First run bunx shadcn-logos@latest init to configure:
- Framework (React, Vue, Svelte, or raw SVG)
- TypeScript support
- Output directory
- Logo format preferences
Just like shadcn/ui, this creates a config file that remembers your preferences.
Contributing Logos
Missing a logo? Add it directly to our repository! Since SVGL can take time to merge new logos, we maintain our own collection for faster additions.
Quick logo contribution:
- Add your SVG file to
logos/your-logo.svg - Add the definition to
data/logos.ts - Open a pull request
See CONTRIBUTING_LOGOS.md for detailed instructions.
Credits & Inspiration
- Logo data: SVGL - Beautiful SVG logos for popular brands
- Inspired by: shadcn/ui - The amazing component library that started it all
- API: SVGL API - Free logo API by @pheralb
License
MIT - Feel free to use in any project!
