Skip to content

Rating

A star rating: one focusable slider over decorative stars, with half values, hover preview and clearing.

Styled with CSS Tailwind

Whole stars

Each item gets data-state="full|half|empty" - styled with data-[state=full]: - and data-highlighted while the pointer previews a value. Arrows and digits change the value.

Value: 4
An unhandled error has occurred. Reload 🗙