Tab components inherit their font style from their ancestors. In this example, the parent has the .h5 class.

First tabSecond tab