@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
- @angular/core#NgModule
- @angular/forms#FormsModule
- @angular/forms#ReactiveFormsModule
- @angular/common#CommonModule
- @angular/material/button#MatButtonModule
- @angular/material/icon#MatIconModule
- @fortawesome/free-solid-svg-icons#faCode
- @fortawesome/free-solid-svg-icons#faPen
- @angular/material/input#MatInputModule
- @fortawesome/react-fontawesome#FontAwesomeIcon
- @angular/material/card#MatCardModule
- @angular/material/select#MatSelectModule
- @angular/material/tooltip#MatTooltipModule
- @angular/material/checkbox#MatCheckboxModule
- @angular/material/progress-spinner#MatProgressSpinnerModule
- @angular/material/menu#MatMenuModule
- @angular/material/list#MatListModule
- @angular/material/tabs#MatTabsModule
- @ngx-translate/core#TranslateModule
- @angular/material/chips#MatChipsModule
@fortawesome/free-solid-svg-icons#faLightbulb TypeScript Examples
The following examples show how to use
@fortawesome/free-solid-svg-icons#faLightbulb.
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: 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 #2
Source File: NoSubmissionsYet.tsx From frontend.ro with MIT License | 4 votes |
function NoSubmissionsYet() {
const [help, setHelp] = useState<'code' | 'lessons' | 'exercises'>(null);
return (
<PageContainer className={styles['no-submissions-yet']}>
<h1> Vreau să ajut</h1>
<h2>
Ne bucuram ca-ti place ideea si ca vrei sa te implici. Uite cele 3 moduri prin care o poti
face acum:
</h2>
<div className={`${styles['help-wrapper']} d-flex justify-content-between align-items-center`}>
<Button
onClick={() => setHelp('code')}
className={`${help === 'code' ? 'btn--blue ' : 'btn--transparent '} btn align-items-center`}
>
<FontAwesomeIcon height="24" width="32" className="mr-2" icon={faCode} />
Vreau să codez
la platformă
</Button>
<Button
onClick={() => setHelp('lessons')}
className={`${help === 'lessons' ? 'btn--blue ' : 'btn--transparent '}btn align-items-center`}
>
<FontAwesomeIcon height="24" width="32" className="mr-2" icon={faPen} />
Vreau să scriu lecții
</Button>
<Link href="/exercitii/creeaza">
<a className={`${help === 'exercises' ? 'btn--blue ' : 'btn--transparent '}btn align-items-center`}>
<FontAwesomeIcon height="24" width="32" className="mr-2" icon={faLightbulb} />
Vreau să creez exerciții
</a>
</Link>
</div>
{help && (
<div className={styles['help-explanation']}>
{help === 'code' && (
<>
<h3> Codează la platformă </h3>
<p>
Tot codul este
{' '}
<a href={GITHUB_URL} target="_blank" rel="noreferrer">open-source pe GitHub</a>
,
deci cel mai ușor mod de a începe este pornind de la secțiunea
{' '}
<a href={`${GITHUB_URL}/issues`} target="_blank" rel="noreferrer">issues</a>
.
</p>
<p>
Dacă nu avem
{' '}
<em>pending-issues</em>
{' '}
sau dacă ai vreo idee de funcționalitate
mai mare, dă-ne un semn și hai s-o facem realitate! ?
</p>
</>
)}
{help === 'lessons' && (
<>
<h3> Scrie lecții </h3>
<p>
Aruncă un ochi
{' '}
<Link href="/lectii">
<a>
aici
</a>
</Link>
{' '}
pentru a vedea toate lecțiile scrise deja, cât și cele pe care
ne dorim să le scriem dar n-am apucat încă.
</p>
<p>
Dar nu trebuie să te rezumi doar la ce e acolo. Dacă ai idei de subiecte pe care noi
nu le-am menționat, cu atât mai bine. Dă-ne un semn și să trecem la treabă! ?
</p>
</>
)}
{help === 'exercises' && (
<>
<h3> Creează exerciții </h3>
<p>
La finalul fiecărei lecții găsești o serie de exerciții specifice pentru
acel capitol. Dacă ai idei de exerciții mai interesante/utile,
așteptăm submisii noi împreună cu soluțiile lor.
</p>
</>
)}
</div>
)}
</PageContainer>
);
}