Skip to content

Icons allow you to add custom svgs #51

@nicoarellano

Description

@nicoarellano

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions