FortAwesome / Font-Awesome

The iconic SVG, font, and CSS toolkit
https://fontawesome.com
Other
73.67k stars 12.19k forks source link

Icon-request: no-pets / no-dogs allowed #16545

Closed mForcella closed 3 months ago

mForcella commented 4 years ago

What can it be used for? Describe how this could be used / the use case for this icon. For displaying rules for a apartment/park/vehicle, etc

Example image (optional) Insert the example image here if necessary. Any of your current dog/pet icons with a slash through it. Something similar to fa-paw might be nice

Icon request checklist

tagliala commented 4 years ago

Hi!

Thanks for being part of the Font Awesome Community.

This request is a duplicate of #15087, please add a 👍 reaction to that request. You will also find an approach to implement this icon with the SVG framework

You may also be interested in taking a look at our Icon Leaderboard FAQs, they contain a lot of information about how requests work

I can leave this open as pets-ban

mForcella commented 4 years ago

Thanks! The SVG framework looks like it will accomplish what I want. However, I'm on Laravel and can't seem to find clear documentation on the packages I need to install. I have font-awesome-free and fontawesome-svg-core packages installed, but the SVG components don't seem to be functioning. Are there additional packages I need?

tagliala commented 4 years ago

You're welcome!

I have font-awesome-free and fontawesome-svg-core packages installed, but the SVG components don't seem to be functioning.

You don't need both packages.

I'm not a JavaScript developer, please forgive me if I do not use the proper terminology.

@fortawesome/font-awesome-free is an all-in-one package, with both css and svg framework JavaScript distributable files. In order to use the aforementioned features, you need the DVG JavaScript framework.

@fortawesome/fontawesome-svg-core is part of the dedicated node packages for the SVG framework, and it is not a standalone package. It is supposed to be used with font awesome icon packages like @fortawesome/free-solid-svg-icons. You (probably) need an asset bundler, like webpack or rollup, and this apyou will be able to take advantage of tree-shaking feature and it is intended for advanced usage

Docs: