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

Icons allow you to add custom svgs #51

Open
2 tasks done
nicoarellano opened this issue Sep 20, 2024 · 0 comments
Open
2 tasks done

Icons allow you to add custom svgs #51

nicoarellano opened this issue Sep 20, 2024 · 0 comments

Comments

@nicoarellano
Copy link

Description 📝

Iconify is great and it has lots of useful icons. But what if I want a button with my company logo or I want to create a button for IDS, IFC and BCF that contain the official builsingSmart logos?
Would it be possible to allow some how the integration of svg files to personalize icons?

Thanks!

Suggested solution 💡

create an svg file somewhere in the repo, instead of using (icon= 'gg:add' ) there is a property called svg ( svg= './assets/images/my-logo.svg' )

Alternative ⛕

Creating a children inside the button that contains the symbol
https://nucleoapp.com/blog/post/guide-to-importing-svg-icons-in-html

that solution requiers a lot of code, I wonder if we can have it as part of the components

Additional context ☝️

For example, my toolbar could have something like this:

image

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.
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

No branches or pull requests

1 participant