Skip to content

Mark and draw lines on the element under the mouse as it moves on the page

Notifications You must be signed in to change notification settings

ifault/react-element-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mark and draw lines on the element under the mouse as it moves on the page

Uses

import useElementBox from "react-element-box"
function App() {
    const { elementBox, hoverElement } = useElementBox({})
    return (
        <>
            {elementBox}
        </>
    )
}

export default

Options

Prop Type Default
enabled boolean true
style strokeColor: string
strokeWidth: number
dashed: boolean
#6171fe
2
true
defaultMaskColor string <rgb> rgba(144, 238, 144, 0.1)

Screenshot

Demo

About

Mark and draw lines on the element under the mouse as it moves on the page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published