Skip to content
/ drogen Public

A React library for using pulsating markers to call attention to specific page elements

Notifications You must be signed in to change notification settings

Lytol/drogen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drogen

A Drogen is a pulsating marker used for drawing attention to specific page elements

Usage

<Drogen size="32px" color="#03c" top="50%" left={0}>
  <h1>My Header</h1>
</Drogen>

Properties

  • size: The size of the Drogen (default: 32px)
  • color: The color of the Drogen (default: #39c)
  • top / left: The position of the Drogen relative the children (default top: 50%, left: 0)

TODO

  • Better positioning than top and left (duh)
  • OnClick handling for custom functionality
  • Optional title text on hover
  • Eslint for style consistency
  • Tests!

About

A React library for using pulsating markers to call attention to specific page elements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published