Skip to content
R

react-visibility-sensor

Sensor component for React that notifies you

by eekFree

#216in UI Libraries
0In stores

Description

react-visibility-sensor is a React component that tells you when an element goes into or out of the visible part of the browser window. You…

Highlights

  • Detects entering and leaving the viewport
  • Wraps any content
  • npm or direct script include
  • Example and props documented

Ratings & Reviews

No ratings yet

Be the first to rate react-visibility-sensor.

People also visit

R

react-on-screen

A wrapper component to track if your react component is visible on screen

UI Libraries
Launch
R

react-lazy-load

Simple lazy loading component built with react

UI Libraries
Launch
R

react-waypoint

A React component to execute a function whenever you scroll to an element

UI Libraries
Launch
R

react-scroll-trigger

React component tied to scroll events

UI Libraries
Launch
R

react-lazyload

Lazyload your Component, Image or anything else where the performance matters

UI Libraries
Launch
R

react-lazy-load-image-component

React Component to lazy load images using a HOC to track window scroll position

UI Libraries
Launch

react-visibility-sensor FAQ

What does react-visibility-sensor do?

It tells you when wrapped content goes into or out of the browser's visible area.

What is it used for?

Lazy loading, starting animations on view, and tracking what has been seen.

How do I install it?

With npm, or by including the script directly if you use bower or a plain script tag.

Is there a newer option?

The browser's intersection observer does a similar job, which newer projects may prefer.

What are the best react-visibility-sensor alternatives?

Popular alternatives to react-visibility-sensor include react-on-screen, react-lazy-load and react-waypoint. See all react-visibility-sensor alternatives

Developer Stuff

Badges