Annual Geraniums (Pelargonium) are widely-used plants for containers and hanging baskets in sunny locations. And there’s a good reason why they are so popular.
They are really easy to grow, come in many different colors and survive being dried out better than most other plants.
It’s just an added bonus that hummingbirds like them.
If you want plants that are more trailing than upright, try ivy geraniums.
They like a little more shade and a little more water than the standard zonal geraniums, but look beautiful hanging over the edge of window boxes or hanging baskets.