You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

animated-material-button

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

animated-material-button

A floating round material button that has animations between states.

1.1.3
latest
Source
npmnpm
Version published
Weekly downloads
7
133.33%
Maintainers
1
Weekly downloads
 
Created
Source

Animated-material-floatbutton

A floating round material button that has animations between states.

Screenshot animation

Animation

Demo

Click here

States

Currently the following icons/states are supported:

  • equals
  • check
  • min
  • cross
  • close
  • hamburger
  • search
  • stop
  • play
  • pause
  • arrow-down
  • arrow-right
  • arrow-left
  • arrow-up

Usage

Either download/clone this repo or install it with yarn/npm or bower:
yarn add animated-material-floatbutton
npm i animated-material-floatbutton -S
bower install animated-material-floatbutton

Simply use the following snippet:

<div class="animated-material-fab">
    <div class="icon-holder equals">
        <div class="icon-bar bar1"></div>
        <div class="icon-bar bar2"></div>
        <div class="icon-bar bar3"></div>
    </div>
</div>

For a example check the example dir.

Change the class equals to any class you want to use (see States)

Ripple

This lib plays pretty nice with a ripple effect library I made. Which is available here See the example dir for a example on how to combine these.

Issues

  • Play and pause button are a bit funky. Need to find a way to display them without border attributes.
  • Changing the scale in Chrome first changes the icon-container (blue circle) and the icon after that.

Keywords

material

FAQs

Package last updated on 13 Dec 2016

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