<zero-transformicon>

Animated icon buttons! A Polymer port of Transformicons.

GITHUB

Animated Icons

Menu

menu-xbutterfly
menu-minus
menu-xcross
menu-arrowup
menu-arrow360left
menu-arrowleft

Grid

grid-collapse
grid-rearrange

Add & Remove

plus-check
plus-minus
remove-check
remove-chevronleft
remove-chevronright
remove-chevrondown
remove-chevronup

Others

mail-envelope
search-xcross

Usage

1. Load dependencies.

<zero-transformicon> is a custom Polymer element, so load webcomponents-lite.js polyfill and the zero-transformicon.build.html bundle (which includes the Polymer framework) and you're good to go.

<head>
  ...
  <!-- Import webcomponents-lite.js polyfill -->
  <script src="https://cdn.rawgit.com/webcomponents/webcomponentsjs/v0.7.19/webcomponents-lite.min.js"></script>

  <!-- Import zero-transformicon build bundle -->
  <link rel="import" href="https://cdn.rawgit.com/zerodevx/zero-transformicon/v0.1.0/build/zero-transformicon.build.html">

</head>

2. Use anywhere.

Simply apply <zero-transformicon icon="..."></zero-transformicon> tags declaratively anywhere in your HTML body.

<body>

  <!-- Most basic usage -->
  <zero-transformicon icon="menu-xcross"></zero-transformicon>

  <!-- In red color -->
  <zero-transformicon icon="grid-collapse" color="red"></zero-transformicon>

  <!-- Default to 'open' state -->
  <zero-transformicon icon="plus-minus" color="#222" active></zero-transformicon>
  ...

</body>

Credits

Big thank you to the kind folks at Grey Ghost Visuals, Bennett Feely and Sara Soueidan for creating these awesome UI pieces. This is simply their work wrapped in some Polymer magic.

Site design copied from the Transformicons website, poorly. Imitation is the sincerest form of flattery, they say.