Shadowed Unit Frames

Another example

SUF focuses on a simple configuration while maintaining the flexibility that most users will care about, preventing unnecessary bloating of the addon that sacrifices performance. While you aren't going to be able to set the health bar to be exactly 3.14 pixels outside of the unit frames, you can change options you actually care about such as bar height, ordering, frame height and so on. To speed up configuration, you can configure multiple units at the same time through the global configuration. For example, if you want to set the height of the Player, Target, Focus and Party frames to 50 then the height of Target's Target, Target's Target of Target, Focus Target to 30 you can easily do this by changing two options instead of having to do it seven times.

However, should you need a little bit of extra configuration do not despair! An advanced option is included that will unlock additional configuration giving finer control over the configuration.

Shadowed Unit Frames in Legion
As of version v4.1.0, WoW 7.0 and Legion is fully supported!

Slash commands: /shadoweduf (/suf)

Donations are not required, but are appreciated!

Are you driven crazy by your party frames not aligning up exactly with your player frames, even if it's only half a pixel off? The anchoring system will let you solve all alignment issues, by allowing you to anchor a frame to another and set a simple offset from the frame it is anchored to, or by manually setting the X/Y position of the frame.

Using the screen shot as an example, if you drag the player frame the other frames will move with the player frame preserving the alignment and spacing. Each frame can still be manually positioned wherever you want, but this gives you a way of easily anchoring and moving frames around without having to use a ruler.

Zone configuration (Disabling options/units by zone type)
Units and modules can be enabled or disabled based on the type of zone you are in. For example, if you want to see party targets and party pets while you are in an arena but nowhere else then you can use the visibility options to enable it only while inside an arena. Modules can also be disabled by zone type, if you want to see party auras while in a raid instance but nowhere else you can disable the module in raid instances only.

Profiles do not have to be swapped and it is all automatic.

Supports unit frames are as follows:

Player: Player, Pet, Pet Target
General: Target, Target of Target, Target of Target of Target, Focus, Focus Target
Party: Party, Party Pets, Party Targets, Party ToT
Raid: Raid, Raid Pet, Main Tank, Main Tank Target, Main Assist, Main Assist Target, Boss, Boss Target, Boss ToT, Main Assist ToT, Main Tank ToT
Arena: Arena, Arena Target, Arena Pets, Arena ToT
Battleground: Battleground, Battleground Target, Battleground Target


  • Tags: Includes a simple tagging system that can be customized in virtually any way using Lua, even if something isn't included by default odds are you can make the tags
  • Incoming Heals: Supports the Blizzard Events for incoming heal data, no external libraries needed
  • Auras: Can be set to only show auras you casted, or can cast on others. Can enlarge auras that you casted, and hide the cooldown ring on the timers of auras you didn't cast as well to make it more obvious which ones you casted and which ones you didn't
  • Aura Timers: You will need a mod such as OmniCC to show timers on buffs and debuffs
  • Aura Indicators: Display colored squares or icons for certain auras on any unit
  • Fader: Fades frames when out of combat and inactive (100% mana/no target)
  • Class Power (Eclipse, Holy Power, etc): Supports all of the class power features from Eclipse to Burning Embers.
  • Highlighting: Border highlighting of frames based on mousing over them, curable debuffs, aggro or you are targeting/focusing them
  • Range Checking: Fades frames out that are out of range of you
  • Exportable Layouts: If you have a layout, or your friend has a layout you want to try out you can export/import SUF layouts by going to /suf -> Layout Manager
  • Profiles: You can change from any profile to another one without reloading your UI, should you want to use a completely different layout based on zone you can easily switch profiles without hassle

Pretty much all the general unit frame settings are in, health bars, cast bars, power bars, portraits, indicators and so on.

Basic module support is included, should you be interested in building a module see the documentation on github for more information.

Currently released:


Please focus all discussions, questions or general feedback to the forum thread:

For feature requests and bug reports, please continue to use the Ticket tracker. Feel free to ask on the thread first, if you're unsure what to do!

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of martinboy martinboy Dec 07, 2012 at 23:35 UTC - 1 like

    With latest release, the blizzard raidframes suddenly appears and underneath the SUF raidframes.

  • Avatar of roderick123 roderick123 Dec 01, 2012 at 01:11 UTC - 0 likes

    @Shadowed: Go

    I have try that, but still cannot see the incoming heals.

  • Avatar of Shadowed Shadowed Dec 01, 2012 at 00:26 UTC - 0 likes

    You never included the error, the error is the relevant part.

  • Avatar of martinboy martinboy Nov 30, 2012 at 23:01 UTC - 0 likes

    <<reply 1097407>>

    With your recent update, the empty bar on Target now displays the color of the NPC/Player I last clicked on, when set to NPC only and Color By Class. If I click on a shaman, the empty bar displays the blue shaman classcolor as it should, but if I click lets say on a horde npc after I click on a warlock, the empty bar still displays the blue shaman class color instead of a hostile red color. Get what I am saying? Is that intented or a bug?

    37x ShadowedUnitFrames-v3.7.3-3-gad623a7\modules\empty-Empty.lua:35 Usage: UnitIsTappedByAllThreatList("unit")
    <in C code>
    ShadowedUnitFrames-v3.7.3-3-gad623a7\modules\empty-Empty.lua:35 in function "?"
    ShadowedUnitFrames-v3.7.3-3-gad623a7\modules\units.lua:34 in function "FullUpdate"
    ShadowedUnitFrames-v3.7.3-3-gad623a7\modules\units.lua:374 in function "CheckUnitStatus"
    ShadowedUnitFrames-v3.7.3-3-gad623a7\modules\units.lua:216 in function <ShadowedUnitFrames\modules\units.lua:213
    <in C code>
    FrameXML\SecureStateDriver.lua:83 in function <FrameXML\SecureStateDriver.lua:73
    FrameXML\SecureStateDriver.lua:137 in function <FrameXML\SecureStateDriver.lua:119

    self = <table> {
     OnDisable = <func> @ShadowedUnitFrames\modules\empty.lua:13
     moduleHasBar = true
     OnLayoutApplied = <func> @ShadowedUnitFrames\modules\empty.lua:17
     moduleKey = "emptyBar"
     moduleName = "Empty bar"
     UpdateColor = <func> @ShadowedUnitFrames\modules\empty.lua:31
     OnEnable = <func> @ShadowedUnitFrames\modules\empty.lua:5
    frame = SUFUnittargettarget {
     0 = <userdata>
     OnEnter = <func> @ShadowedUnitFrames\modules\units.lua:669
     UnregisterAll = <func> @ShadowedUnitFrames\modules\units.lua:134
     castBar = <unnamed> {}
     registeredEvents = <table> {}
     timeElapsed = 0.083021777682006
     RegisterNormalEvent = <func> @ShadowedUnitFrames\modules\units.lua:60
     SetVisibility = <func> @ShadowedUnitFrames\modules\units.lua:245
     topFrameLevel = 5
     RegisterUpdateFunc = <func> @ShadowedUnitFrames\modules\units.lua:107
     SetBlockColor = <func> @ShadowedUnitFrames\modules\units.lua:182
     unitType = "targettarget"
     SetRangeAlpha = <func> @ShadowedUnitFrames\modules\units.lua:170
     visibility = <table> {}
     indicators = <unnamed> {}
     unitInitialized = true
     unitRealType = "targettarget"
     unit = "targettarget"
     ReregisterUnitEvents = <func> @ShadowedUnitFrames\modules\units.lua:39
     unitGUID = "0xF1310B0B00000041"
     hasStateWatch = false
     SetBarColor = <func> @ShadowedUnitFrames\modules\units.lua:178
     fontStrings = <table> {}
     emptyBar = <unnamed> {}
     highFrame = <unnamed> {}
     OnLeave = <func> @FrameXML\UnitFrame.lua:215
     powerBar = <unnamed> {}
     UnregisterSingleEvent = <func> @ShadowedUnitFrames\modules\units.lua:84
     DisableRangeAlpha = <func> @ShadowedUnitFrames\modules\units.lua:162
     healthBar = <unnamed> {}
     fullUpdates = <table> {}
     UnregisterUpdateFunc = <func> @ShadowedUnitFrames\modules\units.lua:124
     menu = <func> @ShadowedUnitFrames\modules\units.lua:403
     BlizzRegisterUnitEvent = <func> =[C]:-1
     unitRealOwner = "target"
     FullUpdate = <func> @ShadowedUnitFrames\modules\units.lua:31
     RegisterUnitEvent = <func> @ShadowedUnitFrames\modules\units.lua:101
     unitOwner = "targettarget"
    color = nil
    reactionType = "npc"
    fallbackColor = <table> {
     b = 0
     g = 0
     r = 0

    Last edited Nov 30, 2012 by martinboy
  • Avatar of Shadowed Shadowed Nov 30, 2012 at 22:34 UTC - 0 likes

    I'm not going to revert it without good reason. What you described sounds more like a bug, but you aren't very clear on what you're trying to say.

  • Avatar of martinboy martinboy Nov 30, 2012 at 22:29 UTC - 0 likes

    Please revert the empty bar color to what it was before. My empty bar for Target was set to NPC only and color by class. That ment that enemy npcs empty bar would display red, friendly npc green and neutral npc yellow. With this update, it displays the last class color I click on, meaning if I clicked on a druid, the enemy npc empty bar display orange as in druid class color.

  • Avatar of Shadowed Shadowed Nov 30, 2012 at 21:22 UTC - 0 likes

    Go into the "Profiles" tab in /suf and it'll let you reset the profile or swap to a new fresh one.

  • Avatar of roderick123 roderick123 Nov 30, 2012 at 20:31 UTC - 0 likes

    @Shadowed: Go

    Is there any way to reset the UI? I have check every option, but still cannot figure out what's wrong with it.

  • Avatar of Shadowed Shadowed Nov 30, 2012 at 19:44 UTC - 0 likes

    I just checked and it's definitely working still, so not much I can tell you except you probably did something.

  • Avatar of roderick123 roderick123 Nov 30, 2012 at 18:50 UTC - 0 likes

    Hey, I have click check on show income heals, 130%, on both myself and target, but I cannot see the incoming heals as before. Before 5.1, it works, however after new patch. it doesnt work now.


Date created
May 17, 2009
Last update
Sep 13, 2016
Development stage
  • deDE
  • enUS
  • frFR
  • koKR
  • ruRU
  • zhCN
  • zhTW
All Rights Reserved
Curse link
Shadowed Unit Frames
Reverse relationships
Recent files