Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-floating-btn-menu

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-floating-btn-menu

A Customizable Material floating button menu implementation made with styled-component & react.

  • 1.0.16
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

React Floating Button Menu

A Material floating button menu implementation made with styled-component & react

Inspired by react-material-floating-button and react-floating-button-menu with added labels to buttons.

Installation

npm install react-floating-btn-menu --save

Demo

See the project page

Usage

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/build';
import MdAdd from 'react-icons/lib/md/add';
import MdClose from 'react-icons/lib/md/close';

...
  <FloatingMenu slideSpeed={500} direction="left" size={{ main: 56, child: 40 }}>
    <MainButton
      iconResting={MdAdd}
      iconActive={MdClose}
      iconColor="white"
      backgroundColor="black"
    />
    <ChildButton
      iconButton={MdAdd}
      iconColor="black"
      order={1}
      backgroundColor="white"
      label ="Add"
    />
    <ChildButton
      iconButton={MdAdd}
      iconColor="black"
      order={2}
      backgroundColor="white"
      label="Add another"
    />
  </FloatingMenu>
...

Try the Demos Locally

git clone https://github.com/ifndefdeadmau5/react-floating-btn-menu.git
cd react-floating-button-menu
npm install
cd docs
npm install
npm start

Contributing

Please submit issues.

Keywords

FAQs

Package last updated on 29 May 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc