@fortawesome/free-solid-svg-icons APIs
- faTimes
- faCheck
- faTrash
- faCog
- faInfoCircle
- faPlus
- faSearch
- faSpinner
- faArrowLeft
- faCopy
- faChevronDown
- faExclamationTriangle
- faUser
- faEdit
- faBars
- faHome
- faCheckCircle
- faExclamationCircle
- faQuestionCircle
- faPlay
- faTrashAlt
- faArrowRight
- faChevronRight
- faChevronUp
- fas
- faEye
- faSignOutAlt
- faLink
- faPen
- faSync
- faEyeSlash
- faStar
- faChevronLeft
- faLock
- faDownload
- faCaretDown
- faClock
- IconDefinition
- faEllipsisV
- faHeart
- faCode
- faAngleDown
- faTimesCircle
- faGlobe
- faFilter
- faSave
- faBell
- faList
- faSortDown
- faSortUp
- faUsers
- faArrowDown
- faArrowUp
- faPause
- faUndo
- faMoon
- faWindowMaximize
- faSyncAlt
- faExternalLinkAlt
- faAngleUp
- faAngleLeft
- faUpload
- faClipboard
- faBook
- faComments
- faSquare
- faCheckDouble
- faPlusCircle
- faComment
- faRandom
- faStop
- faFolderPlus
- faCamera
- faBan
- faEnvelope
- faGavel
- faPalette
- faPlane
- faTasks
- faPencilAlt
- faExchangeAlt
- faMapMarkerAlt
- faAngleRight
- faSun
- faMicrophone
- faMicrophoneSlash
- faVideo
- faVideoSlash
- faFile
- faLanguage
- faCogs
- faUserEdit
- faUserPlus
- faMinus
- faFolderOpen
- faCircleNotch
- faUserAlt
- faCodeBranch
- faCube
- faLaptopCode
- faMap
- faChartArea
- faHistory
- faShare
- faCloudDownloadAlt
- faFileUpload
- faCalendarAlt
- faLightbulb
- faPaperPlane
- faPaintBrush
- faExclamation
- faAnchor
- faBomb
- faMusic
- faCompress
- faExpand
- faRegistered
- faWifi
- faDrawPolygon
- faPhone
- faCommentDots
- faVolumeUp
- faCaretUp
- faBug
- faUserCircle
- faWallet
- faFileContract
- faTag
- faSearchPlus
- faSort
- faKey
- faVolumeMute
- faPowerOff
- faBolt
- faRedoAlt
- faSortAmountDown
- faCloudUploadAlt
- faShapes
- faSortAmountUp
- faTools
- faFileCode
- faRedo
- faAlignLeft
- faUserFriends
- faBookOpen
- faChartBar
- faFileExport
- faFileImport
- faSadCry
- faRocket
- faLinkSlash
- faTh
- faLongArrowAltRight
- faTags
- faDog
- faTv
- faCartPlus
- faMicrochip
- faNetworkWired
- faCommentSlash
- faAddressBook
- faCalendar
- faToggleOff
- faToggleOn
- faUserClock
- faHourglass
- faQuestion
- faStamp
- faAddressCard
- faPoo
- faAppleAlt
- faBible
- faBone
- faCar
- faCat
- faChess
- faSkull
- faFeatherAlt
- faFire
- faWindowMinimize
- faReplyAll
- faSignInAlt
- faBold
- faItalic
- faUnderline
- faHeading
- faQuoteRight
- faListOl
- faListUl
- faLevelDownAlt
- faLevelUpAlt
- faUndoAlt
- faPlug
- faBullhorn
- faPlaneDeparture
- faSimCard
- faBrush
- faAngleDoubleDown
- faCoins
- faCompressArrowsAlt
- faDiceD6
- faNewspaper
- faMinimize
- faUpRightFromSquare
- faCubes
- faRetweet
- faHandPeace
- faSpaceShuttle
- faXmark
- faFileAudio
- faStopwatch
- faDragon
- faSortNumericDown
- faSortNumericDownAlt
- faArrowUpRightFromSquare
- faArrowDown19
- faArrowDown91
- faHashtag
- faRepeat
- faLaptop
- faCloud
- faPiggyBank
- faRunning
- faBiking
- faBicycle
- faShareAlt
- faRuler
- faVial
- faUserTimes
- faUserMinus
- faCalendarDay
- faStepBackward
- faStepForward
- faDotCircle
- faUserLock
- faUserCog
- faTrophy
- faShareSquare
- faHandPointRight
- faChartLine
- faUserShield
- faCheckSquare
- faSortAmountDownAlt
- faIdCard
- faUserSlash
- faCalculator
- faEllipsisH
- faRulerCombined
- faSoap
- faMousePointer
- faHandRock
- faDroplet
- faThumbtack
- faReply
- faLayerGroup
- faMask
- faWindowRestore
- faThLarge
- faDesktop
- faInfo
- faHandsHelping
- faKeyboard
- faChartPie
- faColumns
- faTable
- faTachometerAlt
- faClipboardList
- faHammer
- faLockOpen
- faCity
- faChessRook
- faMountain
- faCampground
- faUniversity
- faCrosshairs
- faWrench
- faArrowCircleLeft
- faIdCardAlt
- faCreditCard
- faDollarSign
- faIdBadge
- faSlidersH
- faEuroSign
- faPoundSign
- faSearchDollar
- faPlayCircle
- faStream
- faFilm
- faSmile
- faPhoneAlt
- faArrowsAltV
- faUserAltSlash
- faLongArrowAltLeft
- faHdd
- faUnlink
- faInbox
- faMagic
- faImage
- faCalendarCheck
- faUserCheck
- faFolder
- faThermometerEmpty
- faCut
- faPaste
- faCircle
- faMobile
- faClipboardCheck
- faSortAlphaUp
- faSortAlphaDown
- faRss
- faPaw
Other Related APIs
- react#useState
- react#useEffect
- react#useContext
- react-router-dom#useParams
- react-i18next#useTranslation
- @fortawesome/free-solid-svg-icons#faArrowLeft
- @fortawesome/free-solid-svg-icons#faChevronDown
- @fortawesome/free-solid-svg-icons#faChartArea
- @fortawesome/free-solid-svg-icons#faBars
- @fortawesome/free-solid-svg-icons#faDownload
- @fortawesome/free-solid-svg-icons#faUndo
- @fortawesome/free-solid-svg-icons#faClock
- @fortawesome/free-solid-svg-icons#faAngleDown
- @fortawesome/free-solid-svg-icons#faAngleRight
- @fortawesome/free-solid-svg-icons#faFile
- @fortawesome/free-solid-svg-icons#faUserEdit
- @fortawesome/free-solid-svg-icons#faBookOpen
- @fortawesome/free-solid-svg-icons#faChartBar
- @fortawesome/free-solid-svg-icons#faChartPie
- @fortawesome/react-fontawesome#FontAwesomeIcon
- mobx-react#observer
@fortawesome/free-solid-svg-icons#faCogs TypeScript Examples
The following examples show how to use
@fortawesome/free-solid-svg-icons#faCogs.
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: RoomIdHeader.tsx From longwave with MIT License | 6 votes |
export function RoomIdHeader() {
const { t } = useTranslation();
const { roomId }: { [k: string]: any } = useParams();
return (
<CenteredRow
style={{
justifyContent: "flex-end",
alignItems: "center",
color: "gray",
}}
>
<div style={{ margin: 4, padding: 4 }}>
{t("roomidheader.roomid")} {roomId}
</div>
<Tippy content={<RoomMenu />} interactive placement="bottom-end">
<div tabIndex={0} style={{ padding: 8 }}>
<FontAwesomeIcon icon={faCogs} />
</div>
</Tippy>
</CenteredRow>
);
}
Example #2
Source File: icons.font-awesome-solid.ts From dayz-server-manager with MIT License | 5 votes |
fontAwesomeSolidIcons = { faAngleDown, faAngleRight, faArrowLeft, faBars, faBookOpen, faChartArea, faChartBar, faChartPie, faChevronDown, faChevronUp, faColumns, faSearch, faTable, faTachometerAlt, faUser, faExclamationTriangle, faSignOutAlt, faCalendarAlt, faCogs, faClipboardList, faHammer, faTools, faSync, faLock, faLockOpen, faTrash, faPlusCircle, faSpinner, faMap, faAnchor, faCity, faChessRook, faMountain, faCampground, faHome, faUniversity, faCrosshairs, faPlane, faWrench, }
Example #3
Source File: steps.tsx From videotranscode.space with Apache License 2.0 | 4 votes |
StepComponent = () => {
const [current, setCurrent] = useState(0)
const [statues, setStatues] = useState<Statuses>(defaultStatus)
const { processed, globalReset, CluiStore, FileStore } = ComponentStore
const { allFiles } = FileStore
const { isSubmitted } = CluiStore
const displayable = useActiveUsers()
useEffect(() => {
if (allFiles.length > 0) {
setStatues(cur => ({ ...cur, file: 'finish' }))
setCurrent(1)
}
}, [allFiles])
useEffect(() => {
if (globalReset) {
setStatues(defaultStatus)
setCurrent(0)
}
}, [globalReset])
useEffect(() => {
if (isSubmitted) {
setStatues(cur => ({ ...cur, settings: 'finish' }))
setCurrent(2)
}
}, [isSubmitted])
useEffect(() => {
if (processed) {
setStatues(cur => ({ ...cur, processing: 'finish', download: 'finish' }))
setCurrent(3)
}
}, [processed])
if (!displayable) {
return (
<div className="step-wrapper">
<Steps current={current}>
<Step
title="Add File"
icon={<FontAwesomeIcon icon={faFile} />}
status={statues.file}
onClick={() => {
ComponentStore.FileStore.openFileDrawer()
}}
className={isSubmitted ? 'cursor-not-allowed' : 'cursor-pointer'}
/>
<Step
title="Choose Settings"
icon={<FontAwesomeIcon icon={faCogs} />}
status={statues.settings}
onClick={() => {
if (keyboardStore.toggleModal) {
keyboardStore.toggleModal()
}
}}
className={isSubmitted ? 'cursor-not-allowed' : 'cursor-pointer'}
/>
<Step
title="Processing"
icon={<FontAwesomeIcon icon={faClock} />}
status={statues.processing}
className="cursor-not-allowed"
/>
<Step
title="Download"
icon={<FontAwesomeIcon icon={faDownload} />}
status={statues.download}
className="cursor-not-allowed"
/>
</Steps>
{/* @ts-ignore Styled JSX */}
<style jsx>
{`
.step-wrapper {
color: #3fbd71 !important;
padding-top: ${isSubmitted ? '15vh' : '2vh'};
width: 80vw;
}
`}
</style>
</div>
)
} else {
return null
}
}