Skip to content

[feature request] Icon component - allow custom urls for icons #91

@code-K

Description

@code-K

Hi guys,

could you please enhance the icon component to allow custom urls instead of forcing the feather icons lib!?

I would possibly see here some logic like given “icon” name isn’t found in the feathericons lib, then try to load as given url? So in the resource-options itself i could then just give a src-url instead of the icon name like in the following screenshot commented..?

Bildschirmfoto 2023-05-30 um 15 23 44

@dziraf mentioned the following in the adminJS "help" channel within slack:

Something like:
icon: string | { imgSrc: string }
could probably work. Can you create a Github issue for this request?

https://adminbro.slack.com/archives/C011WETJSCB/p1685614592159569?thread_ts=1685453058.620609&cid=C011WETJSCB

Thanks much!

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