templUI Pro coming soon  

50% OFF Join Waitlist

Rating

Interactive rating component for capturing user feedback and displaying scores.

TailwindCSS
Alpine.js

Usage

1. Add the script to your page/layout:

// Option A: All components (recommended)
@utils.ComponentScripts()

// Option B: Just Rating
@components.RatingScript()

2. Use the component:

@components.Rating(components.RatingProps{...})

Examples

With Label

Styles

Precision (Read-Only)

Max Values

Form

Rate the quality of the product you received.

Please rate the product quality.

© 2025 templui. Stupid code not excluded.