Bootstrap 4 Demo
Bootstrap 4 Code Output

The Badges in dropdown button