react-see-through

Draw attention to the important parts of your website

Github stars Tracking Chart

react-see-through

Table of Contents

Draw attention to the important parts of your website

Example

Example
* react-see-through is used here to create the black mask above everything except the tutorial (source)

How is this different from a Modal?

The black mask appears around existing elements on the page.

Installation

npm install --save react-see-through

or

yarn add react-see-through

Importing

To use the react-see-through component, you want to do:

import { SeeThrough } from 'react-see-through';

after installing.

Use Cases

  • Slack, Discord, and many other popular services use this type of effect for tutorials
    • This lets them direct users' attention to particular elements being introduced.

Resources

Documentation/Examples

GitHub

Future Plans

  • Allow interacting (click, hover, etc...) with the unmasked area
    • Make only certain areas interactable? - wrapper
  • Typescript definitions
  • Fade-out animation
  • Option to add padding
  • Better documentation styling

Main metrics

Overview
Name With Ownerandrew4699/react-see-through
Primary LanguageHTML
Program languageJavaScript (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2020-03-25 07:43:16
Pushed At2020-06-28 00:37:15
Last Commit At2020-06-27 17:37:07
Release Count0
用户参与
Stargazers Count109
Watchers Count2
Fork Count7
Commits Count57
Has Issues Enabled
Issues Count1
Issue Open Count1
Pull Requests Count1
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private