Select The Animator
It is the animator with the controller called "Icon" and the game object called "Icon".
Create The Clip
You can check the other animations for reference. You can rearrange the existing badges and stars or add your own. Remember to reset the scale to 0,0,0 of the unused objects to have a smooth transition with other clips. If you add a new game object, reset its scale in other clips as well.
Set it to transition from any state
Add 1 to the last animation's condition and set it as the transition condition for the new clip.
Select the reference tab and increase the icon count
If the reference tab is missing, select the settings tab and turn on the Reference Tab.
This is used to dictate how many buttons should be created in the inspector.
Add the clip to the animation clips list
This is to change the icon during editor mode.
If you added new game objects, add their Renderers to the list
This dictates which material to apply.