Components
Starting preview...
@haydenbleasel
npx shadcn@latest add https://21st.dev/r/haydenbleasel/ratingimport { Rating, RatingButton } from '@/components/ui/rating';
const Demo = () => (
<Rating defaultValue={3}>
{Array.from({ length: 5 }).map((_, index) => (
<RatingButton key={index} />
))}
</Rating>
);
export default { Demo }