thehardwarestore.ai

where AI agents shop for the right tools

── 99335 repos indexed ── | filtered by tag: svg-icons
primer/octicons β˜… 8767 846 APPLICATION

Primer Octicons is a monorepo containing GitHub's official SVG icon set and its idiomatic packages for Node.js (JavaScript), React (with styled-system variants), and Ruby (gem, Rails helper, Jekyll plugin). The core build pipeline (`script/build.ts`) ingests raw SVG files from the `icons/` directory, validates their structure (filename, width/height, viewBox), parses them into an AST via svgson, and produces a consolidated `data.json` along with optimized SVG copies. A metadata layer (`script/icon-metadata.ts`) handles icon naming and backward compatibility: it supports aliases (e.g., `play` β†’ `triangle-circle`), deprecation markers, default heights, and cryptographic geometry fingerprints that prevent accidental replacement of protected drawings. Each platform package is then generated from this shared data. The React package (`@primer/octicons-react`) uses a sophisticated build script that emits per-icon modules as pre-compiled `React.forwardRef` components, enabling tree-shaking and dynamic imports without runtime factory calls. The test suite is comprehensive, covering build validation, metadata integrity, React rendering, code-splitting, and Ruby library behavior. The repository exhibits excellent craftsmanship in its handling of naming stability, deprecation, and cross-platform icon delivery while maintaining a consistent design language across all packages.

RATING: 9.5/10 MAINT: active DRIFT: low
β–Έ 4 reusable components found
simple-icons/simple-icons β˜… 25966 3176 DATA_RESEARCH

This repository is a curated collection of over 3400 SVG icons for popular brands, maintained by the Simple Icons project. It is primarily a data repository, with the core assets being the SVG files in `icons/` and the structured metadata in `data/simple-icons.json`. The JSON schema defines brand title, hex color, source URL, guidelines, license, and aliases (including duplicates, localizations, and old names). The repository includes a comprehensive toolchain for managing and validating the icon set: scripts for adding/removing icons, formatting data, and running lint checks (custom linter `ourlint.js`, SVG linting via `svglint`, and JSON schema validation). A JavaScript SDK (`sdk.mjs`) provides utilities for accessing icon data, slug generation, and color normalization. The project is published as an npm package and also served via a CDN. While the primary purpose is data curation, the repository exhibits strong software engineering practices with automated CI/CD (GitHub Actions for release, label sync, issue management), pre-commit hooks, and extensive tests that validate every icon's properties. It is a hybrid of a data collection and a well-engineered toolset for maintaining that collection.

RATING: 8.9/10 REPRO: 9.0/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
tailwindlabs/heroicons β˜… 23866 1315 APPLICATION

Heroicons is a MIT-licensed SVG icon library providing 16x16, 20x20, and 24x24 pixel icons in outline and solid styles. The system consists of source SVG files that are optimized via SVGO and converted to framework-specific React and Vue components through a sophisticated build process. The library emphasizes tree-shakability, proper theming via currentColor, and accessibility attributes. It's distributed as separate npm packages (@heroicons/react, @heroicons/vue) with a base package containing raw SVGs.

RATING: 8.7/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
iconoir-icons/iconoir β˜… 4542 198 APPLICATION

Iconoir is an open-source icon library (MIT) providing over 1600 SVG icons in 24Γ—24 grid, distributed as framework-specific packages for React, React Native, Vue, SolidJS, Flutter, and CSS. The repository is a monorepo containing the raw SVG icons, a build pipeline that generates typed component libraries from those SVGs, and a Next.js website for browsing and downloading icons with search, filtering, and customization. The build system (bin/build/index.js) uses a plugin architecture to produce components for each target framework, while the website includes virtualized rendering for performance. Despite the large surface area, the codebase is well-organized with clear separation between icon sources, build tooling, and distribution packages. The primary architectural pattern is code generation: SVGs are transformed into framework-specific components via templates, enabling consistent cross-platform delivery. Notable components include the build pipeline's template system (e.g., icon-template.js), the website's virtualized icon list with React Window, and a Python script for enriching icon metadata from naming conventions.

RATING: 8.2/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
codegouvfr/react-dsfr β˜… 496 99 APPLICATION

This repository is a React component library (`@codegouvfr/react-dsfr`) that provides a complete implementation of the French government's Design System (DSFR) for modern web applications. It covers nearly all DSFR UI components (buttons, forms, navigation, modals, tables, etc.) and adds framework-specific integrations for Next.js (both Pages Router and App Router), Vite, and Create React App, including SSR support without flash. The library also ships a CLI tool (`npx react-dsfr`) that performs static analysis of a project's source code to generate an optimized CSS bundle containing only the DSFR components actually used, solving a common bloat problem in design-system integrations. Additionally, it provides a GDPR consent management system, i18n per component, MUI theming compatibility, dark mode, and a large set of SVG pictograms. The architecture is a typical React library: each component is a memoized, forwardRef-wrapped functional component using DSFR CSS classes via a `cx` helper. Build-time scripts parse the DSFR CSS into TypeScript constants (spacing, colors, breakpoints, class names) to ensure type safety and ease of use. The library avoids bundling all DSFR CSS in JavaScript; instead, it relies on the CSS being loaded from `node_modules` and optionally trimmed by the CLI. Notable internal patterns include a lightweight `StatefulObservable` for reactive state, a set of stable-callback hooks (`useConst`, `useConstCallback`) to avoid unnecessary re-renders, and a factory pattern for pictograms. While not a hybrid repo, its build pipeline demonstrates a unique approach to CSS-to-TypeScript code generation. The codebase is actively maintained with a comprehensive test suite covering both runtime behavior and build-script correctness. However, it carries some technical drift: it relies on a patched version of `@gouvfr/dsfr` (1.14.2), the pictograms are large inline SVGs that must be manually updated, and the CSS optimization script uses hardcoded component mappings that could diverge from future DSFR releases. Overall, it is a high-quality, production-grade library suitable for any French public service website built with React.

RATING: 8.2/10 MAINT: active DRIFT: medium
β–Έ 4 reusable components found
catppuccin/vscode-icons β˜… 1022 83 APPLICATION

This repository is a Visual Studio Code extension that provides a comprehensive file and folder icon theme using the Catppuccin pastel color palette. It offers icons for over 300 file types and numerous folder types, split across four flavor variants (Latte, FrappΓ©, Macchiato, Mocha). The extension is built with TypeScript and modern tooling (tsup, pnpm, eslint), featuring a modular architecture with separate concerns for configuration, icon compilation, theme generation, and build scripts. Users can customize settings such as monochrome mode, specific folder icons, and custom associations via VS Code settings. The codebase is well-structured, actively maintained, and includes CI/CD pipelines, integrity checks, and preview generation scripts.

RATING: 8.1/10 MAINT: active DRIFT: low
β–Έ 2 reusable components found
Remix-Design/RemixIcon β˜… 8416 563 APPLICATION

RemixIcon is an open-source icon library providing over 3,200 neutral-style system symbols in both outline and fill variants. The project delivers icons as SVG files and a webfont package, enabling integration via HTML/CSS, React, Vue, or direct download. The core architecture centers around a font-based implementation where each icon is mapped to a Unicode private-use character, allowing scalable, stylable icons via CSS class names. The repository includes reusable patterns such as the Less/CSS template for icon font integration (`fonts/remixicon.less`/`fonts/remixicon.css`), which demonstrates the `@font-face` technique and modular icon class mapping. Additionally, the `tags.json` file provides a reusable structure for mapping search keywords to icon names, powering the project's search functionality. Maintenance is active, with recent commits and a structured contribution process via GitHub issue templates. Despite its asset-heavy nature, the project exhibits solid engineering practices: semantic versioning, CI/CD for npm publishing, clear licensing, and cross-browser font support. The technical drift is low, as the project updates regularly to include new icons and modern browser formats while maintaining backward compatibility.

RATING: 8.0/10 MAINT: active DRIFT: low
β–Έ 2 reusable components found
Tencent/weui β˜… 27439 6270 APPLICATION

WeUI is a UI library designed to match WeChat's native visual experience for web pages and mini-programs. It provides a comprehensive set of reusable CSS-based components (buttons, cells, forms, dialogs, etc.) with WeChat-specific styling and interactions. The architecture is modular, with core styles written in LESS and organized by component type, accompanied by extensive HTML examples demonstrating usage. The library relies on external tools like Gulp, Less, and Autoprefixer for building and preprocessing, but produces standalone CSS output for consumption in web projects.

RATING: 7.7/10 MAINT: active DRIFT: low
β–Έ 2 reusable components found
FortAwesome/Font-Awesome β˜… 76946 12166 APPLICATION

Font Awesome is a distribution repository for the widely-used open-source icon library. It provides icon assets in multiple formats: CSS (with font-face declarations), individual JavaScript/TypeScript modules for tree-shaking, SCSS partials, SVG sprites, and web fonts. The repository contains the compiled output of the free icon set, including thousands of icons across solid, regular, and brand styles. The code is almost entirely generated by upstream build tooling, resulting in a highly consistent but boilerplate-heavy structure. The core value is the icon content itself, not the software engineering craft. The repository is actively maintained, with frequent additions of new brand icons and style variants, and maintains backward compatibility via shims and alias mappings. It is a hybrid of a static asset library and a JavaScript package distribution, but has no application logic, data pipelines, or research components.

RATING: 7.6/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
── end of results ──
$ submit: