- Total Icons: 42
- Categories: Social (16), Development & Tools (25), Design (1)
- Formats: SVG (scalable, editable)
- Bundle-friendly: ESM build with named exports for tree-shaking
- Customization:
size,color,className, andstyleprops
- React Components - Drop-in React components for easy integration
- Individual Exports - Import only the icons you need to keep bundles small
- Search & Filter Utilities - Helpers to find icons by name or category
- Lightweight - Minified size ~15KB, gzip ~5KB (approx.)
- TypeScript Ready - Provided type definitions for easy TSX usage
- Package name:
brandkitjs(published to npm)
Install (choose your package manager):
npm install brandkitjs
# or
# yarn add brandkitjs
# pnpm add brandkitjsNotes:
- The package is published as ESM (
type: "module",modulefield). Use named imports so bundlers can tree-shake unused icons. - Peer dependencies:
reactandreact-dom.
Basic usage:
import { Github } from 'brandkitjs';
export default function App() {
return <Github />;
}Customize size and color:
import { Github } from 'brandkitjs';
export default function App() {
return <Github size="48px" color="#181717" />;
}Import only what you need (bundle-friendly):
import { Facebook, Instagram, Github } from 'brandkitjs';
function SocialLinks() {
return (
<div style={{ display: 'flex', gap: 12 }}>
<Facebook size="24px" />
<Instagram size="24px" />
<Github size="24px" />
</div>
);
}CommonJS / Node consumers
- In CommonJS-only environments use dynamic import interop:
(async () => {
const pkg = await import('brandkitjs');
const { Github } = pkg;
// use Github
})();CDN usage (ES module build)
<script type="module">
import { Github } from 'https://cdn.jsdelivr.net/npm/[email protected]/dist/index.esm.js';
// mount your React app that uses <Github />
</script>Brandkit includes 42 icons across three categories. Below is a concise catalog with IDs and brand colors (hex) taken from the icon metadata.
| Name | ID | Color |
|---|---|---|
facebook |
#1877F2 |
|
instagram |
#E4405F |
|
twitter |
#1DA1F2 |
|
| YouTube | youtube |
#FF0000 |
google |
#4285F4 |
|
linkedin |
#0A66C2 |
|
| TikTok | tiktok |
#000000 |
| Discord | discord |
#5865F2 |
| Spotify | spotify |
#1DB954 |
| Twitch | twitch |
#9146FF |
pinterest |
#E60023 |
|
reddit |
#FF4500 |
|
whatsapp |
#25D366 |
|
| Telegram | telegram |
#26A5E4 |
| Snapchat | snapchat |
#FFFC00 |
| Medium | medium |
#000000 |
| Name | ID | Color |
|---|---|---|
| GitHub | github |
#181717 |
| NPM | npm |
#CB3837 |
| React | react |
#61DAFB |
| Vue.js | vue |
#4FC08D |
| Slack | slack |
#4A154B |
| HTML5 | html5 |
#E34F26 |
| CSS3 | css3 |
#1572B6 |
| JavaScript | javascript |
#F7DF1E |
| Python | python |
#3776AB |
| Java | java |
#007396 |
| Node.js | nodejs |
#339933 |
| TypeScript | typescript |
#3178C6 |
| Angular | angular |
#DD0031 |
| Docker | docker |
#2496ED |
| Git | git |
#F05032 |
| MongoDB | mongodb |
#47A248 |
| VS Code | vscode |
#007ACC |
| Bootstrap | bootstrap |
#7952B3 |
| Tailwind | tailwind |
#06B6D4 |
| WordPress | wordpress |
#21759B |
| Sass | sass |
#CC6699 |
| Flutter | flutter |
#02569B |
| Kotlin | kotlin |
#7F52FF |
| Go | go |
#00ADD8 |
| Ruby | ruby |
#CC342D |
| Name | ID | Color |
|---|---|---|
| Figma | figma |
#F24E1E |
getAllIcons()— Returns an array of all icon metadata objects.getIconsByCategory(category)— Filter icons bysocial,development, ordesign.searchIcons(query)— Search by name or id (case-insensitive).Iconcomponent — Dynamic renderer:<Icon id="github" size="24px" />.
Example: dynamic icon grid
import React, { useState } from 'react';
import { searchIcons, Icon } from 'brandkitjs';
export default function IconGrid() {
const [query, setQuery] = useState('');
const icons = query ? searchIcons(query) : [];
return (
<div>
<input
type="text"
placeholder="Search icons..."
value={query}
onChange={(e) => setQuery(e.target.value)}
/>
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(4, 1fr)', gap: '16px' }}>
{icons.map((icon) => (
<div key={icon.id}>
<Icon id={icon.id} size="32px" />
<p>{icon.name}</p>
</div>
))}
</div>
</div>
);
}- Full Stack Developer:
html5,css3,javascript,react,nodejs,mongodb - Web Designer:
html5,css3,figma,bootstrap - Social Media Manager:
facebook,instagram,twitter,linkedin,pinterest - DevOps:
docker,git,github - Mobile Developer:
flutter,react
All icon components accept the following props:
| Prop | Type | Default | Description |
|---|---|---|---|
size |
string | '24px' |
Icon size (px, em, rem, etc.) |
color |
string | Icon default color | SVG fill color (hex, rgb, rgba) |
className |
string | undefined | CSS class name |
style |
object | undefined | Inline CSS styles |
- SVG-based icons for crisp rendering at any size
- Tree-shakeable ESM build to eliminate unused icons in production
- No runtime dependencies beyond React
Type definitions are provided via the types field (dist/index.d.ts). Import components normally in TSX files.
Contributions are welcome! Submit a Pull Request or open an Issue on GitHub.
If you discover a security vulnerability in the project, do not open a public issue.
Instead, submit a private report through the Security advisories section.
This project is licensed under the MIT License. For more details, see the LICENSE file.
For issues and questions, please open an issue on GitHub.
- Repository: https://github.com/samirrhashimov/brandkit
- NPM Package: https://www.npmjs.com/package/brandkitjs