Home / Templates / Speedwell / Components / Circle Animation

Circle Animation

src/components/circle-animation.tsx
'use client'
import { useInView } from 'react-intersection-observer'
import clsx from 'clsx'
interface CircleAnimationProps {
children: React.ReactNode
className?: string
}
const CircleAnimation = ({ children, className }: CircleAnimationProps) => {
const { ref, inView } = useInView({
threshold: 0.01,
})
return (
<div
ref={ref}
className={clsx(className, inView && 'animate-spin-slow-reverse')}
>
{children}
</div>
)
}
export default CircleAnimation

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC