From the Super Mario Wiki
Ads keep the MarioWiki independent and free :)
Dancing Blade is the side special move used by Marth since Super Smash Bros. Melee, and by Lucina in Super Smash Bros. for Nintendo 3DS / Wii U. When used, Marth or Lucina deal a sword slash combo that can be executed by pressing the special attack button; the full combo consists of four hits. In addition, certain portions of the attack also differ depending on the direction the player tilts on the control stick; the second hit has an up and forward variation, and the third and fourth have up, down, and forward variants. The third and fourth slashes deal higher knockback and damage, and Marth's down third attack acts as a meteor smash.
In Super Smash Bros. Melee, Marth's entire body glows a certain color depending on the direction inputted on the analog stick for each part of the attack; in Super Smash Bros. Brawl and Super Smash Bros. for Nintendo 3DS / Wii U, however, only the trails of Marth and Lucina's swords glow.
Super Smash Bros. for Nintendo 3DS / Wii U also gives this move two custom variants which both Marth and Lucina can obtain: Effortless Blade is the first, and Heavy Blade is the second. Effortless Blade does not have the directional inputs for each attack and does not deal as much damage, but the input window between each attack has been increased. Heavy Blade increases the duration of each strike as well as giving each one greater attack and launch power, though this makes it harder to combo.