templUI Pro coming soon  

50% OFF Join Waitlist

Rating

Interactive rating component for capturing user feedback and displaying scores.

Source
TailwindCSS
Vanilla JS

Installation

  1. Install the component

    templui add rating
  2. Add the JavaScript to your layout

    @rating.Script()
    

    Call this template in your base layout file (e.g., in the <head> section).

Examples

With Label

Styles

Precision (Read-Only)

Max Values

Form

Rate the quality of the product you received.

Please rate the product quality.