Cut the avocado in half, remove the pit, and scoop out the flesh.
Peel the boiled eggs and cut them into bite-sized pieces.
In a bowl, add the avocado, eggs, chopped onion, and chopped cucumber.
Add mayonnaise, salt, and pepper, then mix everything well.
Serve the finished salad on a plate.