I Built a React icon library with every major brand logo. Each icon is a properly typed React component:
import { Github, Figma, VisualStudioCode } from '@thesvg/react'; // Or individual imports for maximum tree-shaking: import Github from '@thesvg/react/github'; <Github width={24} height={24} className="text-gray-900" /> <Github ref={svgRef} aria-label="GitHub" role="img" />
Features:
- 3,847 brand icon components
- Full
SVGProps<SVGSVGElement> typing forwardRef on every component - Tree-shakeable ESM - only ships what you import
- Individual icon imports (
@thesvg/react/github) for bundlers without tree-shaking - Zero runtime dependencies (React is a peer dep)
npm install @thesvg/react
Browse all icons: https://thesvg.org GitHub: https://github.com/GLINCKER/thesvg
submitted by