how to set carousel caption position code example Example: react bootstrap carousel caption placement top .carousel-caption { top: 0; bottom: auto; }