Hover Card

For displaying additional content that appears when hovering over a trigger element.

Preview

Installation

bash
npx sigma-ui add hover-card

Examples

Basic

vue
<script setup lang="ts">
import {
  HoverCard,
  HoverCardContent,
  HoverCardTrigger,
} from '@/components/ui/hover-card'
</script>

<template>
  <HoverCard>
    <HoverCardTrigger>Hover</HoverCardTrigger>
    <HoverCardContent>
      The Vue Framework – created and maintained by @vuejs.
    </HoverCardContent>
  </HoverCard>
</template>
Edit this page on GitHub