Questions tagged [font-awesome]
Font Awesome is an iconic standalone vector font, initially developed for use with the Twitter Bootstrap front-end framework.
font-awesome
5,636
questions
0
votes
2
answers
47
views
Fontawesome svg-icons in openlayers
I know similar questions have been asked before but their answers don't help me.
I'm trying to use Fontawesome-Icons as markers in an Openlayers map like this:
const svg = `
<svg ...
-1
votes
0
answers
15
views
Font Awesome Icons Showing as Squares After Optimization
I wrote a scripts to detect all the fontawesome icons I use in my project.
It detected these icons.
➜ python3 find_fa.py
Font Awesome classes used in your project:
fa-angle-double-right
fa-baby
fa-...
-1
votes
2
answers
49
views
How can I get horizontal lines to appear surrounding Font Awesome icon? [duplicate]
Problem
I'm trying to create a portfolio website and I want to place a Font Awesome icon between two horizontal lines (as detailed below), but it's not working. I've looked around Stack Overflow and ...
1
vote
1
answer
52
views
How can we use SVG icons with Prime?
We need to use FontAwesome Pro SVG's (and other SVG icons). However, some of the UI elements are constructed in the code, rather than the template. Our developers tell me that it isn't possible to use ...
0
votes
1
answer
41
views
How do I create a transition between 2 different font awesome icons?
I have this button in HTML:
<button id="sidebar-toggle-button" class="btn btn-primary header-btn" type="button" data-bs-toggle="offcanvas"
data-bs-...
0
votes
0
answers
32
views
Content Security Policy errors when using Font Awesome icons and use-client
I am using the Font Awesome SVG pack via npm within a NextJS application using the App router.
I have added a middleware to generate a nonce value as detailed in the Next docs.
The cspHeader itself ...
0
votes
0
answers
76
views
Use custom fonts Rails 7 with jsbundling (esbuild)
How to properly use custom fonts in Rails 7 with jsbundling? I'm trying to use Fontawesome-Free and Font Lora, but I'm getting a loader error.
13:46:30 web.1 | ActionController::RoutingError (No ...
1
vote
0
answers
32
views
Angular 16 using FontAwesome icons in TinyMCE v7
I've been through a lot of TinyMCE documentation, previous questions and various other online resources but I just can't figure out how to get FontAwesome icons to show in a TinyMCE editor without ...
0
votes
1
answer
66
views
NextJS React production ready with fontawesome icons
How should I decreate the size of the bundles? We added fortawesome/fontawesome, but only some icons are used, about 20. Is it true that the bundle contains all the icons from the fontawesome icon ...
1
vote
2
answers
36
views
FontAwesome size attribute does not change the size
I have the following code in my layout:
// Fontawesome
import { config, library } from '@fortawesome/fontawesome-svg-core';
import { fas } from '@fortawesome/free-solid-svg-icons'
import { far } from '...
0
votes
1
answer
66
views
Icon inside dash dbc.Button not displaying
I am writing a dash form to obtain the password from a user. I want to have an icon that allows the user to view their input in plain text rather than hidden. To do this I have created an InputGroup ...
1
vote
1
answer
37
views
Borders of jscolor button not working after first click
When I click the green portion of this button, only the first click works. Every subsequent click after that doesn't work. I'll show you the hitbox below. (blue portion always works)
My js code ...
1
vote
1
answer
50
views
Change icon, color and marker color based on data in leaflet
I'd like to plot some data on a map wherein the icon shape, iconColor and markerColor are all based on the data itself.
Sample Code
library(data.table)
library(leaflet)
library(webshot2)
library(...
1
vote
1
answer
137
views
Using FontAwesome 6 with Angular 18, "Can't bind to 'spin' since it isn't a known property of 'fa-icon'"
FINAL EDIT: https://github.com/FortAwesome/angular-fontawesome/blob/main/docs/upgrading/0.14.0-0.15.0.md
Not a bug, it was deprecated.
EDIT - It appears (to me) to be a bug. The version of FA on the ...
0
votes
1
answer
22
views
font-awesome load event listener
I'm trying to create a onload event listener for a Font Awsome icon
<nav class="key-icon">
<i class="fa-solid fa-key fa-lg"></i>
</nav>
document....