Here is a custom server sidebar.
The using-actionbar folder is the UI using the "/title @a actionbar" command.
The /using-title means the UI is using the "/title @a title" command.
You are free to do whatever you like with the code! Feel free to sell, modify, claim as your own, or share it with others.