8000 GitHub - andrew4699/react-see-through: Draw attention to the important parts of your website
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andrew4699/react-see-through

Repository files navigation

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

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

About

Draw attention to the important parts of your website

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0