react-icons/md APIs
- MdClose
- MdSearch
- MdEmail
- MdLocationOn
- MdMenu
- MdKeyboardArrowRight
- MdCancel
- MdAdd
- MdPerson
- MdArrowForward
- MdPeople
- MdSettings
- MdCheckBox
- MdClear
- MdStar
- MdSmartphone
- MdFileUpload
- MdHome
- MdPause
- MdPlayArrow
- MdComputer
- MdChevronRight
- MdRateReview
- MdImage
- MdCheckCircle
- MdKeyboardArrowDown
- MdNavigateBefore
- MdNavigateNext
- MdDone
- MdCheck
- MdHelp
- MdPhoneIphone
- MdFlag
- MdAssignmentTurnedIn
- MdReceipt
- MdPrint
- MdKeyboardArrowLeft
- MdFilterList
- MdScreenShare
- MdArrowForwardIos
- MdDateRange
- MdDelete
- MdEdit
- MdArchive
- MdReplay
- MdLabel
- MdLoyalty
- MdInbox
- MdDesktopWindows
- MdDesktopMac
- MdLaptop
- MdKeyboard
- MdMemory
- MdSpeaker
- MdTv
- MdVideogameAsset
- MdWatch
- MdCameraswitch
- MdHeadset
- MdDeleteOutline
- MdSubdirectoryArrowRight
- MdRemoveRedEye
- MdVisibility
- MdVisibilityOff
- MdRotateLeft
- MdInfoOutline
- MdShoppingCart
- MdFavorite
- MdChatBubble
- MdEvent
- MdWebAsset
- MdLanguage
- MdForum
- MdPhone
- MdMoreVert
- MdFastRewind
- MdFastForward
- MdVolumeOff
- MdVolumeMute
- MdVolumeDown
- MdVolumeUp
- MdCallMade
- MdFileDownload
- MdPauseCircleFilled
- MdPlayCircleFilled
- MdCallReceived
- MdFullscreenExit
- MdFullscreen
- MdPictureInPictureAlt
- MdRemove
- MdErrorOutline
- MdFlipToBack
- MdLoop
- MdPictureInPicture
- MdToday
- MdAccessTime
- MdBusiness
- MdLink
- MdKeyboardTab
- MdPlace
- MdDashboard
- MdCardTravel
- MdBookmark
- MdContactMail
- MdVerified
- MdChevronLeft
- MdArrowDropDownCircle
- MdExpandMore
- MdRemoveFromQueue
- MdFindInPage
- MdCompareArrows
- MdPlaylistAddCheck
- MdArrowBack
- MdAccountCircle
- MdPhotoSizeSelectActual
OtherRelated APIs
react-icons/md#MdContactMail JavaScript Examples
The following examples show how to use
react-icons/md#MdContactMail.
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 CS-Hut with MIT License | 5 votes |
function NavBar() {
const [NavBar, setNavBar] = useState(false);
const ChangeBackground = () => {
if (window.scrollY > 220) {
setNavBar(true);
} else {
setNavBar(false);
}
};
window.addEventListener("scroll", ChangeBackground);
return (
<IconContext.Provider
value={{ color: "white", size: "2rem", padding: "20px" }}
>
<div>
<Navbar
fixed="top"
expand="lg"
variant="dark"
className={NavBar ? "navBar active" : "navBar"}
>
<Navbar.Brand href="/">
<img src={NavLogo} alt="" className="nav-img" />
CS Hut
</Navbar.Brand>
<Navbar.Toggle
aria-controls="basic-navbar-nav"
className="custom-toggler"
/>
<Navbar.Collapse id="basic-navbar-nav">
<Nav className="ml-auto">
<FaHome />
<Nav.Link href="/">Home</Nav.Link>
<div className="borderbottom"></div>
<MdComputer />
<Nav.Link href="/Tags">Resources</Nav.Link>
<div className="borderbottom"></div>
<FaInfoCircle />
<Nav.Link>
<HashLink className="hash-link" to="/#ab">
About
</HashLink>
</Nav.Link>
<div className="borderbottom"></div>
<MdContactMail />
<Nav.Link href="/contactus">Contact</Nav.Link>
<div className="borderbottom"></div>
</Nav>
</Navbar.Collapse>
</Navbar>
</div>
</IconContext.Provider>
);
}