If you want to use dashicons in the admin outside of the menu, there are two helper classes you can use. These are dashicons-before
and dashicons
, and they can be thought of as setting up dashicons (since you still need your icon’s class, too). Maths.