I’d still strongly recommend the former solutions although at a glance you should be fine in terms of performance!
You can find a list of all themes here (we currently only have BlueGradient and Default) although you should find making your own themes significantly easier with v2.
You can bind multiple gui instances to an icon using icon:bindToggleItem, e.g.
local localPlayer = game:GetService("Players").LocalPlayer
local playerGui = localPlayer.PlayerGui
local frames = playerGui.ScreenGui
Icon.new()
:bindToggleItem(frames.Frame1)
:bindToggleItem(frames.Frame2)
Wow, this is really good. Just one issue, what if I wanted to tween the binded Ui? Because, so far, I’ve only seen the option to make something Visible.
I’ve been waiting for this to come out. Pretty neat stuff. Is there any way to select or deselect an icon without firing the select/deselect/toggle events?
I’d like to keep the state of a menu externally and allow the menu to control the state. For example, I make a top bar icon that toggles the Store menu, but the Store gui also has an X to close it; so the top bar icon needs to be put in its “deselected” state when a user hits the X, but I don’t want to execute the gui closing code twice.
Honestly, it’s not a huge use case, and it’s easy enough to work around. I was just wondering if it already had that functionality so I could make my code a little prettier