'How can I change Bootstrap 5 carousel indicators into dots?

I'm using carousel bootstrap 5 for my site slider.my question it is how to change shape of carousel-indicators in bootstrap 5 similar this: enter image description here

i searched in google but all answers was in older bootstrap.



Solution 1:[1]

Just add this to your styles:

.carousel .carousel-indicators button {
    width: 10px;
   height: 10px;
   border-radius: 100%;
 }

Solution 2:[2]

Add this properties to CSS

.carousel-indicators [data-bs-target]{
    border-radius: 50%;
    width: 15px;
    height: 15px;
}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Bashid
Solution 2 marcos.efrem