Dmitry

Rating

Forms 1

About

Star rating input with keyboard support and a read-only mode. From GooseUI (goosen-x/gooseui), MIT.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Rating to your project and fits it to your theme.

Code

How Rating is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Rating } from "@/components/ui/gooseui-rating"

export default function CardPreview() {
  return (
    <div className="flex h-full flex-col items-center justify-center gap-3">
      <Rating defaultValue={4} size="lg" />
      <Rating readOnly value={3.5} shape="sparkle" size="sm" />
    </div>
  )
}

More by Dmitry

View all
  • Border Beam

    Border Beam

    156
  • Features Grid

    Features Grid

    104
  • Tap Coin

    Tap Coin

  • Header — Magazine

    Header — Magazine

  • Header — Mega Menu

    Header — Mega Menu

  • Header — Morphing

    Header — Morphing

  • Morphing Header

    Morphing Header

  • Theme Customizer

    Theme Customizer

More in Forms

View all
  • Form

    Form

    7
  • Login 2

    Login 2

    16
  • Contact Form

    Contact Form

    33
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    95
  • Premium Auth

    Premium Auth

    614
  • Onboarding Stepper

    Onboarding Stepper

    13
  • Authentication Card

    Authentication Card

    52