use-hoverDetect if mouse is over given elementImportimport { useHover } from '@asuikit/hooks';SourceView source codeDocsEdit this pagePackage@asuikit/hooksUsagePut mouse over me pleaseimport { useHover } from '@asuikit/hooks'; function Demo() { const { hovered, ref } = useHover(); return ( <div ref={ref}> {hovered ? 'I am hovered' : 'Put mouse over me please'} </div> );}Definitionfunction useHover<T extends HTMLElement = HTMLDivElement>(): { ref: React.MutableRefObject<T>; hovered: boolean;};Go backuse-hotkeys – @asuikit/hooksUp nextuse-intersection – @asuikit/hooksTable of contentsUsageDefinitionBuild fully functional accessible web applications faster than everAboutContributeAbout MantineChangelogReleasesCommunityChat on DiscordFollow on TwitterFollow on GitHubGitHub discussionsProjectMantine UIDocumentationGitHub organizationnpm organizationBuilt by Vitaly Rtishchev and these awesome peopleJoin Discord communityFollow Mantine on Twitter