react-icons/fa APIs
- FaTwitter
- FaGithub
- FaInstagram
- FaLinkedin
- FaTimes
- FaPlus
- FaFacebookF
- FaSearch
- FaYoutube
- FaFacebook
- FaTrash
- FaHeart
- FaLinkedinIn
- FaBars
- FaEnvelope
- FaStar
- FaPlay
- FaHome
- FaEdit
- FaSun
- FaMoon
- FaUser
- FaGithubAlt
- FaFacebookSquare
- FaArrowRight
- FaCheck
- FaTwitterSquare
- FaAngleRight
- FaInfoCircle
- FaMapMarkerAlt
- FaArrowLeft
- FaPen
- FaTrashAlt
- FaShoppingCart
- FaGithubSquare
- FaCheckCircle
- FaDownload
- FaCaretDown
- FaChevronRight
- FaCog
- FaCode
- FaDev
- FaDribbble
- FaLocationArrow
- FaExternalLinkAlt
- FaAngleDown
- FaArrowUp
- FaSignOutAlt
- FaTags
- FaQuoteLeft
- FaPause
- FaChevronLeft
- FaChevronDown
- FaReact
- FaFolderOpen
- FaCircle
- FaAngleLeft
- FaCompass
- FaAlignRight
- FaMinus
- FaBoxOpen
- FaLink
- FaUsers
- FaGoogle
- FaTwitch
- FaRss
- FaSpotify
- FaCrown
- FaLock
- FaCopyright
- FaRegTrashAlt
- FaUserAlt
- FaRegStar
- FaPhone
- FaMapMarkedAlt
- FaRegCircle
- FaVolumeUp
- FaDiscord
- FaUserCircle
- FaList
- FaStackOverflow
- FaFreeCodeCamp
- FaMicrophone
- FaRedo
- FaClipboard
- FaChevronUp
- FaLongArrowAltRight
- FaAngleDoubleRight
- FaKey
- FaCubes
- FaBan
- FaMediumM
- FaPinterest
- FaVideo
- FaDribbbleSquare
- FaComment
- FaBellSlash
- FaRegBuilding
- FaSlack
- FaItunesNote
- FaBox
- FaWonSign
- FaAirbnb
- FaDoorOpen
- FaGlobe
- FaBath
- FaParking
- FaWhatsapp
- FaUserInjured
- FaRegPlusSquare
- FaPlayCircle
- FaPauseCircle
- FaVolumeMute
- FaSpinner
- FaRegLightbulb
- FaCcVisa
- FaCcMastercard
- FaCcPaypal
- FaCcAmazonPay
- FaRegHeart
- FaCartArrowDown
- FaCartPlus
- FaPinterestSquare
- FaPaypal
- FaAmazon
- FaShopify
- FaApple
- FaTruck
- FaUndoAlt
- FaRocketchat
- FaWallet
- FaPinterestP
- FaGooglePlay
- FaCaretUp
- FaFilter
- FaCalendarAlt
- FaCodeBranch
- FaExclamationCircle
- FaEye
- FaOsi
- FaRegEdit
- FaMicrophoneAlt
- FaMicrophoneAltSlash
- FaCogs
- FaEllipsisH
- FaEquals
- FaQrcode
- FaAddressBook
- FaServer
- FaFolder
- FaLongArrowAltLeft
- FaSkype
- FaHandHoldingHeart
- FaRegPaperPlane
- FaRegBookmark
- FaInbox
- FaHamburger
- FaSearchLocation
- FaBirthdayCake
- FaUserGraduate
- FaGoogleDrive
- FaPaperPlane
- FaLockOpen
- FaUserFriends
- FaExchangeAlt
- FaEllipsisV
- FaSortAmountDown
- FaSortAmountUp
- FaCaretSquareRight
- FaCaretSquareLeft
- FaColumns
- FaUndo
- FaQuestionCircle
- FaBloggerB
- FaRedditAlien
- FaCodepen
- FaGitlab
- FaBlogger
- FaCameraRetro
- FaTabletAlt
- FaRegNewspaper
- FaRegCalendarAlt
- FaForward
- FaQuoteRight
- FaVoteYea
- FaShareSquare
- FaBehanceSquare
- FaSignInAlt
- FaSkull
- FaReddit
- FaRegSmileBeam
- FaWindowClose
- FaWindowMinimize
- FaWindowMaximize
- FaPaste
- FaStopwatch
- FaStop
- FaSave
- FaFileExport
- FaHandPointer
- FaFile
- FaMapSigns
- FaClipboardCheck
- FaClock
- FaThList
- FaDumbbell
- FaGuitar
- FaNetworkWired
- FaPuzzlePiece
- FaUserEdit
- FaEyeSlash
- FaPhoneAlt
- FaStickyNote
- FaThumbsUp
- FaThumbsDown
- FaArrowCircleUp
- FaLightbulb
- FaBookOpen
- FaRegSquare
- FaItalic
- FaBold
- FaPencilAlt
- FaSlash
- FaShapes
- FaShip
- FaTree
- FaFilePdf
- FaRegArrowAltCircleRight
- FaFileUpload
- FaKeyboard
- FaBehance
- FaGoodreadsG
- FaProductHunt
- FaXing
- FaBolt
OtherRelated APIs
react-icons/fa#FaDiscord JavaScript Examples
The following examples show how to use
react-icons/fa#FaDiscord.
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: Navbar.js From ytx-card-game with MIT License | 6 votes |
![]() ![]() |
function Navbar() {
const [open, setOpen] = useState(false)
const [active, setActive] = useState(0)
const handleClick = e => {
const index = parseInt(e.target.id, 0);
if (index !== active) {
setActive(index);
}
};
return (
<Nav>
<Logo src={logo} />
<HamburgerMenu
isOpen={open}
menuClicked={() => setOpen(!open)}
width={24}
height={18}
strokeWidth={2}
rotate={0}
color='#fff'
borderRadius={0}
animationDuration={0.5}
/>
<NavMenu open={open}>
<Li onClick={handleClick} active={active === 0} id={0}>Home</Li>
<Li onClick={handleClick} active={active === 1} id={1}>NFT Minting dApp</Li>
<Li onClick={handleClick} active={active === 2} id={2}>YTX Card Game</Li>
<Li><FaDiscord size={27} color={"#a7a7a7"} /></Li>
<Li><FaGithub size={27} color={"#a7a7a7"} /></Li>
<Li><CgFileDocument size={27} color={"#a7a7a7"} /></Li>
<Li><a href="#!">Connect Wallet</a></Li>
</NavMenu>
</Nav>
)
}
Example #2
Source File: Footer.js From Athavani with MIT License | 4 votes |
![]() ![]() |
Footer = () => {
const scrollTop = () => {
window.scrollTo({ top: 0, behavior: "smooth" });
};
return (
<React.Fragment>
<footer className="footer">
<div className="footer-addr">
<h1 className="footer-logo">About Athavani</h1>
<div className="info">
Athavani/Memories is a place to save all your memories in a single
place and rejoice them through the years. We assures you that your
data will remain safe in Athavani.
</div>
</div>
<ul className="footer-nav">
<li className="social-box" style={{ width: "100%" }}>
<h2 className="title">Social</h2>
<ul className="ul-links">
<p
style={{
fontSize: "1.1rem",
margin: "0",
fontWeight: "600",
}}
>
Do follow us on social platforms
</p>
</ul>
<div className="col col">
<ul className="social">
<li>
<a href="#" rel="noopener noreferrer">
<div className="outer">
<FaTwitter
className="fab fa-twitter"
style={{ fontSize: "2.2em" }}
/>
</div>
</a>
</li>
<li>
<a
href="https://github.com/Tejas1510/Athavani"
target="_blank"
rel="noopener noreferrer"
>
<div className="outer">
<FaGithubAlt
className="fab fa-github"
style={{ fontSize: "2.2em" }}
/>
</div>
</a>
</li>
<li>
<a
href="https://discord.gg/gEqSYzc5Yu"
target="_blank"
rel="noopener noreferrer"
>
<div className="outer">
<FaDiscord
className="fab fa-discord"
style={{ fontSize: "2.2em" }}
/>
</div>
</a>
</li>
</ul>
</div>
</li>
</ul>
<div className="footer-dash footer-dash-dark">
<div className="footer-text footer-text-dark">
<p style={{ margin: "10px 0px", fontWeight: "700" }}>
Copyright © Athavani 2021
</p>
</div>
</div>
</footer>
</React.Fragment>
);
}