package.docs.components.switch-icon.mdx Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Premium and Open Source dashboard template with responsive and high quality UI.
The newest version!
---
title: Switch icon
description: The Switch Icon component is used to create a transition between two icons. You can use any icon, both line and filled version.
banner: icons
---
## Default markup
To replace the icons, all should add `active` class to the `switch-icon` component.
```html code example centered
```
## Switch animations
You can also add a fancy animation to add variety to your button. See demo below:
```html example code centered separated
```