Kindly EditDocumentationTry the editor

Star rating

A rating shown as stars, read aloud as words.

Use this element#

Set the rating and choose a maximum of five or ten. Half-step values are supported. The displayed stars have a corresponding spoken value.

The rating is authored presentation. Kindly does not retrieve review data or verify scores. Keep the source and scale clear in the surrounding content.

Availability#

Available through the appropriate content or section picker when the theme and editing context allow it.

Content controls#

These are the controls registered for this element. A control that depends on another setting or the surrounding layout appears only when it applies.

Rating#

Input type: number. Enter the desired value, then check the page result.

Min: 0; Max: 10; Step: 0.5.

Out of#

Choice Stored value
5 5
10 10

Style controls#

In Developer mode, Style starts with this element's own group, Star rating, open above the shared Style groups (available in 0.9.15 and later):

Control Value
Star size Size in px, rem or em
Filled stars Color
Empty stars Color
Star spacing Size in px, rem or em

Each works like the rest of the inspector: it starts by showing the element's current look, Reset brings the theme's value back, and each change is one Undo step. Like other Style settings, a value can differ by screen size and state (Normal, Hover, Focus).

Save and check#

  1. Change one setting and inspect the affected element.
  2. Use Undo and Redo to check the edit is reversible.
  3. Save a draft, reopen it, and confirm the content and choices remain.
  4. Inspect the page at desktop and phone widths.
  5. Publish only when the result is ready. For interactive elements, check the visitor view because editing mode can suppress interaction.

How it is stored#

The block comes from blocks/400-rating.html. Its editable content is HTML in the page or owning template. Native settings update words, attributes, classes, or supported style properties. Generated interface controls are not saved into that HTML.

The settings registry matches .cb-rating in assets/element-settings.js. Public behavior, when needed, is implemented by the native element runtime in assets/elements.js or assets/blocks.js.

About this page

Documents Kindly Edit 0.9.16. Source: blocks/400-rating.html, assets/element-settings.js, assets/elements.js. Theme choices and account permissions can change which controls appear.

Type a word or phrase to search the full documentation.