Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

503
Visualizações
How to customize chakra ui tab element. in react

i want to add tab eliments active style i saw they have used aria-selected:true to apply the css style in a class but i don't know how to override this style in react can anyone explain how can i overwrite this in react ? Please See the right down side. for the style they have used enter image description here

.css-y2jimx[aria-selected=true], .css-y2jimx[data-selected] {
color: var(--chakra-colors-blue-600);
border-color: currentColor;}

I want to overwrite this code in my react element like this

 <Tab style={
          aria-selected? 'selected style':'not selected style'
        }     
      >Basics</Tab>
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Chakra-UI is very well documented, you'll find all you need on this page : https://chakra-ui.com/docs/components/disclosure/tabs.

First choose your variant, then your colorScheme. At last you will maybe need the _selected props for the final touch : https://chakra-ui.com/docs/components/disclosure/tabs#styling-the-tab-states-via-props

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda