Skip to content

CMS & Logic4 min read

How to Create a Star Rating System in Webflow with Finsweet

Learn how to create a star rating component in a Webflow form with Finsweet Form Star Rating.

In this tutorial, Sandro, cofounder of Gemeos Webflow agency, shows you how to create a star rating component in a Webflow form with Finsweet Attributes Form Star Rating.

AttributeElementValue
fs-starrating-elementForm Block or sectioncomponent
fs-starrating-elementEach star (Radio Button)star
fs-starrating-activeActive CSS classWebflow class name to apply
fs-starrating-valueEach star1, 2, 3, 4 or 5

1. Add the script in the head

<script src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-starrating@1/starrating.js" defer><!--</span-->script>

2. Build the star structure

In your Webflow form, add 5 Radio Buttons in the same group (same Name). On the parent container, add fs-starrating-element="component". On each Radio Button, add fs-starrating-element="star" and fs-starrating-value="[1 to 5]".

3. Create your star icons in Webflow

Hide the native radio buttons (opacity: 0, position: absolute) and create SVG star icons or emojis next to each radio button. Finsweet applies the active class to the selected stars and everything below them too (a progressive fill effect).

4. Define the active class

Create a Webflow class for the selected star state (for example, a gold color). Add the fs-starrating-active="your-class-name" attribute to the parent container. Finsweet applies this class automatically on hover and selection.

Conclusion

Finsweet Star Rating adds a native rating component without custom JavaScript. Use cases:

  • Post-purchase customer satisfaction form
  • Rating a product or service in a contact form
  • NPS survey with visual ratings

Published on May 19, 2026

Sandro DA SILVA

Growth Marketer, Webflow expert, and jack-of-all-trades. Sandro handles commercial operations, ensures projects run smoothly, and addresses marketing-related issues (SEO, Tracking, Copywriting, etc).

You might be interested in these tutorials

Related tutorials

See all

You're going to working with us, guaranteed

Ready to launch your business?

get a quote

Let’s f*****G GO !!