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. 2 imports, 0 dependents.

File tsx DocumentationAtlas ContentSourcing 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  1ec145f5_2a15_7079_832f_d311e66cc769["hover-card-demo.tsx"]
  4b1d2128_46d9_46f0_b915_b6e1925b7876["button"]
  1ec145f5_2a15_7079_832f_d311e66cc769 --> 4b1d2128_46d9_46f0_b915_b6e1925b7876
  0973d40b_af81_dfe0_cc96_93d4f8f30252["hover-card"]
  1ec145f5_2a15_7079_832f_d311e66cc769 --> 0973d40b_af81_dfe0_cc96_93d4f8f30252
  style 1ec145f5_2a15_7079_832f_d311e66cc769 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/radix/ui/button"
import {
  HoverCard,
  HoverCardContent,
  HoverCardTrigger,
} from "@/examples/radix/ui/hover-card"

export default function HoverCardDemo() {
  return (
    <HoverCard openDelay={10} closeDelay={100}>
      <HoverCardTrigger asChild>
        <Button variant="link">Hover Here</Button>
      </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

  • 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 2 module(s): button, hover-card.
Where is hover-card-demo.tsx in the architecture?
hover-card-demo.tsx is located at apps/v4/examples/radix/hover-card-demo.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free