react-see-through

Draw attention to the important parts of your website

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者andrew4699/react-see-through
主編程語言HTML
編程語言JavaScript (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2020-03-25 07:43:16
推送於2020-06-28 00:37:15
最后一次提交2020-06-27 17:37:07
發布數0
用户参与
星數109
關注者數2
派生數7
提交數57
已啟用問題?
問題數1
打開的問題數1
拉請求數1
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?