
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
react-floating-button-menu
Advanced tools
A customizable floating action button menu
Inspired by react-material-floating-button
npm install --save react-floating-button-menu
See the project page
You can customize opening direction, speed, and styles of each button via props. Other options will be added soon
import {
FloatingMenu,
MainButton,
ChildButton,
} from 'react-floating-button-menu';
import MdAdd from '@material-ui/icons/add';
import MdClose from '@material-ui/icons/clear';
state = {
isOpen: false,
}
...
<FloatingMenu
slideSpeed={500}
direction="up"
spacing={8}
isOpen={this.state.isOpen}
>
<MainButton
iconResting={<MdAdd style={{ fontSize: 20 }} nativeColor="white" />}
iconActive={<MdClose style={{ fontSize: 20 }} nativeColor="white" />}
backgroundColor="black"
onClick={() => this.setState({ isOpen: !this.state.isOpen })}
size={56}
/>
<ChildButton
icon={<MdFavorite style={{ fontSize: 20 }} nativeColor="black" />}
backgroundColor="white"
size={40}
onClick={() => console.log('First button clicked')}
/>
<ChildButton
icon={<MdFavorite style={{ fontSize: 20 }} nativeColor="black" />}
backgroundColor="white"
size={40}
/>
<ChildButton
icon={<MdFavorite style={{ fontSize: 20 }} nativeColor="black" />}
backgroundColor="white"
size={40}
/>
</FloatingMenu>
...
MIT © ifndefdeadmau5
FAQs
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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.