@fortawesome/free-solid-svg-icons APIs
- faTimes
- faSearch
- faPlus
- faBars
- faCheck
- faEnvelope
- fas
- faTrash
- faArrowLeft
- faEdit
- faChevronDown
- faCheckCircle
- faHeart
- faExternalLinkAlt
- faHome
- faSpinner
- faArrowRight
- faEye
- faSignOutAlt
- faUsers
- faTrashAlt
- faTimesCircle
- faMapMarkerAlt
- faUser
- faChevronRight
- faAngleRight
- faCopy
- faExclamationTriangle
- faDownload
- faCog
- faAngleDown
- faUpload
- faLink
- faShoppingCart
- faCogs
- faInfoCircle
- faQuestionCircle
- faMoon
- faStar
- faGlobe
- faUserPlus
- faAngleUp
- faArrowDown
- faPhone
- faPlay
- faPencilAlt
- faCode
- faCalendar
- faSyncAlt
- faArrowUp
- faAngleLeft
- faEllipsisV
- faEyeSlash
- faChevronLeft
- faFile
- faChevronUp
- faClock
- faSun
- faCalendarAlt
- faSync
- faPaperPlane
- faQuestion
- faDollarSign
- faSignInAlt
- faList
- faFilter
- faComment
- faLock
- faUserCircle
- faShoppingBag
- faBell
- faFileAlt
- faBullhorn
- faMinus
- faPaperclip
- faCaretDown
- faHandHoldingUsd
- faHandshake
- faThumbsUp
- faChartPie
- faCodeBranch
- faTh
- faFolder
- faLaptop
- faTag
- faBook
- faCircleNotch
- faWrench
- faHistory
- faBan
- faExclamationCircle
- faPen
- faPause
- faMinusCircle
- faAlignLeft
- faAngleDoubleLeft
- faAngleDoubleRight
- faCalendarDay
- faLaptopCode
- faFire
- faPalette
- faMailBulk
- faRedoAlt
- faSave
- faEraser
- faBriefcase
- faFolderOpen
- faCompass
- faLightbulb
- faBox
- faVideo
- faLocationArrow
- faChartBar
- faExchangeAlt
- faTable
- faTachometerAlt
- faImages
- faShare
- faShareAlt
- faPlusSquare
- faShareSquare
- faVolumeMute
- faVolumeUp
- faFolderPlus
- faImage
- faCalculator
- faDatabase
- faRandom
- faMapPin
- faMapMarker
- faTabletAlt
- faUserFriends
- faAward
- faCalendarCheck
- faCoffee
- faGreaterThan
- faArrowCircleRight
- faFlask
- faStarHalfAlt
- faCompressAlt
- faExpandAlt
- faSortUp
- faSortDown
- faEllipsisH
- faMobileAlt
- faCross
- faShoppingBasket
- faCommentDots
- faBuilding
- faSearchDollar
- faMoneyCheck
- faExclamation
- faCloudDownloadAlt
- faChartLine
- faBookmark
- faMap
- faInbox
- faUnlink
- faUndo
- faPlusCircle
- faPlug
- faTools
- faClipboard
- faThLarge
- faComments
- faRedo
- faAddressBook
- faArrowsAlt
- faMicrochip
- faCubes
- faIdBadge
- faChartArea
- faBolt
- faMedal
- faTrophy
- faUserEdit
- faChalkboardTeacher
- faGraduationCap
- faUserGraduate
- faPercent
- faHandPointer
- faUndoAlt
- faFillDrip
- faFileUpload
- faVirus
- faGlobeAmericas
- faCalendarWeek
- faCalendarTimes
- faPhoneAlt
- faFilePdf
- faClipboardList
- faEnvelopeSquare
- faLessThan
- faGripLinesVertical
- faStepBackward
- faStepForward
- faCamera
- faBellSlash
- faArrowCircleDown
- faHeadSideCough
- faIndustry
- faLongArrowAltRight
- faDrawPolygon
- faMicrophone
- faMicrophoneSlash
- faWindowMinimize
- faWindowMaximize
- faCircle
- faVideoSlash
- faFileDownload
- faCheckSquare
- faServer
- faEquals
- faCreditCard
- faCartPlus
- faSearchPlus
- faPlaneDeparture
- faLanguage
- faInfo
- faRss
- faSnowflake
- faFan
- faThumbsDown
- faStop
- faGamepad
- faArrowAltCircleLeft
- faArrowAltCircleRight
- faAtom
- faCaretSquareLeft
- faCaretSquareRight
- faUserSlash
- faMoneyBill
- faCloudMoon
- faCar
- faHandPaper
- faMoneyBillWaveAlt
- faBorderAll
- faHotel
- faHatCowboySide
- faDog
- faCat
- faShip
- faFrog
- faTrain
- faFaucet
- faArrowAltCircleUp
- faStream
- faArrowsAltV
- faExternalLinkSquareAlt
- faLockOpen
- faClipboardCheck
- faFileSignature
- faMagnet
- faPencilRuler
- faRulerCombined
- faMusic
- faCommentAlt
- faFilm
- faCut
- faChevronCircleDown
- faRssSquare
- faTree
- faPrint
- faStamp
- faEllipsis
- faRefresh
- faForward
- faAdjust
- faScroll
- faRobot
- faCaretRight
- faFileImport
- faSatelliteDish
- faSlidersH
- faHourglassHalf
- faAsterisk
- faBlog
- faSignal
- faRoad
- faSuperscript
- faTags
- faFlagUsa
- faGlobeEurope
- faDesktop
- faArrowCircleLeft
- faPoll
- faFileInvoice
- faMagic
- faAt
- faNetworkWired
- faBookReader
- faDonate
- faInfinity
- faUserNinja
OtherRelated APIs
- react#Component
- react-router-dom#NavLink
- @fortawesome/react-fontawesome#FontAwesomeIcon
- @fortawesome/free-solid-svg-icons#faCheckCircle
- @fortawesome/free-solid-svg-icons#faTrashAlt
- @fortawesome/free-solid-svg-icons#faBars
- @fortawesome/free-solid-svg-icons#faInfoCircle
- @fortawesome/free-solid-svg-icons#faHome
- @fortawesome/free-solid-svg-icons#faSpinner
- @fortawesome/free-solid-svg-icons#faBox
- @fortawesome/free-solid-svg-icons#faHeadSideCough
- @fortawesome/free-solid-svg-icons#faPaperPlane
- @fortawesome/free-solid-svg-icons#faMicrochip
- @fortawesome/free-brands-svg-icons#faTwitter
- @fortawesome/free-brands-svg-icons#faGithub
- @fortawesome/free-brands-svg-icons#faTelegram
- @fortawesome/free-brands-svg-icons#faWindows
- @fortawesome/free-brands-svg-icons#faLinux
- @fortawesome/free-brands-svg-icons#faReddit
- @material-ui/styles#withStyles
- @fortawesome/fontawesome-svg-core#library
@fortawesome/free-solid-svg-icons#faFlask JavaScript Examples
The following examples show how to use
@fortawesome/free-solid-svg-icons#faFlask.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Navbar.js From covid-19-tracker with MIT License | 5 votes |
render() {
const { classes } = this.props;
return (
<div className={classes.navbar}>
<div className={classes.logo}>
<img src={logo} alt="logo" />
</div>
<nav className={classes.nav}>
<FontAwesomeIcon
icon={faBars}
className={classes.hamburger}
onClick={this.handleToggle}
/>
<ul
className={classNames([classes.navItems], {
[classes.expand]: this.state.isExpanded,
})}
>
<li className={classes.navItem}>
<NavLink
exact
to="/"
className={classes.navLinks}
activeClassName={classes.active}
>
<div className={classes.iconBox}>
<FontAwesomeIcon icon={faHome} className={classes.icons} />
<p>Overview</p>
</div>
</NavLink>
</li>
<li className={classes.navItem}>
<NavLink
exact
to="/symptoms"
className={classes.navLinks}
activeClassName={classes.active}
>
<div className={classes.iconBox}>
<FontAwesomeIcon
icon={faHeadSideCough}
className={classes.icons}
/>
<p>Symptoms</p>
</div>
</NavLink>
</li>
<li className={classes.navItem}>
<NavLink
exact
to="/stay-safe"
className={classes.navLinks}
activeClassName={classes.active}
>
<div className={classes.iconBox}>
<FontAwesomeIcon icon={faFlask} className={classes.icons} />
<p>Prevention</p>
</div>
</NavLink>
</li>
<li className={classes.navItem}>
<NavLink
exact
to="/essentials"
className={classes.navLinks}
activeClassName={classes.active}
>
<div className={classes.iconBox}>
<FontAwesomeIcon icon={faBox} className={classes.icons} />
<p>Essentials</p>
</div>
</NavLink>
</li>
</ul>
</nav>
</div>
);
}
Example #2
Source File: fontawesome.js From xmrig-workers with GNU General Public License v3.0 | 5 votes |
export default function () {
library.add(faGithub, faWindows, faLinux, faTwitter, faReddit, faTelegram, faCheckCircle, faMicrochip, faTrashAlt,
faPaperPlane, faSpinner, faFlask, faInfoCircle, faPen, faTools, faCheck, faPlus, faCog, faExclamationTriangle,
faQuestionCircle, faSyncAlt, faInfinity, faDownload, faCopy, faPlug, faTimesCircle);
}