Create UI badge using data attributes and CSS for content