From the Super Mario Wiki
Heart Containers are items appearing in every installment of The Legend of Zelda series, which increase Link's maximum health by one unit. Heart Containers also appear as items in the Super Smash Bros. series as recovery items. Heart Containers drift to the ground slowly. In the first two games, they cannot be picked up until they touch the ground. In Super Smash Bros. Brawl onward, however, they can be grabbed in mid-air.
In Super Smash Bros., Heart Containers heal all damage, returning the player's damage level to 0%. Their design is taken from The Legend of Zelda: Ocarina of Time. In Super Smash Bros. Melee onward, however, the Heart Container's effect has been changed to only healing up to 100% of damage. However, the three Heart Containers seen in the All-Star mode still recover all damage. In Super Smash Bros. Brawl, the design of the Heart Container has been changed so as to reflect their appearance in The Legend of Zelda: Twilight Princess, and in Super Smash Bros. for Nintendo 3DS / Wii U, they take their appearance from The Legend of Zelda: Skyward Sword.
Super Smash Bros. Melee
Super Smash Bros. Brawl
Super Smash Bros. for Nintendo 3DS / Wii U