Projects like TopbarPlus involve hundreds of hours of work and maintenance. It’s my goal to keep these projects free, open source and up-to-date, however its become increasingly difficult with Roblox’s direction of the Marketplace. If you’ve found TopbarPlus helpful, please consider reading into how Roblox can support marketplace developers and open-source creations.
Source Code |
Documentation |
Playground
Construct dynamic and intuitive topbar icons. Enhance the appearance and behaviour of these icons with features such as themes, dropdowns and menus.
-- This assumes you place the TopbarPlus module (called 'Icon') under ReplicatedStorage
local Icon = require(game:GetService("ReplicatedStorage").Icon)
-- Here we construct a simple icon
Icon.new()
:setImage(6326373239)
:setLabel("Nanoblox")
-- This retrieves the theme module under Icon
local iconModule = game:GetService("ReplicatedStorage").Icon
local Icon = require(iconModule)
local Themes = require(iconModule.Themes)
-- Here we utilise the many other icon methods. You can view all of them at the docs.
Icon.new()
:setImage(6326373239)
:setLabel("Nanoblox")
:setCaption("Nanoblox Caption")
:setTip("Open Nanoblox Panel (v)")
:bindToggleKey(Enum.KeyCode.V)
:bindToggleItem(nanobloxFrame)
:setProperty("deselectWhenOtherIconSelected", false)
:set("iconFont", Enum.Font.GothamSemibold)
:setRight()
:notify()
:setTheme(Themes.YourThemeName)
:bindEvent("selected", function(icon)
print("selected!")
end)
:bindEvent("deselected", function(icon)
print("deselected!")
end)
:setDropdown({
Icon.new()
:setLabel("Item 1")
,
Icon.new()
:setLabel("Item 2")
,
Icon.new()
:setLabel("Item 3")
,
Icon.new()
:setLabel("Item 4")
,
})
Features
What’s new
Get Started
Installation
API
Tutorial
Credit
Big thanks to these people for their resources and contributions:
- @Quenty’s Maid and Signal
- @Lucke0051 for his many feature ideas and code contributions
- @csqrl for assistance with overflows
- @MrAsync for workflow guidance
- @grilme99 for their TS port
- @Inctus for the video tutorial
Final
TopbarPlus is free and open source! You’re welcome to use and modify this for any of your projects. Credit back to this thread is greatly appreciated although I won’t send the popo after you if you don’t.
I won’t be able to respond to all questions, however I pinky-promise that I’ll read your comments. We’ve put hundreds of hours into this resource so its always a joy to hear your feedback!
That’s all amigos, enjoy