@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#Fragment
- react#ChangeEvent
- react#useRef
- react#FunctionComponent
- react-router-dom#useHistory
- @angular/core#NgModule
- @angular/forms#FormsModule
- @angular/forms#ReactiveFormsModule
- @angular/common#CommonModule
- react-i18next#useTranslation
- @angular/material/button#MatButtonModule
- @fortawesome/free-solid-svg-icons#faTrashAlt
- @fortawesome/free-solid-svg-icons#faAlignLeft
- @angular/material/input#MatInputModule
- @fortawesome/react-fontawesome#FontAwesomeIcon
- @angular/material/select#MatSelectModule
- @angular/material/progress-spinner#MatProgressSpinnerModule
- @angular/material/menu#MatMenuModule
- @angular/material/tabs#MatTabsModule
- @ngx-translate/core#TranslateModule
- mobx-react-lite#observer
@fortawesome/free-solid-svg-icons#faLanguage TypeScript Examples
The following examples show how to use
@fortawesome/free-solid-svg-icons#faLanguage.
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: LandingPage.tsx From longwave with MIT License | 6 votes |
function LanguageMenu() {
return (
<Tooltip
interactive
position="bottom"
sticky
tabIndex={0}
html={<Languages />}
>
<FontAwesomeIcon size="lg" icon={faLanguage} />
</Tooltip>
);
}
Example #2
Source File: shared.module.ts From enterprise-ng-2020-workshop with MIT License | 6 votes |
constructor(faIconLibrary: FaIconLibrary) {
faIconLibrary.addIcons(
faGithub,
faMediumM,
faPlus,
faEdit,
faTrash,
faTimes,
faCaretUp,
faCaretDown,
faExclamationTriangle,
faFilter,
faTasks,
faCheck,
faSquare,
faLanguage,
faPaintBrush,
faLightbulb,
faWindowMaximize,
faStream,
faBook
);
}
Example #3
Source File: TextParam.tsx From ble with Apache License 2.0 | 4 votes |
ParamsBox: FunctionComponent<Props> = ({ params }) => {
const selectRef = useRef(null);
const { undoManager } = useStore();
const onChangeText = (ev: ChangeEvent<HTMLTextAreaElement>, code: string): void => {
params.setCopy(code, ev.target.value);
};
function onTextFocus(): void {
undoManager.startGroup();
}
function onTextBlur(): void {
undoManager.stopGroup();
}
const onAddLanguage = (): void => {
if (selectRef.current === null) return;
// why is typescript being dumb?
// @ts-expect-error
params.setCopy(selectRef.current.value, '');
};
const onRemoveLanguage = (code: string): void => {
if (selectRef.current === null) return;
params.removeLang(code);
};
const unusedLanguages = Object.entries(params.copy)
.filter(([, copy]) => copy === undefined)
.map(([code]) => code);
const onChangeAlign = (ev: ChangeEvent<HTMLSelectElement>): void => {
params.setAlign(ev.target.value as Align);
};
return (
<Fragment>
<LanguageList>
{Object.entries(params.copy)
.filter(([, copy]) => copy !== undefined)
.map(([code, copy]) => (
<LanguageRow key={code}>
<div>
<LangLabel htmlFor={`text-param-${code}`}>{languages.getNativeName(code)}:</LangLabel>
{code !== 'en' && (
<DangerButton
onClick={(): void => onRemoveLanguage(code)}
title="Remove language"
>
<FontAwesomeIcon icon={faTrashAlt}/>
</DangerButton>
)}
</div>
<textarea
id={`text-param-${code}`}
rows={3}
cols={40}
wrap="off"
value={copy}
onChange={(ev): void => onChangeText(ev, code)}
onFocus={onTextFocus}
onBlur={onTextBlur}
minLength={1}
/>
</LanguageRow>
))}
</LanguageList>
<div>
<select ref={selectRef} defaultValue="es">
{unusedLanguages.map((code) => (
<option key={code} value={code}>{languages.getNativeName(code)}</option>
))}
</select>
<button onClick={onAddLanguage}>
<FontAwesomeIcon icon={faLanguage}/>
 
Add language
</button>
</div>
<label>
<FontAwesomeIcon icon={faAlignLeft}/>
 
align:
 
<select value={params.align} onChange={onChangeAlign}>
{Object.values(Align).map((align) => (
<option key={align} value={align}>{align}</option>
))}
</select>
</label>
</Fragment>
);
}