I have created some bundles (one of them is WidgetBundle) in my Symfony 5 project.
Each of these Bundles has an action of Controller that render a twig template.