Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

242
Vistas
How to create an animated Navbar Selector on React?

I've been learning some React lately, got to the React Router point where switching between navLinks doesn't refresh the whole navigation bar. I designed this selection Active using normal JS, HTML, and CSS, where the Active link moves to other Navlinks when clicked with an animation from left to right or right to left, but I can't manage to do this on React, is there any way to do this in React without bootstrap?

<div class="wrapper">
  <nav>
    <ul>
      <li class='home'>
        Home<div class="selector"></div></li>
      <li class='services'>Services</li>
      <li class='about'>About</li>
      <li class='contact'>Contact</li>
    </ul>
  </nav>
</div>

    https://codepen.io/c1nemaclub/pen/popWdmP

I don't know how I would manage the DOM like that in React Thanks in advance!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda