79275985

Date: 2024-12-12 17:14:23
Score: 1.5
Natty:
Report link

Return an object as the title prop on your Tag instead of a string. Then you can add any styles you want to it.

<Tab title={<span className="text-dark-blue">Website</span>}>

The problem with your current approach is that NextUI is adding the class you've given it to an element above the one that sets the text color by default, so your text color style is overridden. Check out this documentation to get a better understanding of how it works.

Reasons:
  • Blacklisted phrase (1): this document
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Garrett Roberts