Skip to content

A fully customizable and feature-rich Angular standalone component for advanced star ratings with precision and responsive desig

License

Notifications You must be signed in to change notification settings

malikrajat/rm-ng-star-rating

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

rm-ng-star-rating

npm version Production ready license Angular support range Ivy compatible Standalone API AOT compatible SSR compatible Strict TS Tree-shakable No side effects Linting Tests Coverage Accessibility compliant API docs Examples minzipped size No dependencies weekly downloads total downloads Last update Maintained SemVer Open issues GitHub stars

See It In Action

rm-ng-star-rating Demo

Interactive star rating with customizable colors and sizes (Full/Half) Star!


rm-ng-star-rating is a lightweight, highly customizable Angular star rating component with zero dependencies. Built for modern Angular applications with full TypeScript support, standalone component architecture, and optimized for performance.


Table of Contents

Quick Start

Installation

npm install rm-ng-star-rating

Basic Usage

import { Component } from '@angular/core';
import { RmNgStarRatingComponent } from 'rm-ng-star-rating';

@Component({
  selector: 'app-example',
  standalone: true,
  imports: [RmNgStarRatingComponent],
  template: `
    <rm-ng-star-rating [rating]="3.5"></rm-ng-star-rating>
  `
})
export class ExampleComponent {
  rating = 3.5;
}

See Usage Guide for more examples.

Features

  • Zero Dependencies - Absolutely no external dependencies
  • Standalone Component - Modern Angular standalone architecture
  • Highly Customizable - Configure colors, sizes, spacing, and behavior
  • Interactive & Read-Only Modes - Perfect for both user input and display-only scenarios
  • Half-Star Support - Precise ratings with half-star increments
  • Keyboard Accessible - Full keyboard navigation support
  • Type-Safe - Full TypeScript support
  • Mobile-Ready - Touch-optimized for all devices

Live Examples

Explore our comprehensive examples to see the library in action:

View All Examples →

Live Demo & Playground

Try it yourself! Interactive demos available now:

StackBlitz Demo

Interactive Playground
Try all features live in your browser
GitHub Examples

Complete Examples
Copy-paste ready code samples
npm Package

npm Registry
Install and view package details
GitHub Repository

Source Code
Star, fork, and contribute

Installation & Setup

For detailed installation instructions, see our Installation Guide.

Usage

For comprehensive usage examples and API documentation, see our Usage Guide.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support This Project

If rm-ng-star-rating has helped you build better Angular applications, please consider:

Star This Repository

A star helps other developers discover this library!

GitHub stars

Why Your Star Matters

  • Increases visibility in the Angular community
  • Supports ongoing development and maintenance
  • Encourages more open-source contributions
  • Helps other developers find quality tools

Statistics

npm downloads npm version GitHub issues GitHub stars License

Acknowledgements

This library wouldn't be possible without:

  • Angular Team - Amazing framework and ecosystem
  • Community Contributors - Thank you for feedback and improvements
  • Open Source Community - For inspiration and best practices

Special thanks to everyone who has starred, used, or contributed to this project!

Support and Community

Getting Help

Need assistance? We're here to help!

Support Channel Link Best For
Bug Reports Report Bug Technical issues
Feature Requests Request Feature New features
Discussions Join Discussion General questions
Email mr.rajatmalik@gmail.com Direct support

Documentation

Community

  • Star the repository to show support
  • Watch for updates and new releases
  • Share your use cases and feedback
  • Contribute code or documentation

Stay Updated

  • Follow the project on GitHub
  • Star the repository for updates
  • Watch for new releases

Other Libraries

UI Components

Library Description npm Link
rm-range-slider Lightweight two-thumb range slider with tooltips and color customization npm
rm-ng-range-slider Angular-specific version of the dual range slider npm
rm-carousel Simple, responsive carousel component npm
rm-image-slider Minimal image slider with smooth transitions npm
rm-ng-star-rating Configurable Angular star rating component with readonly mode npm

PDF & Export Libraries

Library Description npm Link
rm-ng-export-to-csv Export JSON data to CSV with zero dependencies npm
@codewithrajat/rm-ng-pdf-export Image-based PDF export tool for Angular applications npm
@codewithrajat/rm-ng-structure-pdf Generate structured PDFs for reports, invoices, or documents npm

Utility Libraries

Library Description npm Link
rm-ng-device-detection Detect device type, OS, and browser in Angular npm
rm-colorful-console-logger Stylish multi-color console logger for better debugging npm

Notifications

Library Description npm Link
rm-pushnotify Lightweight push-style toast notification utility npm

Meta & Personal Branding

Library Description npm Link
about-rajat Developer portfolio package for branding and quick personal info npm

All Packages

Browse all my packages:

Author

Rajat Malik

Full-stack developer | Open Source Contributor | Passionate about creating developer-friendly tools and libraries.


Built with care for the Angular community

Star on GitHubView on npmReport IssueTry Demo

Made with dedication by Rajat Malik

About

A fully customizable and feature-rich Angular standalone component for advanced star ratings with precision and responsive desig

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •