Home / File/ hover-card-demo.tsx — ui Source File

hover-card-demo.tsx — ui Source File

Architecture documentation for hover-card-demo.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.

File tsx DocumentationAtlas ContentSourcing 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  8e00d7c0_ffc5_8889_904e_85f40f2a9855["hover-card-demo.tsx"]
  00c9789a_2f63_b98d_c90d_4d6abf3582ce["avatar"]
  8e00d7c0_ffc5_8889_904e_85f40f2a9855 --> 00c9789a_2f63_b98d_c90d_4d6abf3582ce
  4544fa74_9b37_0912_c55e_f4ff161b8e83["button"]
  8e00d7c0_ffc5_8889_904e_85f40f2a9855 --> 4544fa74_9b37_0912_c55e_f4ff161b8e83
  71a24709_3731_4aec_eba7_4aa22c7f34c9["hover-card"]
  8e00d7c0_ffc5_8889_904e_85f40f2a9855 --> 71a24709_3731_4aec_eba7_4aa22c7f34c9
  style 8e00d7c0_ffc5_8889_904e_85f40f2a9855 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Avatar, AvatarFallback, AvatarImage } from "@/examples/base/ui/avatar"
import { Button } from "@/examples/base/ui/button"
import {
  HoverCard,
  HoverCardContent,
  HoverCardTrigger,
} from "@/examples/base/ui/hover-card"

export default function HoverCardDemo() {
  return (
    <HoverCard>
      <HoverCardTrigger
        delay={10}
        closeDelay={100}
        render={<Button variant="link" />}
      >
        Hover Here
      </HoverCardTrigger>
      <HoverCardContent className="flex w-64 flex-col gap-0.5">
        <div className="font-semibold">@nextjs</div>
        <div>The React Framework – created and maintained by @vercel.</div>
        <div className="text-muted-foreground mt-1 text-xs">
          Joined December 2021
        </div>
      </HoverCardContent>
    </HoverCard>
  )
}

Subdomains

Functions

Dependencies

  • avatar
  • button
  • hover-card

Frequently Asked Questions

What does hover-card-demo.tsx do?
hover-card-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in hover-card-demo.tsx?
hover-card-demo.tsx defines 1 function(s): HoverCardDemo.
What does hover-card-demo.tsx depend on?
hover-card-demo.tsx imports 3 module(s): avatar, button, hover-card.
Where is hover-card-demo.tsx in the architecture?
hover-card-demo.tsx is located at apps/v4/examples/base/hover-card-demo.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/base).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free