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

239
Vistas
Why am I unable to see any animations using tailwind when using twin.macro?

I am using twin.macro and none of the animations work from tailwinds's css library.

import tw from 'twin.macro'

/** @jsxImportSource @emotion/react */

export const AppRouter = () => {
  useEagerConnect()
  useNetworkListener()
  useBlockNumberListener()
  useVerifyTransaction()
  useInitSetup()

  useEffect(() => {
    if (localStorage.getItem('darkMode') === 'true') {
      document.documentElement.classList.add('dark')
    }
  }, [])
  const PrimaryButton = tw.button`m-auto mt-0 h-20 w-20 
  bg-black-100 animate-bounce`

  return (
    <>
      <div tw='m-auto ml-10 h-20 w-20 animate-pulse bg-black-400'>test</div>
      <PrimaryButton> Hello </PrimaryButton>
    </>
  )
}

enter image description here

Is there something I am doing wrong with my config file? or have i configured twin wrong?

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