I want to make a loading animation, as shown below:
Answered
How to achieve this effect

Please sign in to leave a comment.
static icon: AllIcons.Process.Step_passive;
dynamic effect: AsyncProcessIcon
maybe
Your question is unclear, but maybe this will be helpful: https://plugins.jetbrains.com/docs/intellij/icons.html#animated-icons.