Direction Aware Hover
A direction aware hover card, that displays an image with dynamic hover effects and customizable content overlay.
API
Prop Name | Type | Default | Description |
---|---|---|---|
imageUrl | string | Required | The URL of the image to be displayed. |
class | string | undefined | Additional CSS classes for the card container. |
imageClass | string | undefined | Additional CSS classes for the image element. |
childrenClass | string | undefined | Additional CSS classes for the content overlay. |
Component Code
You can copy and paste the following code to create this component:
DirectionAwareHover.vue
Credits
- Credits to M Atif for porting this component.
- Ported from Aceternity UI's Direction Aware Hover