Skip to content
IntelliHelper logo

Intelli UI

FormsLiquid Glass

Rating

Accessible star rating with keyboard support and half stars. Preview live, copy the source, or install with the CLI into your Next.js project.
npx @intellihelper/cli@latest add rating

Star rating

Keyboard-accessible stars with controlled value.

About this component

Rating is part of Forms. Accessible star rating with keyboard support and half stars.

Install with npx @intellihelper/cli@latest add rating. Files land in your project so you can customize styles, variants, and behavior without a locked package.

Prefer AI-assisted install? Use the agent plugin or the MCP server.

When to use Rating

Use when

  • Use Rating when accessible star rating with keyboard support and half stars.
  • Collecting user input with labeled fields, selects, checkboxes, or dates.
  • Settings screens that need glass chrome around standard controls.

Avoid when

  • Read-only display of data — use typography or tables.
  • Complex multi-page wizards without a stepper or progress pattern.

Accessibility notes

  • Every control needs a visible label (or aria-label when space is constrained).
  • Associate helper and error text with aria-describedby.
  • Preserve focus order; do not trap keyboard users outside the form.

Interactive primitives build on accessible patterns (including Radix where applicable). Always verify focus order and contrast on your mesh or product background.

Composition tips

  • Stack field + label + description vertically with consistent spacing.
  • Use native-select only when you need zero-JS progressive enhancement.

FAQ

View all forms