@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-redux#Provider
- date-fns#parseISO
- date-fns#formatDistanceToNow
- @fortawesome/free-solid-svg-icons#faInfoCircle
- @fortawesome/free-solid-svg-icons#faHeart
- @fortawesome/free-solid-svg-icons#faTimes
- @fortawesome/free-solid-svg-icons#faRandom
- @fortawesome/free-solid-svg-icons#faPlus
- @fortawesome/free-solid-svg-icons#faBars
- @fortawesome/free-solid-svg-icons#faCamera
- @fortawesome/free-solid-svg-icons#faTrophy
- @fortawesome/free-solid-svg-icons#faShareSquare
- @fortawesome/free-solid-svg-icons#faHandPointRight
- @fortawesome/react-fontawesome#FontAwesomeIcon
- @fortawesome/fontawesome-svg-core#library
- @fortawesome/free-brands-svg-icons#faInstagram
- @fortawesome/free-regular-svg-icons#faCircle
- @fortawesome/free-regular-svg-icons#faDotCircle
- @fortawesome/free-regular-svg-icons#faEdit
- @fortawesome/free-regular-svg-icons#faSave
- react-table#Column
@fortawesome/free-solid-svg-icons#faMinus TypeScript Examples
The following examples show how to use
@fortawesome/free-solid-svg-icons#faMinus.
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: index.tsx From bad-cards-game with GNU Affero General Public License v3.0 | 6 votes |
library.add( faDotCircle, faCircle, faBars, faTimes, faInfoCircle, faTrophy, faShareSquare, faHeart, faInstagram, faTwitter, faGithub, faFacebook, faHandPointRight, faEdit, faSave, faCamera, faPlus, faMinus, faRandom, );
Example #2
Source File: tableColumns.tsx From solo with MIT License | 5 votes |
createColumns: CreateColumns = () => [
{
Header: "Details",
Cell: ({ row }) => (
<span {...row.getToggleRowExpandedProps()}>
<FontAwesomeIcon icon={row.isExpanded ? faMinus : faPlus} />
</span>
)
},
{
Header: "SDN",
accessor: "sdn"
},
{
Header: "Service Request #",
accessor: "serviceRequest",
id: "service_request"
},
{
Header: "Commodity",
id: "suppadd__code",
accessor: "commodityName"
},
{
Header: "Status",
disableSortBy: true,
id: "currentStatus",
accessor: ({ mostRecentStatusIdx, statuses }) =>
statuses[mostRecentStatusIdx].dic
},
{
Header: "Nomenclature",
id: "part__nomen",
accessor: "part.nomen"
},
{
Header: "Last Updated",
id: "statuses__status_date",
disableSortBy: true,
accessor: ({ mostRecentStatusIdx, statuses }) =>
`${formatDistanceToNow(
parseISO(statuses[mostRecentStatusIdx].status_date)
)} ago`
}
]
Example #3
Source File: ComplexList.example.tsx From hacker-ui with MIT License | 5 votes |
function ComplexListExample(props: Props) {
const { Root, styles } = useStyles(props);
const [quantities, setQuantities] = useState({} as { [id: string]: number });
return (
<Root>
<List className={styles.list}>
{products.map(({ id, imgUrl, title, price }) => {
const quantity = quantities[id] ?? 0;
const handleDec = () => {
setQuantities((quantities) => ({
...quantities,
[id]: Math.max(0, quantity - 1),
}));
};
const handleInc = () => {
setQuantities((quantities) => ({
...quantities,
[id]: quantity + 1,
}));
};
return (
<ListItem className={styles.listItem}>
<img className={styles.img} src={imgUrl} alt={title} />
<div className={styles.info}>
<h3 className={styles.title}>{title}</h3>
<p className={styles.subtitle}>
${(price / 100).toLocaleString()}
</p>
</div>
<div className={styles.buttonSection}>
<div className={styles.buttons}>
<Button shape="icon" size="small" onClick={handleDec}>
<FontAwesomeIcon icon={faMinus} />
</Button>
<div className={styles.quantityCount}>{quantity}</div>
<Button shape="icon" size="small" onClick={handleInc}>
<FontAwesomeIcon icon={faPlus} />
</Button>
</div>
<div className={styles.subLabel}>Quantity</div>
</div>
<div className={styles.subtotalSection}>
<div className={styles.subtotal}>
${((quantity * price) / 100).toLocaleString()}
</div>
<div className={styles.subLabel}>Subtotal</div>
</div>
</ListItem>
);
})}
</List>
</Root>
);
}