Skip to content
R

react-highlight-popover

Headless component for text selection popovers

Open source

Domain Rating by Ahrefs36

#1823in UI Libraries
0In stores

Description

React Highlight Popover is a headless React component that shows a popover when someone selects text. You write the popover, and the compone…

Highlights

  • Headless: render any React element
  • About 2.4 kB gzipped, no dependencies besides React
  • Collision handling that flips and shifts on screen
  • Keyboard and ARIA support
  • Works with React Server Components

Ratings & Reviews

No ratings yet

Be the first to rate react-highlight-popover.

People also visit

R

react-popopo

Smart popover component for React

UI Libraries
Launch
R

react-native-popover-view

A <Popover /> component for react-native iOS, Android, and Web

UI Libraries
Launch
R

react-power-select

A highly composable & reusable select component in react

UI Libraries
Launch
P

plate-select-editor

Rich multi-select editor

UI Libraries
Launch
R

react-floater

Floaters everywhere!

UI Libraries
Launch
R

react-highlighter

Highlight select fragments of texts

UI Libraries
Launch

react-highlight-popover FAQ

What does it do?

It shows a popover when a user selects text. You write the popover content, and the component handles when to show it, where to put it and when to hide it.

How do I install it?

Run npm i @omsimos/react-highlight-popover.

Does it come with styles?

No. The site says the component is headless and adds no styles of its own.

Does it work with Server Components?

The site says the build includes a use client directive for React Server Components.

What are the best react-highlight-popover alternatives?

Popular alternatives to react-highlight-popover include react-popopo, react-native-popover-view and react-power-select. See all react-highlight-popover alternatives

Developer Stuff

Badges