I’ve been making a timer plugin for the last few months and I want it to look natural in studio. I’ve seen plugins like Codify that have studio themed buttons. Is there any way I can get buttons like these?
There’s a module called StudioComponents that contains Roact components that are identical to those of Roblox Studio’s user interface. I believe it has also been ported to Fusion as well.
local Studio = settings():GetService("Studio") local currentTheme = Studio.Theme local mainBackground = currentTheme:GetColor(Enum.StudioStyleGuideColor.MainBackground)
Studio.ThemeChanged:Connect(function() currentTheme = Studio.Theme local mainBackground = currentTheme:GetColor(Enum.StudioStyleGuideColor.MainBackground) -- update components end)
Codify is specifically using Roact, so reacting to theme changes is easy! I use a personal library simply called “studio-theme” *it’s not documented, which allows me to bind Roact components to the active theme and respond to changes.
The styled components themselves within Codify (and my other plugins) are just that—Standard Roblox GUI objects stylised to look like native Studio UI. There’s nothing special about them. In fact, Codify is open source (despite its paid options), so you’re more than welcome to dive into its source code and see how each component is put together!
Here’s the button component, for example:
And if it helps, some of the core components of Codify were generated using Codify
You can achieve your desired result by using Studio Widgets
Studio Widgets are plugins with the UI of Roblox Studio.
He’s not talking about that, he’s talking about UI elements.
There’s a folder containing most if not all the icons used in the default studio plugins and in-game core gui.
According to this article on content data types, these icons can be found under these file paths.
Be sure to replace
<version> with the current version of Roblox studio. After getting to the content folder, find the textures folder.