Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename icon by adding "Icon" at the end of each component #2573

Closed
2 of 14 tasks
gdamou opened this issue Oct 31, 2024 · 1 comment
Closed
2 of 14 tasks

Rename icon by adding "Icon" at the end of each component #2573

gdamou opened this issue Oct 31, 2024 · 1 comment
Labels
💡 idea New ideas

Comments

@gdamou
Copy link

gdamou commented Oct 31, 2024

Package

  • lucide
  • lucide-angular
  • lucide-flutter
  • lucide-preact
  • lucide-react
  • lucide-react-native
  • lucide-solid
  • lucide-svelte
  • lucide-vue
  • lucide-vue-next
  • Figma plugin
  • all JS packages
  • site

Description

I don't really found any issue opened about this (sorry if it is already the case) but I am using pandacss as style library in my React applications and whenever I try to import component I am importing the "Box" from lucide-dev.

Why icon doesn't have simply the "icon" word at the end of them ? Is there any technical reason that motivated you to name them like other components ?

Use cases

Making icon import only when we really need them and avoid any conflict with other components in react app.

Checklist

  • I have searched the existing issues to make sure this bug has not already been reported.
@gdamou gdamou added the 💡 idea New ideas label Oct 31, 2024
@karsa-mistmere
Copy link
Member

There's an open PR about this. We aren't going to drop previous export names for sake of backward compatibility, but we're working on developers being able to customise what exports they would like to use: #2328

@karsa-mistmere karsa-mistmere closed this as not planned Won't fix, can't repro, duplicate, stale Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 idea New ideas
Projects
None yet
Development

No branches or pull requests

2 participants