Multiple person status in a single card?

I’ve got a custom button card working great for a person status. Simply the icon is shown in a circle that is green or red with a little icon showing home/away. Now i’d like to get multiple person entities into a single row without them having any card outlines around them. Just want to show the 4-5 person entities using my code in a horizontal line.

Any pointers towards direction?