Skip to content
R

@rc-component/trigger

Popup trigger and alignment primitive for React

by afc163Free

#27in UI Libraries
0In stores

Description

@rc-component/trigger is a popup trigger and alignment primitive for React, part of the Ant Design ecosystem and maintained by the rc-compon…

Highlights

  • Popup visibility controlled by hover, click and other actions
  • Placement presets and dom-align alignment
  • Alignment to the mouse position for click, hover and context menu
  • Masks, arrows, delays and controlled or uncontrolled visibility
  • TypeScript declarations with ES module and CommonJS builds

Ratings & Reviews

No ratings yet

Be the first to rate @rc-component/trigger.

People also visit

R

react-popopo

Smart popover component for React

UI Libraries
Launch
R

react-popup

React popup component from Minutemailer

UI Libraries
Launch
R

react-floater

Floaters everywhere!

UI Libraries
Launch
V

vue-popperjs

VueJS popover

UI Libraries
Launch
R

react-hint

Tooltip component for React, Preact, Inferno

UI Libraries
Launch
R

@rc-component/portal

React Portal Component

UI Libraries
Launch

@rc-component/trigger FAQ

What is it for?

It is a low-level popup trigger and alignment primitive for building tooltips, dropdowns and similar popups in React.

Who uses it?

The README says Ant Design and other React component libraries use it.

Does it include TypeScript types?

Yes. It ships TypeScript declarations with both ES module and CommonJS outputs.

How do I run the docs locally?

Install the dependencies with npm, then run npm start and open localhost port 8000.

Is it a finished tooltip?

No. It is a primitive for component authors, which you build on.

What are the best @rc-component/trigger alternatives?

Popular alternatives to @rc-component/trigger include react-popopo, react-popup and react-floater. See all @rc-component/trigger alternatives

Developer Stuff

Badges