Rating
Bootstrap 5 Rating
The interactive icons in the Bootstrap 5 Rating component c
Default Rating
HTML
<div id="rating1" class="star-rating" role="rating" data-rating="3"> <span class="star" data-value="1">★<span class="star-notification">Abysmal</span></span> <span class="star" data-value="2">★<span class="star-notification">Bad</span></span> <span class="star" data-value="3">★<span class="star-notification">Ok</span></span> <span class="star" data-value="4">★<span class="star-notification">Good</span></span> <span class="star" data-value="5">★<span class="star-notification">Excellent</span></span></div>
JavaScript
<script> const ratings = document.getElementById('rating1'); const rating1 = new CDB.Rating(ratings); rating1.getRating;</script>
Build modern projects using Bootstrap 5 and Contrast
Trying to create components and pages for a web app or website from
scratch while maintaining a modern User interface can be very tedious.
This is why we created Contrast, to help drastically reduce the amount of time we spend doing that.
so we can focus on building some other aspects of the project.
Contrast Bootstrap PRO consists of a Premium UI Kit Library featuring over 10000+ component variants.
Which even comes bundled together with its own admin template comprising of 5 admin dashboards and 23+ additional admin and multipurpose pages for
building almost any type of website or web app.
See a demo and learn more about Contrast Bootstrap Pro by clicking here.