npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@licuido-ui/ui_rating

v0.0.2

Published

The Rating component is a customizable rating widget that allows users to provide feedback or rate items using stars or emojis. It provides various options for customizing the icons, styles, and behavior of the rating component. The Rating component can b

Readme

Rating

The Rating component is a customizable rating widget that allows users to provide feedback or rate items using stars or emojis. It provides various options for customizing the icons, styles, and behavior of the rating component. The Rating component can be used in both star and emoji modes based on the variant prop.

Author

Link

Story Book Link Login

PlayGround

Try it have a fun codeBox

Installation

npm i @licuido-ui/ui_rating

Import component

import { Rating } from '@licuido-ui/ui_rating';

Usage

<Rating  variant= 'star'
    precision = {1}
    starRatingData= {[
      {
        filled: <FavoriteIcon />,
        unFilled: <FavoriteBorder />,
        starValue: 4.5,
        overallRating: '240 Reviews',
      },
      {
        filled: <FavoriteIcon />,
        unFilled: <FavoriteBorder />,
        starValue: 3.5,
        overallRating: '240 Reviews',
      },
    ]}
  overallRatingStyle= {}
  onClick={(rating) => handleRatingChange(rating.starValue)} />

Image

Variant1

Emoji rating

Variant2

Star rating

Sample Code

<Rating
 variant= 'star'
    precision = {1}
    starRatingData= {[
      {
        filled: <FavoriteIcon />,
        unFilled: <FavoriteBorder />,
        starValue: 4.5,
        overallRating: '240 Reviews',
      },
      {
        filled: <FavoriteIcon />,
        unFilled: <FavoriteBorder />,
        starValue: 3.5,
        overallRating: '240 Reviews',
      },
    ]}
  overallRatingStyle= {}
  onClick={(rating) => handleRatingChange(rating.starValue)}
/>

Props

| Name | Description | Default | Control | | ------------------- | --------------------------------------------------------------------------------------------------------- | -------- | ------------ | | ratingId | string | string | string | | variant | "star" or "emoji" | "emoji" | star / emoji | | emojiData | An array of objects with properties SelectIcon, unSelectIcon, label, and value | [] | Set object | | selectedLabelStyle | An object with styles to apply to the selected label | {} | Set object | | emojiContainerStyle | An object with styles to apply to the emoji container | {} | Set object | | className | A string representing the class name to apply to the component | - | Set string | | sx | An object with styles to apply to the component root | - | Set object | | starRatingData | An array of objects with properties filled, unFilled, starValue, overallRating, and maximumIcon | [] | Set object | | overallRating | An object with styles to apply to the overallRating | {} | Set object | | onMouseEnter | A function called when the mouse enters a star | () => {} | - | | onMouseLeave | A function called when the mouse leaves a star | () => {} | - | | onClick | A function called when a star is clicked | () => {} | - | | isReadOnly | A boolean value indicating whether the component is read-only | false | Set boolean | | isLabelVisible | A boolean value indicating whether the labels are visible | true | Set boolean | | childrenStyle | An object with styles to apply to the children components | {} | Set object | | precision | A number representing the precision of the rating | 1 | Set number |