Skip to content

Additional code icons support#122

Merged
dqii merged 4 commits intomainfrom
di/sept30
Sep 30, 2025
Merged

Additional code icons support#122
dqii merged 4 commits intomainfrom
di/sept30

Conversation

@dqii
Copy link
Contributor

@dqii dqii commented Sep 30, 2025

No description provided.

dqii and others added 4 commits September 30, 2025 10:13
- 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>
@dqii dqii requested a review from Copilot September 30, 2025 14:29
@vercel
Copy link

vercel bot commented Sep 30, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
component-library Ready Ready Preview Comment Sep 30, 2025 2:31pm

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@dqii dqii merged commit f3bb41e into main Sep 30, 2025
4 checks passed
@dqii dqii deleted the di/sept30 branch September 30, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants