Documentation v8.0.9

Overview

Rotate is a custom component used to rotate an element with a spesific angle when it's parent assigned with .activeclass. This component can be useful to change a buttons icon direction when it's .activeclass is toggled.

Basic

Use .rotateclass on a button and .rotate-{degree}class on a icon to rotate it to following degreeoptions:
  • 90- for classes that rotates to 90 deg
  • 180- for classes that rotates to 180 deg
  • 270- for classes that rotates to 270 deg
  • n90- for classes that rotates to negative -90 deg
  • n180- for classes that rotates to negative -180 deg
  • n270- for classes that rotates to negative -270 deg
<button type="button" class="btn btn-primary">
    Default <span class="svg-icon svg-icon-2 rotate-90"><svg></svg></span>
</button>

<button type="button" class="btn btn-primary rotate">
    90 deg <span class="svg-icon svg-icon-2 rotate-90"><svg></svg></span>
</button>

<button type="button" class="btn btn-primary rotate">
    180 deg <span class="svg-icon svg-icon-2 rotate-180"><svg></svg></span>
</button>

<button type="button" class="btn btn-primary rotate">
    270 deg <span class="svg-icon svg-icon-2 rotate-270"><svg></svg></span>
</button>

<button type="button" class="btn btn-primary rotate">
    -90 deg <span class="svg-icon svg-icon-2 rotate-n90"><svg></svg></span>
</button>

<button type="button" class="btn btn-primary rotate">
    -180 deg <span class="svg-icon svg-icon-2 rotate-n180"><svg></svg></span>
</button>

<button type="button" class="btn btn-primary rotate">
    -270 deg <span class="svg-icon svg-icon-2 rotate-n270"><svg></svg></span>
</button>

Toggle

Click on the below buttons to toggle the button active state and rotate the icons accordingly:
// Element to indecate
var button = document.querySelector("#kt_button_1");

// Handle button click event
button.addEventListener("click", function() {
    button.classList.toggle("active");
});
<button type="button" class="btn btn-primary rotate" id="kt_button_1">
    90 deg <span class="svg-icon svg-icon-2 rotate-90"><svg></svg></span>
</button>

Collapse

Use Rotate with .collapsibleand .collapsedclasses to toggle a block using Bootstrap Collapse  and display:
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
<!--begin::Toggle link-->
<a data-bs-toggle="collapse" href="#kt_toggle_block" class="btn btn-link btn-color-muted btn-active-color-primary rotate collapsible collapsed">
    Toggle block
    <span class="svg-icon svg-icon-3 rotate-n180 ms-1"><svg></svg></span>
</a>
<!--end::Toggle link-->

<!--begin::Toggle block-->
<div id="kt_toggle_block" class="collapse">
    <div class="rounded bg-light p-10">
        .....
    </div>
</div>
<!--end::Toggle block-->

Activity Logs

There are 2 new tasks for you in “AirPlus Mobile APp” project:
Added at 4:23 PM by
img
Meeting with customer
Application Design
img
img
A
In Progress
View
Project Delivery Preparation
CRM System Development
img
B
Completed
View
Invitation for crafting engaging designs that speak human workshop
Sent at 4:23 PM by
img
Task #45890merged with #45890in “Ads Pro Admin Dashboard project:
Initiated at 4:23 PM by
img
3 new application design concepts added:
Created at 4:23 PM by
img
New case #67890is assigned to you in Multi-platform Database Design project
Added at 4:23 PM by
Alice Tan
You have received a new order:
Placed at 5:05 AM by
img

Database Backup Process Completed!

Login into Metronic Admin Dashboard to make sure the data integrity is OK
Proceed
New order #67890is placed for Workshow Planning & Budget Estimation
Placed at 4:23 PM by
Jimmy Bold
Pic
Brian Cox 2 mins
How likely are you to recommend our company to your friends and family ?
5 mins You
Pic
Hey there, we’re just writing to let you know that you’ve been subscribed to a repository on GitHub.
Pic
Brian Cox 1 Hour
Ok, Understood!
2 Hours You
Pic
You’ll receive notifications for all issues, pull requests!
Pic
Brian Cox 3 Hours
You can unwatch this repository immediately by clicking here: Keenthemes.com
4 Hours You
Pic
Most purchased Business courses during this sale!
Pic
Brian Cox 5 Hours
Company BBQ to celebrate the last quater achievements and goals. Food and drinks provided
Just now You
Pic
Pic
Brian Cox Just now
Right before vacation season we have the next Big Deal for you.

Explore Metronic

Demo1

Demo2

demo
Coming soon

Demo3

demo
Coming soon

Demo4

demo
Coming soon

Demo5

Demo6

demo
Coming soon

Demo7

demo
Coming soon

Demo8

demo
Coming soon

Demo9

demo
Coming soon

Demo10

demo
Coming soon

Demo11

demo
Coming soon

Demo12

demo
Coming soon

Demo13

demo
Coming soon

Demo14

demo
Coming soon

Demo15

demo
Coming soon