How to use the faCircle function from @fortawesome/free-solid-svg-icons

Find comprehensive JavaScript @fortawesome/free-solid-svg-icons.faCircle code examples handpicked from public code repositorys.

1
2
3
4
5
6
7
8
9
10
const {icon, layer} = require('@fortawesome/fontawesome-svg-core')

const soldIcon = require('@fortawesome/free-solid-svg-icons')
const faLightbulb = soldIcon.faLightbulb

const faCircle = soldIcon.faCircle
const faLightbulbCircleIcon = layer((push) => {
  push(icon(faCircle))
  push(icon(faLightbulb, { transform: { size: 8, x: -2 }, classes: 'fa-inverse' }))
})
fork icon4
star icon6
watch icon4

+ 13 other calls in file

108
109
110
111
112
113
114
115
116
117

```js
const fas = require('@fortawesome/free-solid-svg-icons');
const sprite = faSvgSprite.generate({
  plus: fas.faPlus,
  circle: fas.faCircle
});
```

You can also lookup icons from the [Icon Library]:
fork icon0
star icon8
watch icon2

+ 27 other calls in file

24
25
26
27
28
29
30
31
32
33
this.faUser = free_solid_svg_icons_1.faUser;
this.faGripLines = free_solid_svg_icons_1.faGripLinesVertical;
this.faChevronDown = free_solid_svg_icons_1.faChevronDown;
this.faChevronUp = free_solid_svg_icons_1.faChevronUp;
this.faSignOutAlt = free_solid_svg_icons_1.faSignOutAlt;
this.faCircle = free_solid_svg_icons_1.faCircle;
this.current_url = [];
this.faTh = free_solid_svg_icons_1.faTh;
this.selectedSection = "";
this.sideMenuOptions = [
fork icon1
star icon0
watch icon0

+ 18 other calls in file