Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

237
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!