An icon transition generator that works with any icons.
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.
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.