View on GitHub


Now with extra wasabi!

Download this project as a .zip file Download this project as a tar.gz file

What is Sushi?

Sushi is a GUI framework for the game World of Warcraft, designed to be:

Why Sushi?

Why not? While there are some popular GUI frameworks out there, they tend to share one large problem: instead of being object driven, has it was to expect from a GUI framework, they are data driven.

While it may appear to be an interesting idea, this makes the libraries hardly flexible: they force the developer to follow a given layout. The inexistence of inherence turns the creation of new widget classes into a burdening process. On top of that, they tend to have an incredible high amount of memory, cpu usage and code complexity for how little they achieve.

They become good at just one thing: building configuration menus. Commonly, improperly designed configuration menus, as they are incapable to react to the application needs. Sushi, on the other hand, is good for everything. And even better with soy sauce.

What's in the Box?

Basically, Sushi is composed of a collection of frame classes. Here is the complete list as of January 2012:


How to Use

For instance, imagine you wish to create a Dropdown. After properly including Sushi in your addon (see below), simply call the SushiDropdown class:

local myDropdown = SushiDropdown()
myDropdown:SetLabel('My Awesome Dropdown')


myDropdown:SetCall('OnInput', function(self, v)
    if v == 'None' then
        print('Not hungry?')
        print('You cannot have it.')



Sushi is installed exactly has any other library for World of Warcraft:

  1. Download Sushi, Poncho and LibStub.
  2. Include the three folders in the directory of your add-on.
  3. Add these three lines to your .toc file, before any other loading line:




More Information