Sean Hello

Rating

Forms 5

About

A customizable star rating component that supports read-only display and interactive input modes.

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/rating';

export default function RatingSizeDemo() {
  return (
    <div className="flex flex-col items-center gap-4">
      <Rating rating={4} size="sm" />
      <Rating rating={4} />
      <Rating rating={4} size="lg" />
    </div>
  );
}

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.8K
  • Line Charts 9

    Line Charts 9

    740
  • Alert

    Alert

    516
  • Line Charts 6

    Line Charts 6

    423
  • Area Charts 1

    Area Charts 1

    414
  • Scroll Area

    Scroll Area

    382
  • Navigation Menu

    Navigation Menu

    373
  • Statistics Card 7

    Statistics Card 7

    342

More in Forms

View all
  • Form

    Form

    9
  • Contact Form

    Contact Form

    33
  • Contact Card

    Contact Card

    1.1K
  • Premium Auth

    Premium Auth

    615
  • Paper Plane

    Paper Plane

    113
  • Form

    Form

    18
  • Book A Demo 1

    Book A Demo 1

    95
  • Input

    Input

    14