UxHoverBox

components/ux/HoverBox.vue

Card that elevates with shadow on hover and reveals a call-to-action with triangle icon.

Card title

Card content goes here.

View details
components/ux/HoverBox.vue

Usage

<UxHoverBox callToAction = "null" hoverText = "—" > Content here </UxHoverBox>

Props

PropTypeDefaultDescription
callToActionStringnullAction text shown on hover
hoverTextString''Tooltip or descriptive hover text

Events

EventDescription
clickedWhen the box is clicked

Slots

SlotDescription
defaultCard content

Related