Conversation
- Rewrite code-icons.tsx to use Simple Icons from react-icons/si - Replace 646 lines of hardcoded SVG icons with 186 lines using react-icons - Icons are now monochrome and theme-aware via currentColor - Add 60+ language/tool mappings including JS, TS, Python, Go, Rust, Ruby, PHP, React, Vue, Angular, npm, yarn, pnpm, Bun, Docker, and more - Remove Java icon (not available in Simple Icons) - Use SiSharp for C# and SiGnubash for shell/bash - Maintain backwards compatibility with existing getLanguageIcon() API
- Group icons by unique icon instead of showing each alias separately - Display all valid keys/aliases beneath each icon (e.g., "javascript, js, jsx") - Add missing categories: DevOps & Tools, Databases, Web Technologies - Reduce grid from 6 to 3 columns for better space usage - Remove redundancy where key was shown twice
- Refactor IconMap to separate icon definitions from className - Add wrapIcon() helper to reduce duplication - Add 50+ new icons: Scala, Dart, Elixir, Haskell, Lua, Perl, R, Zig, Vite, Webpack, Remix, Astro, Solid, Preact, Qwik, NestJS, FastAPI, Flask, Fastify, SQLite, Prisma, Supabase, MariaDB, Cassandra, DynamoDB, Jest, Vitest, Cypress, Pytest, AWS, GCP, Terraform, Ansible, Jenkins, CircleCI, Vercel, Netlify, Bitbucket, ESLint, Prettier, Babel, Turborepo, Sass, Styled Components - Update CodeIconsAllExample with better categorization 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add Linux, Ubuntu, macOS, Android, iOS icons - Include aliases: mac, osx for macOS 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull Request Overview
This PR updates the code-icons component to use Simple Icons from react-icons instead of custom SVG definitions, significantly expanding the collection of supported technology icons and improving consistency.
- Replaced custom SVG definitions with Simple Icons from react-icons library
- Expanded icon support from ~25 to over 100 technology icons across 15 categories
- Added comprehensive aliases for different technology naming conventions
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| registry/new-york/marketing/code-icons.tsx | Complete rewrite using Simple Icons instead of custom SVGs, added extensive icon mapping with aliases |
| examples/ui/code-icons/CodeIconsAllExample.tsx | Updated to display icons grouped by category with all aliases shown for each icon |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.