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

Allow users to modify the default attributes #2884

Open
2 of 14 tasks
honeymaro opened this issue Mar 10, 2025 · 0 comments
Open
2 of 14 tasks

Allow users to modify the default attributes #2884

honeymaro opened this issue Mar 10, 2025 · 0 comments
Labels
💡 idea New ideas

Comments

@honeymaro
Copy link

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

Hi,
First of all, thank you for creating and maintaining this awesome library!

I’d like to request a feature that allows users to modify the default attributes. Currently, these attributes are fixed, and users who need customization have to manually override them for each icon instance. Providing a way to globally modify the default attributes would improve flexibility and ease of use.

Use cases

// Just an example
setDefaultAttributes({
  width: 16,
  height: 16,
  ...andMore,
})

This feature would be useful in scenarios where a project requires a consistent styling adjustment across all icons without modifying each instance separately.

Let me know if this is something that could be considered. I’d be happy to discuss or help contribute if needed!

Thanks again for your work! 🚀

Checklist

  • I have searched the existing issues to make sure this bug has not already been reported.
@honeymaro honeymaro added the 💡 idea New ideas label Mar 10, 2025
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

1 participant