@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
- gatsby#graphql
- @fortawesome/react-fontawesome#FontAwesomeIcon
- @fortawesome/free-solid-svg-icons#faEdit
- @fortawesome/free-solid-svg-icons#faExternalLinkAlt
- @fortawesome/free-solid-svg-icons#faMapMarkerAlt
- @fortawesome/free-solid-svg-icons#faUsers
- @fortawesome/free-solid-svg-icons#faHeart
- @fortawesome/free-solid-svg-icons#faBox
- @fortawesome/free-solid-svg-icons#faFileAlt
- @fortawesome/free-solid-svg-icons#faLocationArrow
- @fortawesome/free-solid-svg-icons#faHandHoldingUsd
- @fortawesome/free-solid-svg-icons#faSearchDollar
- @fortawesome/free-solid-svg-icons#faHandshake
- @fortawesome/free-solid-svg-icons#faMoneyCheck
- @fortawesome/free-brands-svg-icons#faFacebook
- @fortawesome/free-brands-svg-icons#faTwitter
- @fortawesome/free-brands-svg-icons#faLinkedin
@fortawesome/free-solid-svg-icons#faBuilding JavaScript Examples
The following examples show how to use
@fortawesome/free-solid-svg-icons#faBuilding.
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: organization.js From climatescape.org with MIT License | 6 votes |
function AttributesSection({ org, className }) {
const topCategories = org.categories.filter(cat => !cat.parent)
const subCategories = org.categories.filter(cat => cat.parent)
// Show all sub categories as well as top categories not represented
// by sub categories
const categoryList = topCategories
.filter(
category => !subCategories.map(cat => cat.parent.id).includes(category.id)
)
.concat(subCategories)
if (!categoryList.length && !hasMeta(org)) return null
return (
<SidebarSectionList title="In a snapshot" className={className}>
{categoryList.map(category => (
<SidebarSectionList.Item
key={category.name}
text={category.name}
to={category.slug}
icon={faBox}
/>
))}
{org.location && (
<SidebarSectionList.Item text={org.location} icon={faMapMarkerAlt} />
)}
{org.orgType && (
<SidebarSectionList.Item text={org.orgType} icon={faBuilding} />
)}
{org.headcount && (
<SidebarSectionList.Item
text={`${org.headcount} employees`}
icon={faUsers}
/>
)}
</SidebarSectionList>
)
}
Example #2
Source File: organization.js From goodhere with MIT License | 6 votes |
function AttributesSection({ org, className }) {
const topCategories = org.categories.filter(cat => !cat.parent)
const subCategories = org.categories.filter(cat => cat.parent)
// Show all sub categories as well as top categories not represented
// by sub categories
const categoryList = topCategories
.filter(
category => !subCategories.map(cat => cat.parent.id).includes(category.id)
)
.concat(subCategories)
if (!categoryList.length && !hasMeta(org)) return null
return (
<SidebarSectionList title="In a snapshot" className={className}>
{categoryList.map(category => (
<SidebarSectionList.Item
key={category.name}
text={category.name}
to={category.slug}
icon={faBox}
/>
))}
{org.location && (
<SidebarSectionList.Item text={org.location} icon={faMapMarkerAlt} />
)}
{org.orgType && (
<SidebarSectionList.Item text={org.orgType} icon={faBuilding} />
)}
{org.headcount && (
<SidebarSectionList.Item
text={`${org.headcount} employees`}
icon={faUsers}
/>
)}
</SidebarSectionList>
)
}
Example #3
Source File: OrganizationAttributes.js From climatescape.org with MIT License | 5 votes |
OrganizationOrgType = ({ text, ...props }) => (
<Tag {...props}>
<FontAwesomeIcon icon={faBuilding} className="mr-2" />
{text}
</Tag>
)