Direction Aware Hover
A direction aware hover effect using Framer Motion, Tailwindcss and good old javascript.
In the mountains
$1299 / night
Installation
Run the following command
npx shadcn@latest add https://ui.aceternity.com/registry/direction-aware-hover.json
Props
Prop | Type | Description |
---|---|---|
imageUrl | string | The URL of the image to be displayed. |
children | React.ReactNode or string | The content to be displayed over the image. |
childrenClassName | string (optional) | The CSS class to be applied to the children. |
imageClassName | string (optional) | The CSS class to be applied to the image. |
Build websites faster and 10x better than your competitors with Aceternity UI Pro
With the best in class components and templates, stand out from the crowd and get more attention to your website. Trusted by founders and entrepreneurs from all over the world.
Manu is the man! He is the best front-end developer I have worked with.
He took the requirements and quite literally ran with them. We are super happy with the result and product we go...
John Shahawy
Founder at Rogue and Moonbeam