Switch Icon

An icon transition generator that works with any icons.

Copy: View demo


All components are built upon the CodyHouse Framework.

This component includes variations. All variations share the same SCSS/JS code. They only differ in the HTML part.

How to

The Switch Icon component is used to create a transition between two icons. You can use any icon you want. In the demo we use inline SVG, but it works also with icon fonts and SVG symbols.

You can choose among different transition effects by applying one of the following class modifiers:

The transition is triggered by the click on the button (.switch-icon). You can change this behavior, and trigger the transition on :hover by applying the .switch-icon--hover class modifier.

Bug Report & Feedback

Get in touch: suggest a component or report a bug.

💌 Join our newsletter

Be the first to know when we ship something cool!