Feature request: Allow Custom Icon Layers to be Named and Added to the Library. #20770
Replies: 3 comments 2 replies
-
|
Doing a little management in Github and (batch) closing out potentially stale issues. If the above still needs attention, please let us know and we’ll re-open! |
Beta Was this translation helpful? Give feedback.
-
|
Has it only been closed because the FontAwesome team did not reply to this until now? If that's the case, that's a very poor explanation. |
Beta Was this translation helpful? Give feedback.
-
|
@shaedrich As the note above mentions, we’ve been doing some batch cleanup of older issues. Our GitHub repo has gotten pretty unwieldy with the number of open threads, and we’re trying to bring things back to a manageable level (including possibly moving icon requests elsewhere). Right now it’s hard to see the trees for the forest. Since this request still has interest, I’m happy to re-open it. Apologies for any frustration this may hav caused. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Layers are very powerful yet not easily reusable.
When configuring the Fontawesome 5 library you must import and add the icons you wish to use; why not also have the ability to define custom icon layers that you would be able to name, add and use in the app like any other normal icon.
With this enhancement we should be able to write something like this:
And be able to get the saved layer like this:
or in the HTML with:
Saved layers should behave exactly like their native counterparts.
Concider this example, using the vueJS binding. The developer here has mapped an array of actions to specific icon names and prefixes and is using a for loop binding to render their actions:
It would be difficult for this developer to use a icon layer for one of those actions if their designer required it. How would you suggest solving this problem the way the framework is currently written?
By allowing Layers to be registered as "custom icons" that work like any other icon you would allow developers to use the same strategy to display icons and layers when necessary.
Please consider doing this sooner rather than later.
Beta Was this translation helpful? Give feedback.
All reactions