Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
float-button
Advanced tools
A Liquid effect button built uisng svg and vanila JS, NPM Repository
To use the LIquid button in your project -
import FloatingButton from 'FloatingButton/src/FloatingButton'
if generate error then copy the LiquidButton.js file from the node_moudle folder and paste inside your src folder and import as import FloatingButton from './FloatingButton'
<FloatingButton class="your-class-name-here" name="FirstButton" background="black" firstcolor="#1e88e5" secondcolor="yellow" />
-------- put your desired colors -----ReactDOM.render(<div>
<FloatingButton class="floating-button" name="Floating Buton 1" background="black" firstcolor="#480048" secondcolor="#C04848" />
<FloatingButtonMain class="floating-button2" name="Floating Button 2" background="black" firstcolor="#12D8FA" secondcolor="#1FA2FF" />
</div>, document.getElementById('root'));
see the above example it will show 2 buttons if you want to use more than your class name should be different each time.
Now you can use more than one liquid-buttons on same page.
Feel free to contribute on github - ( https://github.com/karan-singh-2607/float-like-button )
FAQs
A floating button built with vanila JS and svg
We found that float-button demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.