Skip to content

Conversation

@danteissaias
Copy link
Contributor

@danteissaias danteissaias commented Mar 8, 2025

Closes #2858

What is the purpose of this pull request?

  • New Icon
  • Bug fix
  • New Feature
  • Documentation update
  • Other:

Description

Thanks for taking the time to look at my previous PR!

Based on our previous discussion, I've implemented a different solution. Instead of modifying the toKebabCase function, I've added a new class that's derived from the icon's name on the filesystem.

The good news is that this change is fully backwards compatible. The new classes will follow this pattern:
lucide lucide-grid3x3 lucide-grid-3x3

This means existing implementations using the current class names will continue to work without any changes needed.

Looking forward to your feedback on this approach.

Before Submitting

@danteissaias danteissaias requested a review from jguddas March 10, 2025 09:42
@danteissaias
Copy link
Contributor Author

Do you know why the Vercel build is failing after I merged main?

Copy link
Member

@ericfennis ericfennis left a comment

Choose a reason for hiding this comment

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

Really nice work, thanks for fixing this!
I've found something we need to check. See comment below

@ericfennis ericfennis changed the title fix: consistent icon name class fix(packages): consistent icon name class Mar 21, 2025
@ericfennis ericfennis merged commit 4835ae6 into lucide-icons:main Mar 21, 2025
11 of 12 checks passed
@danteissaias
Copy link
Contributor Author

🎉

This was referenced Jun 28, 2025
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.

Inconsistent kebab-casing between class attribute and iconNames

3 participants