A planter box on the railing is great. Choosing the right plants for it is even better. Here are the most thriving species and how to combine them for a lasting result.
A planter box hanging on a railing is not an ordinary pot. It is often exposed to direct sunlight on two or three sides, and its soil volume is limited. These characteristics simply define the plants that will thrive best in it.
Aromatic herbs: practical, resistant, and fragrant
This is a classic for railing planter boxes, and for very good reasons. Aromatic herbs have shallow roots, perfectly compatible with the volume of a planter box. They love direct light, tolerate temperature variations well, and have a rare dual utility in balcony gardening: they are beautiful and useful in the kitchen.

The must-haves: rosemary, which grows quickly and offers a beautiful green volume all year round. Thyme, resistant, fragrant, and visually appealing. Sage, with its beautiful grey-green leaves that last all year. Chives, which grow back well after each cut.
Mint is an exception: it is invasive and would suffocate others. It deserves its own planter box, and it will fill it quickly.
Trailing plants: maximum visual impact
The advantage of a planter box suspended from a railing is that trailing plants can spread freely downwards. This is where the effect is strongest and most immediate.

Ivy is the most robust and versatile choice. It grows in all weathers, tolerates shade as well as partial sun, and its trailing effect on a balcony railing is immediately elegant. Trailing petunias offer more color but require more sun and watering. Blue lobelia is delicate and creates a very beautiful blue cascade in summer.
For an even stronger effect, you can combine an upright plant in the center with two trailing plants on the edges in the same planter box.
Seasonal flowers: change the ambiance twice a year
In spring, pansies and primroses withstand the cold still frequent in March and April while bringing bright colors from the first sunny days. In summer, zonal geraniums and begonias are solid choices for a sunny balcony. In autumn, balcony chrysanthemums take over and last until the first frosts. Changing your plants twice a year is a simple routine that transforms the balcony into a space that evolves with the seasons.

What to avoid in a railing planter box
Plants with large root systems like large lavender or bush roses quickly suffer in a limited soil volume. Tomatoes and peppers can grow in containers, but they are very heavy and require daily watering in summer: they are better suited for ground-level planters. It's also best to avoid overfilling a planter box: two or three plants per container are enough for each to have enough soil and space.
In summary
Aromatic for practicality, trailing for visual effect, seasonal flowers to evolve the ambiance. These three families cover the essentials of what a planter box can accommodate. The key is to respect the light and water needs of each chosen species.