React tooltip libraries

Updated Nov 2026

React tooltip libraries show a short label next to an element when it receives hover or keyboard focus. A positioning engine keeps the floating label attached to its trigger as the page scrolls or resizes. These libraries let apps explain icons and controls without crowding the layout.

Popularity

@radix-ui/react-tooltip has the most monthly downloads in this comparison, at 272.6M.

LibraryMonthly downloadsStarsLast releaseLicense
@radix-ui/react-tooltip
272.6M
19.5KOct 2026MIT
@floating-ui/react
133.4M
32.8KJul 2026MIT
Base UI
109.8M
11.4KOct 2026MIT
Material UI
53.7M
99.4KOct 2026MIT
React Aria Components
33.2M
16.0KOct 2026Apache-2.0
Ant Design
19.9M
100.2KNov 2026MIT
rc-tooltip
14.9M
944Jan 2025MIT
Mantine
14.3M
32.0KNov 2026MIT
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

@radix-ui/react-tooltip

Displays information related to an element when it receives keyboard focus or the mouse hovers over it.

Downloads / mo
272.6M
Stars
19.5K
Last release
1.4.1
License
MIT

Quickstart

From README.md
$ npm install @radix-ui/react-tooltip@1.4.1 react@19.2.0 react-dom@19.2.0
import * as Tooltip from '@radix-ui/react-tooltip';

export default function App() {
  return <Tooltip.Provider><Tooltip.Root>
    <Tooltip.Trigger>Info</Tooltip.Trigger>
    <Tooltip.Portal><Tooltip.Content sideOffset={4}>More information</Tooltip.Content></Tooltip.Portal>
  </Tooltip.Root></Tooltip.Provider>;
}

@radix-ui/react-tooltip examples

From open-source projects on GitHub

@floating-ui/react

Provides Floating UI for React.

Downloads / mo
133.4M
Stars
32.8K
Last release
0.27.20
License
MIT

Quickstart

From README.md
$ npm install @floating-ui/react@0.27.20 react@19.2.0 react-dom@19.2.0
import { useState } from 'react';
import { useFloating, autoUpdate, useHover, useFocus, useDismiss, useRole, useInteractions } from '@floating-ui/react';

export default function App() {
  const [open, onOpenChange] = useState(false);
  const { refs, floatingStyles, context } = useFloating({ open, onOpenChange, whileElementsMounted: autoUpdate });
  const hover = useHover(context);
  const focus = useFocus(context);
  const dismiss = useDismiss(context);
  const role = useRole(context, { role: 'tooltip' });
  const { getReferenceProps, getFloatingProps } = useInteractions([hover, focus, dismiss, role]);
  return <>
    <button ref={refs.setReference} {...getReferenceProps()}>Info</button>
    {open && <div ref={refs.setFloating} style={floatingStyles} {...getFloatingProps()}>More information</div>}
  </>;
}

@floating-ui/react examples

From open-source projects on GitHub

Provides tooltip popups for supplementary hints on hover or focus.

Downloads / mo
109.8M
Stars
11.4K
Last release
1.9.0
License
MIT

Strengths

  • Groups hover delays. Adjacent tooltips appear immediately once a grouped tooltip becomes visible.
  • Supports detached tooltip triggers. Use a shared handle to connect triggers outside the tooltip root.

Limitations

  • Triggers need accessible names. Label the trigger separately; the tooltip is a visual hint.
  • Touch devices need alternatives. Use Popover for information people must access on touch devices.

Quickstart

From tooltip.md
$ npm install @base-ui/react@1.9.0 react@19.2.0 react-dom@19.2.0
import { Tooltip } from '@base-ui/react/tooltip';

export default function App() {
  return <Tooltip.Provider><Tooltip.Root>
    <Tooltip.Trigger>Info</Tooltip.Trigger>
    <Tooltip.Portal><Tooltip.Positioner sideOffset={4}>
      <Tooltip.Popup>More information</Tooltip.Popup>
    </Tooltip.Positioner></Tooltip.Portal>
  </Tooltip.Root></Tooltip.Provider>;
}

Base UI examples

From open-source projects on GitHub

Material UI

Implements Google's Material Design as an open-source React component library.

Downloads / mo
53.7M
Stars
99.4K
Last release
9.5.0
License
MIT

Quickstart

From README.md
$ npm install @mui/material@9.5.0 react@19.2.0 react-dom@19.2.0 @emotion/react @emotion/styled
import Tooltip from '@mui/material/Tooltip';

export default function App() {
  return <Tooltip title="More information"><button>Info</button></Tooltip>;
}

React Aria Components

Provides descriptions that appear when a trigger is hovered or focused.

Downloads / mo
33.2M
Stars
16.0K
Last release
1.22.1
License
Apache-2.0

Strengths

  • Shows focused tooltips immediately. Hovering uses a warmup delay; keyboard focus shows the tooltip immediately.
  • Describes triggers for screen readers. TooltipTrigger associates open tooltip content through aria-describedby.

Limitations

  • Touch interactions need another pattern. Use Popover when information must be available to touch users.
  • Custom triggers must forward refs. Forward the trigger ref and spread the supplied DOM props.

Quickstart

From Tooltip.html
$ npm install react-aria-components@1.22.1 react@19.2.0 react-dom@19.2.0
import { Button, Tooltip, TooltipTrigger } from 'react-aria-components';

export default function App() {
  return <TooltipTrigger>
    <Button>Info</Button>
    <Tooltip>More information</Tooltip>
  </TooltipTrigger>;
}

React Aria Components examples

From open-source projects on GitHub

Implements the Ant Design enterprise-class design language as React components.

Downloads / mo
19.9M
Stars
100.2K
Last release
6.7.1
License
MIT

Quickstart

From README.md
$ npm install antd@6.7.1 react@19.2.0 react-dom@19.2.0
import { Tooltip } from 'antd';

export default function App() {
  return <Tooltip title="More information"><button>Info</button></Tooltip>;
}

Ant Design examples

From open-source projects on GitHub

Provides a React tooltip.

Downloads / mo
14.9M
Stars
944
Last release
6.4.0
License
MIT

Quickstart

From Tooltip.tsx
$ npm install rc-tooltip@6.4.0 react@19.2.0 react-dom@19.2.0
import Tooltip from 'rc-tooltip';
import 'rc-tooltip/assets/bootstrap.css';

export default function App() {
  return <Tooltip trigger={['hover', 'focus']} overlay={<span>More information</span>}>
    <button>Info</button>
  </Tooltip>;
}

rc-tooltip examples

From open-source projects on GitHub

Provides a React components library focused on usability, accessibility, and developer experience.

Downloads / mo
14.3M
Stars
32.0K
Last release
9.8.1
License
MIT

Quickstart

From README.md
$ npm install @mantine/core@9.8.1 react@19.2.0 react-dom@19.2.0
import { MantineProvider, Tooltip } from '@mantine/core';
import '@mantine/core/styles.css';

export default function App() {
  return <MantineProvider><Tooltip label="More information">
    <button>Info</button>
  </Tooltip></MantineProvider>;
}

Mantine examples

From open-source projects on GitHub

FAQ

@radix-ui/react-tooltip suits accessible tooltip primitives. Base UI suits tooltips with grouped hover delays and detached triggers. @floating-ui/react suits custom floating elements built with Floating UI.

@radix-ui/react-tooltip displays information related to an element when it receives keyboard focus or the mouse hovers over it.

Not reliably. Base UI and React Aria Components both point to a popover for information that touch users must reach.

React Aria Components links open tooltip content to its trigger through aria-describedby. Base UI requires a separate accessible name on each trigger.

For coding agents

Found your tooltip library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official