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 e756eacb_ec75_c86d_bf45_163f1792b3de["scroll-area-demo.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] e756eacb_ec75_c86d_bf45_163f1792b3de --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 47fa1d7a_8370_cd8e_01f5_44e7f16431cc["scroll-area"] e756eacb_ec75_c86d_bf45_163f1792b3de --> 47fa1d7a_8370_cd8e_01f5_44e7f16431cc b2c60dee_4ede_8485_a6b4_91c999cdc69f["separator"] e756eacb_ec75_c86d_bf45_163f1792b3de --> b2c60dee_4ede_8485_a6b4_91c999cdc69f style e756eacb_ec75_c86d_bf45_163f1792b3de fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import * as React from "react"
import { ScrollArea } from "@/registry/new-york-v4/ui/scroll-area"
import { Separator } from "@/registry/new-york-v4/ui/separator"
const tags = Array.from({ length: 50 }).map(
(_, i, a) => `v1.2.0-beta.${a.length - i}`
)
export default function ScrollAreaDemo() {
return (
<ScrollArea className="h-72 w-48 rounded-md border">
<div className="p-4">
<h4 className="mb-4 text-sm leading-none font-medium">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 apps/v4/registry/new-york-v4/examples/scroll-area-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free