Web component for star rating