@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-router-dom#useLocation
- react-router-dom#Link
- react-router-dom#Outlet
- react-router-dom#useNavigate
- react-redux#useDispatch
- react-redux#useSelector
- @material-ui/core#Tooltip
- @material-ui/core#Container
- @material-ui/core#Grid
- @fortawesome/free-solid-svg-icons#faCompress
- @fortawesome/free-solid-svg-icons#faExpand
- @fortawesome/free-solid-svg-icons#faGlobe
- @fortawesome/free-solid-svg-icons#faSlidersH
- @fortawesome/free-solid-svg-icons#faTh
- @fortawesome/free-solid-svg-icons#faArrowsAltV
- @fortawesome/free-solid-svg-icons#faUserAltSlash
- @fortawesome/react-fontawesome#FontAwesomeIcon
- @emotion/core#css
- @emotion/core#keyframes
- @emotion/core#SerializedStyles
- mobx-react-lite#observer
@fortawesome/free-solid-svg-icons#faUserAlt TypeScript Examples
The following examples show how to use
@fortawesome/free-solid-svg-icons#faUserAlt.
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: BoardList.tsx From knboard with MIT License | 6 votes |
Card = ({ cardCss, to, isOwner, children }: CardProps) => {
const [hover, setHover] = React.useState(false);
return (
<Grid
item
xs={6}
sm={4}
key="new-board"
css={css`
position: relative;
${hover && animationStyles}
`}
>
{isOwner && (
<Tooltip title="Owner of this board" placement="top" arrow>
<OwnerBadge>
<FontAwesomeIcon icon={faUserAlt} />
</OwnerBadge>
</Tooltip>
)}
<Link
css={cardCss}
to={to}
onMouseEnter={() => setHover(true)}
onMouseLeave={() => setHover(false)}
>
{hover && <Fade data-testid="fade" />}
{children}
</Link>
</Grid>
);
}
Example #2
Source File: SettingsView.tsx From mysterium-vpn-desktop with MIT License | 5 votes |
SettingsView: React.FC = observer(function SettingsView() {
const navigate = useNavigate()
const location = useLocation()
const isFilterTabActive = location.pathname == locations.settingsFilters
const isConnectionTabActive = location.pathname == locations.settingsConnection
const isMysteriumIdTabActive = location.pathname == locations.settingsMysteriumId
return (
<ViewContainer>
<ViewNavBar />
<ViewSplit>
<ViewSidebar>
<SideTop>
<IconSettings color={brandLight} />
<Title>Settings</Title>
</SideTop>
<SideBot>
<NavButton active={isFilterTabActive} onClick={() => navigate(locations.settingsFilters)}>
<FontAwesomeIcon icon={faSlidersH} />
Default filters
</NavButton>
<NavButton
active={isConnectionTabActive}
onClick={() => navigate(locations.settingsConnection)}
>
<FontAwesomeIcon icon={faGlobe} />
Connection
</NavButton>
<NavButton
active={isMysteriumIdTabActive}
onClick={() => navigate(locations.settingsMysteriumId)}
>
<FontAwesomeIcon icon={faUserAlt} />
Mysterium ID
</NavButton>
<Version />
</SideBot>
</ViewSidebar>
<Content>
<Outlet />
</Content>
</ViewSplit>
</ViewContainer>
)
})
Example #3
Source File: WebRtcVideoOverlayMenu.tsx From sync-party with GNU General Public License v3.0 | 5 votes |
export default function WebRtcVideoOverlayMenu({
isActive,
displayVertically,
setDisplayVertically,
displayOwnVideo,
setDisplayOwnVideo,
otherVideosAmount
}: Props): ReactElement {
const { t } = useTranslation();
const dispatch = useDispatch();
const webRtcState = useSelector(
(state: RootAppState) => state.globalState.webRtc
);
const uiVisible = useSelector(
(state: RootAppState) => state.globalState.uiVisible
);
return (
<div
className={
'absolute top-0 left-0 flex flex-row rounded p-1 bg-black opacity-75' +
(uiVisible && (isActive || webRtcState.isFullscreen)
? ''
: ' hidden') +
(webRtcState.isFullscreen ? ' ml-1 mt-8' : ' m-1')
}
style={{ zIndex: 1000 }}
>
<BarButton
size="small"
isActive={displayOwnVideo}
clickHandler={(): void => setDisplayOwnVideo(!displayOwnVideo)}
icon={displayOwnVideo ? faUserAlt : faUserAltSlash}
titleText={t(
displayOwnVideo
? 'webRtc.toggleUserVideoOff'
: 'webRtc.toggleUserVideoOn'
)}
margins="mt-0 mr-2"
/>
<BarButton
size="small"
isActive={webRtcState.isFullscreen || false}
clickHandler={(): void => {
dispatch(
setGlobalState({
webRtc: {
...webRtcState,
isFullscreen: !webRtcState.isFullscreen
}
})
);
}}
icon={webRtcState.isFullscreen ? faCompress : faExpand}
titleText={t('webRtc.fullscreen')}
margins={'mt-0' + (otherVideosAmount > 1 ? ' mr-2' : '')}
/>
{otherVideosAmount > 1 && (
<BarButton
size="small"
isActive={displayVertically}
clickHandler={(): void =>
setDisplayVertically(!displayVertically)
}
icon={faArrowsAltV}
titleText={t(
displayVertically
? 'webRtc.displayHorizontally'
: 'webRtc.displayVertically'
)}
margins={'mt-0'}
/>
)}
</div>
);
}