@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#useEffect
- @fortawesome/react-fontawesome#FontAwesomeIcon
- @fortawesome/free-solid-svg-icons#faCheckCircle
- @fortawesome/free-solid-svg-icons#faPlus
- @fortawesome/free-solid-svg-icons#fas
- @fortawesome/free-solid-svg-icons#faTrashAlt
- @fortawesome/free-solid-svg-icons#faCheck
- @fortawesome/free-solid-svg-icons#faInfoCircle
- @fortawesome/free-solid-svg-icons#faPen
- @fortawesome/free-solid-svg-icons#faSpinner
- @fortawesome/free-solid-svg-icons#faFlask
- @fortawesome/free-solid-svg-icons#faPaperPlane
- @fortawesome/free-solid-svg-icons#faMicrochip
- @fortawesome/free-brands-svg-icons#faTwitter
- @fortawesome/free-brands-svg-icons#fab
- @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
- @fortawesome/fontawesome-svg-core#library
@fortawesome/free-solid-svg-icons#faTools JavaScript Examples
The following examples show how to use
@fortawesome/free-solid-svg-icons#faTools.
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: 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);
}
Example #2
Source File: RepoLeftPaneComponent.js From gitconvex with Apache License 2.0 | 4 votes |
![]() ![]() |
export default function RepoLeftPaneComponent(props) {
library.add(fab, fas);
let {
gitRemoteHost,
gitRemoteData,
isMultiRemote,
multiRemoteCount,
showCommitLogsView,
actionTrigger,
} = props;
useEffect(() => {}, [props]);
const getRemoteLogo = () => {
let remoteLogo = "";
if (gitRemoteHost.match(/github/i)) {
remoteLogo = (
<FontAwesomeIcon
icon={["fab", "github"]}
className="text-4xl text-center text-pink-500"
></FontAwesomeIcon>
);
} else if (gitRemoteHost.match(/gitlab/i)) {
remoteLogo = (
<FontAwesomeIcon
icon={["fab", "gitlab"]}
className="text-4xl text-center text-pink-400"
></FontAwesomeIcon>
);
} else if (gitRemoteHost.match(/bitbucket/i)) {
remoteLogo = (
<FontAwesomeIcon
icon={["fab", "bitbucket"]}
className="text-4xl text-center text-pink-400"
></FontAwesomeIcon>
);
} else if (gitRemoteHost.match(/codecommit/i)) {
remoteLogo = (
<FontAwesomeIcon
icon={["fab", "aws"]}
className="text-4xl text-center text-pink-400"
></FontAwesomeIcon>
);
} else {
remoteLogo = (
<FontAwesomeIcon
icon={["fab", "git-square"]}
className="text-4xl text-center text-pink-400"
></FontAwesomeIcon>
);
}
return remoteLogo;
};
const remoteUrl = () => {
let remoteData = "";
if (gitRemoteData) {
if (gitRemoteData.match(/(^https)/gi)) {
remoteData = (
<a href={gitRemoteData} target="_blank" rel="noopener noreferrer">
{gitRemoteData}
</a>
);
} else {
remoteData = <>{gitRemoteData}</>;
}
} else {
remoteData = " ";
}
return remoteData;
};
return (
<>
{props.received ? (
<div className="border-gray-300 rounded-md border-dotted border-2 block my-6 mx-auto p-1 shadow-sm w-11/12 xl:w-1/2 lg:w-3/4 md:w-11/12 sm:w-11/12">
<div className="block mx-auto my-6">
<div className="flex items-center justify-evenly">
<div className="text-lg text-gray-600 w-1/4">Remote Host</div>
<div className="flex justify-around items-center align-middle w-1/2">
<div className="w-3/4 shadow rounded-md border-dashed border cursor-pointer flex items-center justify-center my-auto p-4 align-middle">
{gitRemoteHost ? (
<div className="mx-2">{getRemoteLogo()}</div>
) : null}
<div
className={`${
gitRemoteHost !== "No Remote Host Available"
? "text-xl border-gray-300 border-dashed border-b text-center text-gray-800 w-3/4"
: "text-base font-sans font-light text-gray-600 text-center"
}`}
>
{gitRemoteHost}
</div>
</div>
<div className="w-1/4">
<div
id="addRemote"
className="rounded-full cursor-pointer items-center h-10 text-2xl mx-auto shadow text-center text-white align-middle w-10 bg-indigo-400 hover:bg-indigo-500"
onMouseEnter={(event) => {
let popUp = document.createElement("div");
popUp.className =
"text-gray-600 bg-white border-gray-300 p-2 rounded w-40 text-center border text-sm mt-2 mb-2 -ml-10 absolute";
popUp.innerHTML = `Click here to configure remote repo`;
event.currentTarget.insertAdjacentElement(
"afterend",
popUp
);
}}
onMouseLeave={(event) => {
if (event.currentTarget.parentNode.children[1]) {
event.currentTarget.parentNode.children[1].remove();
}
}}
onClick={() => {
actionTrigger(actionType.ADD_REMOTE_REPO);
}}
>
<FontAwesomeIcon
icon={faTools}
className="text-xl text-center text-white"
></FontAwesomeIcon>
</div>
</div>
</div>
</div>
<div className="remote flex justify-evenly my-4">
<div className="text-lg text-gray-600 w-1/4">
{`${gitRemoteHost} URL`}
</div>
<div className="cursor-pointer text-blue-400 break-words w-1/2 hover:text-blue-500">
{remoteUrl()}
</div>
</div>
{isMultiRemote ? (
<div className=" flex justify-evenly my-2">
<div className="font-sans text-gray-800 font-semibold w-1/4 border-dotted border-b-2 border-gray-200">
Entry truncated!
</div>
<div className="w-1/2 border-dotted border-b-2 border-gray-200">
{`Remote repos : ${multiRemoteCount}`}
</div>
</div>
) : null}
</div>
<div className="block my-6 mx-auto">
<div
className="p-3 text-gray-600 text-center w-3/4 mx-auto rounded-md shadow-md bg-yellow-200 text-whtie font-sans font-semibold text-xl hover:bg-yellow-100 hover:shadow-sm cursor-pointer transition"
onClick={(event) => {
showCommitLogsView();
}}
>
SHOW COMMIT LOGS
</div>
</div>
</div>
) : null}
</>
);
}