Shadcn modify text color on tabs TabsTrigger
Answered
SpicyJungle posted this in #help-forum
Hey, is it possible to modify the text color on one specific instance of the Tabs component, and modify the text color on
<TabsTrigger> depending on wether its active/unactive?2 Replies
@SpicyJungle Hey, is it possible to modify the text color on one specific instance of the Tabs component, and modify the text color on `<TabsTrigger>` depending on wether its active/unactive?
yes try this className
data-[state=active]:text-red-500Answer
@Ray yes try this className
`data-[state=active]:text-red-500`
Perfect, thanks!