scroll-area-demo.tsx — ui Source File
Architecture documentation for scroll-area-demo.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 5f8b0693_9688_7a81_8160_a68cc3ec495d["scroll-area-demo.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 5f8b0693_9688_7a81_8160_a68cc3ec495d --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 87012fb0_00c6_7ce4_2418_e4e3b26e5dac["scroll-area"] 5f8b0693_9688_7a81_8160_a68cc3ec495d --> 87012fb0_00c6_7ce4_2418_e4e3b26e5dac 0ef877d6_b768_4222_bd20_50d875ac5e58["separator"] 5f8b0693_9688_7a81_8160_a68cc3ec495d --> 0ef877d6_b768_4222_bd20_50d875ac5e58 style 5f8b0693_9688_7a81_8160_a68cc3ec495d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import * as React from "react"
import { ScrollArea } from "@/registry/new-york/ui/scroll-area"
import { Separator } from "@/registry/new-york/ui/separator"
const tags = Array.from({ length: 50 }).map(
(_, i, a) => `v1.2.0-beta.${a.length - i}`
)
export function ScrollAreaDemo() {
return (
<ScrollArea className="h-72 w-48 rounded-md border">
<div className="p-4">
<h4 className="mb-4 text-sm font-medium leading-none">Tags</h4>
{tags.map((tag) => (
<React.Fragment key={tag}>
<div className="text-sm">{tag}</div>
<Separator className="my-2" />
</React.Fragment>
))}
</div>
</ScrollArea>
)
}
Domain
Subdomains
Functions
Dependencies
- react
- scroll-area
- separator
Source
Frequently Asked Questions
What does scroll-area-demo.tsx do?
scroll-area-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in scroll-area-demo.tsx?
scroll-area-demo.tsx defines 2 function(s): ScrollAreaDemo, tags.
What does scroll-area-demo.tsx depend on?
scroll-area-demo.tsx imports 3 module(s): react, scroll-area, separator.
Where is scroll-area-demo.tsx in the architecture?
scroll-area-demo.tsx is located at deprecated/www/registry/new-york/internal/sink/components/scroll-area-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/internal/sink/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free